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.
-
-
UpdateProcessandPartialUpdateProcessshould allow renaming an export process.✅ -
ListWorkerRunsshould allow listing the worker runs of an export process.✅ -
ListProcessshould allow filtering with?mode=export.✅ -
RetryProcessshould allow retrying an export process.
Edited by ml bonhomme