Package step.core.deployment
Class ControllerServices
- java.lang.Object
-
- step.core.deployment.AbstractServices
-
- step.core.deployment.ControllerServices
-
@Singleton @Path("controller") public class ControllerServices extends AbstractServices
-
-
Field Summary
-
Fields inherited from class step.core.deployment.AbstractServices
configuration, controller, SESSION
-
-
Constructor Summary
Constructors Constructor Description ControllerServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtefactInfo
getArtefactInfo(RepositoryObjectReference ref)
AsyncTaskManager.TaskStatus
getAsyncTaskStatus(java.lang.String asyncTaskId)
TestSetStatusOverview
getReport(RepositoryObjectReference report)
ReportNode
getReportNode(java.lang.String reportNodeId)
java.util.List<ReportNode>
getReportNodeChildren(java.lang.String reportNodeId, java.lang.Integer skip, java.lang.Integer limit)
java.util.List<ReportNode>
getReportNodePath(java.lang.String reportNodeId)
void
init()
void
shutdown()
-
Methods inherited from class step.core.deployment.AbstractServices
getContext, getExecutionRunnable, getObjectEnricher, getScheduler, getSession, invalidateSession, setSession
-
-
-
-
Method Detail
-
init
@PostConstruct public void init() throws java.lang.Exception
- Overrides:
init
in classAbstractServices
- Throws:
java.lang.Exception
-
shutdown
@POST @Consumes("application/json") @Path("/shutdown") public void shutdown()
-
getReportNode
@GET @Path("/reportnode/{id}") @Produces("application/json") public ReportNode getReportNode(@PathParam("id") java.lang.String reportNodeId)
-
getReportNodePath
@GET @Path("/reportnode/{id}/path") public java.util.List<ReportNode> getReportNodePath(@PathParam("id") java.lang.String reportNodeId)
-
getReportNodeChildren
@GET @Path("/reportnode/{id}/children") @Produces("application/json") public java.util.List<ReportNode> getReportNodeChildren(@PathParam("id") java.lang.String reportNodeId, @QueryParam("skip") java.lang.Integer skip, @QueryParam("limit") java.lang.Integer limit)
-
getArtefactInfo
@POST @Path("/repository/artefact/info") @Consumes("application/json") @Produces("application/json") public ArtefactInfo getArtefactInfo(RepositoryObjectReference ref)
-
getReport
@POST @Path("/repository/report") @Consumes("application/json") @Produces("application/json") public TestSetStatusOverview getReport(RepositoryObjectReference report) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getAsyncTaskStatus
@GET @Produces("application/json") @Path("/async-task/{id}") public AsyncTaskManager.TaskStatus getAsyncTaskStatus(@PathParam("id") java.lang.String asyncTaskId)
-
-