Package step.plugins.interactive
Class InteractiveServices
- java.lang.Object
-
- step.core.deployment.AbstractServices
-
- step.plugins.interactive.InteractiveServices
-
@Singleton @Path("interactive") public class InteractiveServices extends AbstractServices
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInteractiveServices.FunctionTestingSession
-
Field Summary
-
Fields inherited from class step.core.deployment.AbstractServices
configuration, controller
-
-
Constructor Summary
Constructors Constructor Description InteractiveServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportNodeexecuteArtefact(java.lang.String sessionId, java.lang.String planId, java.lang.String artefactId, javax.ws.rs.container.ContainerRequestContext crc)protected AbstractArtefactfindArtefactInPlan(java.lang.String planId, java.lang.String artefactId)voidinit()java.lang.Stringstart(ExecutionParameters executionParameters)InteractiveServices.FunctionTestingSessionstartFunctionTestingSession(java.lang.String keywordid)voidstop(java.lang.String sessionId)-
Methods inherited from class step.core.deployment.AbstractServices
getContext, getExecutionRunnable, getObjectEnricher, getScheduler, getSession, setSession
-
-
-
-
Method Detail
-
init
@PostConstruct public void init() throws java.lang.Exception- Overrides:
initin classAbstractServices- Throws:
java.lang.Exception
-
start
@POST @Consumes("application/json") @Path("/start") public java.lang.String start(ExecutionParameters executionParameters) throws step.grid.client.AbstractGridClientImpl.AgentCommunicationException- Throws:
step.grid.client.AbstractGridClientImpl.AgentCommunicationException
-
stop
@POST @Consumes("application/json") @Path("/{id}/stop") public void stop(@PathParam("id") java.lang.String sessionId) throws FunctionExecutionServiceException, java.lang.InterruptedException, java.util.concurrent.ExecutionException- Throws:
FunctionExecutionServiceExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionException
-
executeArtefact
@POST @Consumes("application/json") @Path("/{id}/execute/{planid}/{artefactid}") public ReportNode executeArtefact(@PathParam("id") java.lang.String sessionId, @PathParam("planid") java.lang.String planId, @PathParam("artefactid") java.lang.String artefactId, @Context javax.ws.rs.container.ContainerRequestContext crc) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionException
-
findArtefactInPlan
protected AbstractArtefact findArtefactInPlan(java.lang.String planId, java.lang.String artefactId)
-
startFunctionTestingSession
@POST @Consumes("application/json") @Path("/functiontest/{keywordid}/start") public InteractiveServices.FunctionTestingSession startFunctionTestingSession(@PathParam("keywordid") java.lang.String keywordid) throws step.grid.client.AbstractGridClientImpl.AgentCommunicationException- Throws:
step.grid.client.AbstractGridClientImpl.AgentCommunicationException
-
-