Class WorkerResource


@Path("/worker/v1") public class WorkerResource extends ApplicationStatusResource
  • Method Details

    • submitStep

      @Path("tasks") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response submitStep(@Context javax.ws.rs.core.HttpHeaders headers, com.fasterxml.jackson.databind.JsonNode descriptionStepJson)
      Submit a step to be launched
      Parameters:
      headers - http header
      descriptionStepJson - the description of the step as a {fr.gouv.vitam.worker.common.DescriptionStep}
      Returns:
      Response containing the status of the step