Package fr.gouv.vitam.worker.server.rest

# Class WorkerResource

java.lang.Object
fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
fr.gouv.vitam.worker.server.rest.WorkerResource

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

- ## Field Summary

  ### Fields inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource

  `STATUS_URL, TENANTS_URL`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response`
  `submitStep(jakarta.ws.rs.core.HttpHeaders headers, com.fasterxml.jackson.databind.JsonNode descriptionStepJson)`
  Submit a step to be launched

  ### Methods inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource

  `getServerTenants, status`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### submitStep

    @Path("tasks") @POST @Produces("application/json") @Consumes("application/json") public jakarta.ws.rs.core.Response submitStep(@Context jakarta.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