Open ghost opened 2 years ago
Cancels an operation that is in progress.
POST /admin/batch/:id/cancel
DoD
[ ] endpoint should be idempotent - e.g. calling cancel on an already canceled job is allowed and responds with 200
[ ] BatchJobs in a completed state should not be cancelable - should fail with 422
[ ] Should call BatchJobService.cancel; which in turn potentially cancels the jobs in the worker that are currently being processed.
Posted by: @srindom
Standard: Unpaid
Original Issue Link
Cancels an operation that is in progress.
DoD
[ ] endpoint should be idempotent - e.g. calling cancel on an already canceled job is allowed and responds with 200
[ ] BatchJobs in a completed state should not be cancelable - should fail with 422
[ ] Should call BatchJobService.cancel; which in turn potentially cancels the jobs in the worker that are currently being processed.
Posted by: @srindom
Standard: Unpaid
Original Issue Link