[ ] should be idempotent - i.e. if trying to complete a job that is currently processing the completion step then nothing should happen and endpoint should respond 200
[ ] only your own jobs can be completed i.e. req.user.id === batch.created_by must be true
[ ] should call BatchJobService.complete which in turn calls the underlying handler.
[ ] Endpoint should not wait for the actual processing of the job to complete
Completes a previously dry_run'ed job.
DoD
[ ] should be idempotent - i.e. if trying to complete a job that is currently processing the completion step then nothing should happen and endpoint should respond 200
[ ] only your own jobs can be completed i.e.
req.user.id === batch.created_by
must be true[ ] should call
BatchJobService.complete
which in turn calls the underlying handler.[ ] Endpoint should not wait for the actual processing of the job to complete
Posted by: @srindom
Standard: Unpaid
Original Issue Link