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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
submitStep(javax.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
-
-
-
-
Method Detail
-
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 headerdescriptionStepJson
- the description of the step as a {fr.gouv.vitam.worker.common.DescriptionStep}- Returns:
- Response containing the status of the step
-
-