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 TypeMethodDescriptionvoid
close()
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 AbstractArtefact
findArtefactInCompositeFunction
(String functionId, String artefactId) protected AbstractArtefact
findArtefactInPlan
(String planId, String artefactId) void
init()
startFunctionTestingSession
(String keywordid) startInteractiveSession
(ExecutionParameters executionParameters) void
stopInteractiveSession
(String sessionId) Methods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
Methods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Constructor Details
-
InteractiveServices
public InteractiveServices()
-
-
Method Details
-
init
- Overrides:
init
in 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)
-