Class AdminPipelineWebService
java.lang.Object
ubic.gemma.rest.AdminPipelineWebService
Admin REST surface for curator-driven pipeline batch submissions.
All endpoints require GROUP_ADMIN; pipeline dispatch is a
privileged operation. See PipelineJobBatchService for semantics.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancelBatch(Long batchId) listMyBatches(PipelineJobBatch.BatchState state, Integer limit)
-
Constructor Details
-
AdminPipelineWebService
public AdminPipelineWebService()
-
-
Method Details
-
pipelineRegistry
@GET @Path("/registry") @Produces("application/json") @PreAuthorize("hasAuthority('GROUP_ADMIN')") public ResponseDataObject<List<String>> pipelineRegistry() -
submitBatch
@POST @Path("/batches") @Produces("application/json") @PreAuthorize("hasAuthority('GROUP_ADMIN')") public ResponseDataObject<PipelineJobBatch> submitBatch(AdminPipelineWebService.SubmitBatchRequest req) -
listMyBatches
@GET @Path("/batches") @Produces("application/json") @PreAuthorize("hasAuthority('GROUP_ADMIN')") public ResponseDataObject<List<PipelineJobBatch>> listMyBatches(@QueryParam("state") PipelineJobBatch.BatchState state, @QueryParam("limit") Integer limit) -
getBatch
@GET @Path("/batches/{batchId}") @Produces("application/json") @PreAuthorize("hasAuthority('GROUP_ADMIN')") public ResponseDataObject<PipelineJobBatch> getBatch(@PathParam("batchId") Long batchId) -
cancelBatch
@POST @Path("/batches/{batchId}/cancel") @Produces("application/json") @PreAuthorize("hasAuthority('GROUP_ADMIN')") public ResponseDataObject<PipelineJobBatch> cancelBatch(@PathParam("batchId") Long batchId) -
jobEvents
@GET @Path("/batches/{batchId}/jobs/{jobId}/events") @Produces("application/json") @PreAuthorize("hasAuthority('GROUP_ADMIN')") public ResponseDataObject<List<PipelineJobEvent>> jobEvents(@PathParam("batchId") Long batchId, @PathParam("jobId") Long jobId, @QueryParam("sinceMillis") Long sinceMillis, @QueryParam("limit") Integer limit) -
cancelJob
@POST @Path("/batches/{batchId}/jobs/{jobId}/cancel") @Produces("application/json") @PreAuthorize("hasAuthority('GROUP_ADMIN')") public ResponseDataObject<Boolean> cancelJob(@PathParam("batchId") Long batchId, @PathParam("jobId") Long jobId)
-