Class ReleaseServerResource

  • All Implemented Interfaces:
    com.xebialabs.deployit.engine.api.ServerService

    @Path("/server")
    @Controller
    public class ReleaseServerResource
    extends com.xebialabs.deployit.core.rest.api.ServerResource
    The server running XL Release.
    • Constructor Summary

      Constructors 
      Constructor Description
      ReleaseServerResource​(com.xebialabs.license.service.LicenseService licenseService, java.util.List<com.xebialabs.deployit.security.authentication.viewas.ViewAsAuthenticationFinder> viewAsAuthenticationFinders, com.xebialabs.deployit.security.RoleService roleService, com.xebialabs.deployit.ServerConfiguration serverConfiguration, com.xebialabs.deployit.security.authentication.viewas.ViewAsData viewAsData, com.xebialabs.plugin.manager.service.PluginService pluginService, com.xebialabs.xlrelease.support.report.repository.DataStatisticsRepository dataStatisticsRepository)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getAccountInformation()  
      ClusterInfoView getClusterInfo()  
      ServerInfoView getHostUrl()  
      LicenseView getLicence()  
      java.util.Map<java.lang.String,​java.lang.Object> getProperties()  
      • Methods inherited from class com.xebialabs.deployit.core.rest.api.ServerResource

        gc, getInfo, getLogo, getState, licenseReload, logout, shutdown, startMaintenance, stopMaintenance, viewAs
      • Methods inherited from class com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource

        checkPermission, checkPermission, checkPermissions, checkPermissions, checkReadPermission, hasPermission, hasPermission, hasReadPermission, setRoleService
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReleaseServerResource

        @Autowired
        public ReleaseServerResource​(com.xebialabs.license.service.LicenseService licenseService,
                                     java.util.List<com.xebialabs.deployit.security.authentication.viewas.ViewAsAuthenticationFinder> viewAsAuthenticationFinders,
                                     com.xebialabs.deployit.security.RoleService roleService,
                                     com.xebialabs.deployit.ServerConfiguration serverConfiguration,
                                     com.xebialabs.deployit.security.authentication.viewas.ViewAsData viewAsData,
                                     com.xebialabs.plugin.manager.service.PluginService pluginService,
                                     com.xebialabs.xlrelease.support.report.repository.DataStatisticsRepository dataStatisticsRepository)
    • Method Detail

      • getHostUrl

        @GET
        @Timed
        @Path("host")
        @Produces("application/json")
        public ServerInfoView getHostUrl()
      • getLicence

        @GET
        @Timed
        @Path("license")
        @Produces("application/json")
        public LicenseView getLicence()
      • getClusterInfo

        @GET
        @Timed
        @Path("cluster")
        @Produces("application/json")
        public ClusterInfoView getClusterInfo()
      • getProperties

        @GET
        @Timed
        @Path("configuration")
        @Produces("application/json")
        public java.util.Map<java.lang.String,​java.lang.Object> getProperties()
      • getAccountInformation

        @GET
        @Timed
        @Path("account-information")
        @Produces("application/json")
        public java.util.Map<java.lang.String,​java.lang.Object> getAccountInformation()