Package step.plugins.interactive
Class InteractiveServices
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.plugins.interactive.InteractiveServices
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()executeArtefact(String sessionId, String planId, String artefactId, jakarta.ws.rs.container.ContainerRequestContext crc) executeCompositeFunction(String sessionId, String functionId, String artefactId, jakarta.ws.rs.container.ContainerRequestContext crc) protected AbstractArtefactfindArtefactInCompositeFunction(String functionId, String artefactId) protected AbstractArtefactfindArtefactInPlan(String planId, String artefactId) voidinit()startFunctionTestingSession(String keywordid) startInteractiveSession(ExecutionParameters executionParameters) voidstopInteractiveSession(String sessionId) Methods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getSchedulerMethods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Constructor Details
-
InteractiveServices
public InteractiveServices()
-
-
Method Details
-
init
- Overrides:
initin classAbstractStepServices- Throws:
Exception
-
close
@PreDestroy public void close() -
startInteractiveSession
@POST @Consumes("application/json") @Produces("text/plain") @Path("/start") public String startInteractiveSession(ExecutionParameters executionParameters) throws step.grid.client.AbstractGridClientImpl.AgentCommunicationException - Throws:
step.grid.client.AbstractGridClientImpl.AgentCommunicationException
-
stopInteractiveSession
@POST @Consumes("application/json") @Path("/{id}/stop") public void stopInteractiveSession(@PathParam("id") String sessionId) throws FunctionExecutionServiceException, InterruptedException, ExecutionException -
executeArtefact
@POST @Consumes("application/json") @Produces("application/json") @Path("/{id}/execute/{planid}/{artefactid}") public ReportNode executeArtefact(@PathParam("id") String sessionId, @PathParam("planid") String planId, @PathParam("artefactid") String artefactId, @Context jakarta.ws.rs.container.ContainerRequestContext crc) throws InterruptedException, ExecutionException -
executeCompositeFunction
@POST @Consumes("application/json") @Produces("application/json") @Path("/{id}/executefunction/{functionid}/{artefactid}") public ReportNode executeCompositeFunction(@PathParam("id") String sessionId, @PathParam("functionid") String functionId, @PathParam("artefactid") String artefactId, @Context jakarta.ws.rs.container.ContainerRequestContext crc) throws InterruptedException, ExecutionException -
findArtefactInCompositeFunction
-
findArtefactInPlan
-
startFunctionTestingSession
@POST @Consumes("application/json") @Produces("application/json") @Path("/functiontest/{keywordid}/start") public InteractiveServices.FunctionTestingSession startFunctionTestingSession(@PathParam("keywordid") String keywordid)
-