7e76639cf3
In api.study.update_study we test the study status and call the new WorkflowService method process_workflows_for_cancels. In services.workflow_service we added the new method process_workflows_for_cancels. It loops through workflows for a study, and resets them if they are in progress. In services.workflow_processor, we changed the reset method to be an instance method so we can call self.cancel_notify. In tests.test_lookup_service we changed the call to WorkflowProcessor.reset to reflect the change from class method to instance method |
||
---|---|---|
.. | ||
api | ||
models | ||
scripts | ||
services | ||
static | ||
__init__.py | ||
api.yml |