Class InteractiveServices


  • @Singleton
    @Path("interactive")
    public class InteractiveServices
    extends AbstractServices
    • Constructor Detail

      • InteractiveServices

        public InteractiveServices()
    • Method Detail

      • init

        @PostConstruct
        public void init()
                  throws java.lang.Exception
        Overrides:
        init in class AbstractServices
        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:
        FunctionExecutionServiceException
        java.lang.InterruptedException
        java.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.InterruptedException
        java.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