Package step.controller.grid.services
Class GridServices
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.controller.grid.services.GridServices
- 
Field SummaryFieldsFields inherited from class step.core.deployment.AbstractStepServicesconfiguration, SESSION
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected List<step.grid.TokenWrapper>getAgentTokens(String agentId) List<step.grid.TokenWrapper>protected step.grid.reports.TokenGroupCapacitygetTokensCapacity(List<step.grid.TokenWrapper> tokens) List<step.grid.reports.TokenGroupCapacity>getUsageByIdentity(List<String> groupbys) voidinit()voidinterruptAgent(String agentId) voidremoveAgentTokenErrors(String agentId) voidremoveTokenError(String tokenId) voidresumeAgent(String agentId) voidstartTokenMaintenance(String tokenId) voidstopTokenMaintenance(String tokenId) Methods inherited from class step.core.deployment.AbstractStepServicescheckRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getSchedulerMethods inherited from class step.framework.server.AbstractServicesgetAbstractContext, getHttpSession, getSession, getSession, invalidateSession, setHttpServletRequest, setSession
- 
Field Details- 
gridprotected step.grid.GridImpl grid
 
- 
- 
Constructor Details- 
GridServicespublic GridServices()
 
- 
- 
Method Details- 
init- Overrides:
- initin class- AbstractStepServices
- Throws:
- Exception
 
- 
getAgents@GET @Path("/agent") @Produces("application/json") public Collection<AgentListEntry> getAgents(@QueryParam("notokens") String notokens) 
- 
getAgentTokens
- 
getTokensCapacityprotected step.grid.reports.TokenGroupCapacity getTokensCapacity(List<step.grid.TokenWrapper> tokens) 
- 
interruptAgent@PUT @Path("/agent/{id}/interrupt") @Produces("application/json") public void interruptAgent(@PathParam("id") String agentId) 
- 
resumeAgent@PUT @Path("/agent/{id}/resume") @Produces("application/json") public void resumeAgent(@PathParam("id") String agentId) 
- 
removeAgentTokenErrors@DELETE @Path("/agent/{id}/tokens/errors") @Produces("application/json") public void removeAgentTokenErrors(@PathParam("id") String agentId) 
- 
getTokenAssociations@GET @Path("/token") @Produces("application/json") public List<step.grid.TokenWrapper> getTokenAssociations()
- 
removeTokenError@DELETE @Path("/token/{id}/error") @Consumes("application/json") public void removeTokenError(@PathParam("id") String tokenId) 
- 
startTokenMaintenance@POST @Path("/token/{id}/maintenance") @Consumes("application/json") public void startTokenMaintenance(@PathParam("id") String tokenId) 
- 
stopTokenMaintenance@DELETE @Path("/token/{id}/maintenance") @Consumes("application/json") public void stopTokenMaintenance(@PathParam("id") String tokenId) 
- 
getUsageByIdentity
- 
getTokenAttributeKeys
 
-