Workflow and task polling in the store
Closes #564 (closed), #272 (closed)
-
New polling implementation in the store -
Rewrite RunsList
intoWorkflow
and use the new polling -
Use the new polling in Task
-
Store unit tests -
Fix existing tests -
setWorkflow -
sets the workflow and tasks -
updates existing tasks -
stops the task polling before removing tasks -
allows unsetting the workflow
-
-
setWorkflowUrl -
setWorkflowTimeoutId -
setTaskTimeoutId -
startPolling -
starts workflow polling -
handles errors -
aborts polling on HTTP 4xx -
aborts polling before starting a HTTP request if it is stopped -
does not reschedule a poll after an HTTP request if it is stopped
-
-
stopPolling -
stops workflow and task polling -
handles an already stopped polling
-
-
startTaskPolling -
starts task polling -
handles errors -
aborts polling on HTTP 4xx -
aborts polling if the task is removed -
aborts polling before starting a HTTP request if it is stopped -
does not reschedule a poll after an HTTP request if it is stopped
-
-
stopTaskPolling -
stops task polling -
handles an already stopped polling -
ignores non-existent tasks
-
-
-
Component tests (only polling-related; creating all the missing component tests for the status components would take even longer) -
Workflow -
Task
-
Edited by Erwan Rouchet