Export process mode
https://redmine.teklia.com/issues/7497
To allow the frontend to distinguish between regular Workers processes and export processes, we need a new Export process mode.
-
The following endpoints should not work on export processes:
-
StartProcess
(export processes will be automatically created and started, so it isn't necessary);✅ -
CreateWorkerRun
✅ -
UpdateWorkerRun
✅ -
PartialUpdateWorkerRun
✅ -
DestroyWorkerRun
✅ -
CreateProcessTemplate
✅ -
ApplyProcessTemplate
✅ -
SelectProcessFailures
✅ -
CreateProcessFailures
✅ -
CreateProcessSet
✅ -
DestroyProcessSet
✅ -
ClearProcess
✅
No actual change should be required as those endpoints are restrictive, but please make sure some unit tests check this for each endpoint, specifically with this new Export mode.
-
-
UpdateProcess
andPartialUpdateProcess
should allow renaming an export process.✅ -
ListWorkerRuns
should allow listing the worker runs of an export process.✅ -
ListProcess
should allow filtering with?mode=export
.✅ -
RetryProcess
should allow retrying an export process.
Edited by ml bonhomme