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.ServerResourceThe 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, com.xebialabs.xlrelease.analytics.service.AnalyticsService analyticsService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getAccountInformation()ClusterInfoViewgetClusterInfo()ServerInfoViewgetHostUrl()LicenseViewgetLicence()java.util.Map<java.lang.String,java.lang.Object>getProperties()-
Methods inherited from class com.xebialabs.deployit.core.rest.api.ServerResource
gc, getInfo, getState, licenseReload, logout, shutdown, startMaintenance, stopMaintenance, viewAs
-
-
-
-
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, com.xebialabs.xlrelease.analytics.service.AnalyticsService analyticsService)
-
-
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()
-
-