Class ReleaseServerResource

java.lang.Object
com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
com.xebialabs.deployit.core.rest.api.ServerResource
com.xebialabs.xlrelease.api.internal.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, 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, com.xebialabs.xlrelease.repository.UserProfileRepository userProfileRepository, com.xebialabs.xlrelease.analytics.service.AnalyticsService analyticsService, com.xebialabs.xlrelease.service.TenantService tenantService)
     
  • Method Summary

    Methods inherited from class com.xebialabs.deployit.core.rest.api.ServerResource

    gc, getInfo, 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 Details

    • ReleaseServerResource

      @Autowired public ReleaseServerResource(com.xebialabs.license.service.LicenseService licenseService, 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, com.xebialabs.xlrelease.repository.UserProfileRepository userProfileRepository, com.xebialabs.xlrelease.analytics.service.AnalyticsService analyticsService, com.xebialabs.xlrelease.service.TenantService tenantService)
  • Method Details

    • getHostUrl

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

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

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

      @GET @Path("configuration") @Produces("application/json") public Map<String,Object> getProperties()
    • getAccountInformation

      @GET @Path("account-information") @Produces("application/json") public Map<String,Object> getAccountInformation()