Closed dinosk closed 6 years ago
Currently the CWL engine uses the db_session in https://github.com/reanahub/reana-workflow-engine-cwl/blob/master/reana_workflow_engine_cwl/tasks.py#L60 which has to be imported from reana-commons. It would be better if we could find a way to change the functionality so that the session is not needed and all updates to the DB go through the Message Queue, as in the other engines. Note: This means also changing the way SQLiteHandler works.
Closed by https://github.com/reanahub/reana-workflow-engine-cwl/pull/39.
Currently the CWL engine uses the db_session in https://github.com/reanahub/reana-workflow-engine-cwl/blob/master/reana_workflow_engine_cwl/tasks.py#L60 which has to be imported from reana-commons. It would be better if we could find a way to change the functionality so that the session is not needed and all updates to the DB go through the Message Queue, as in the other engines. Note: This means also changing the way SQLiteHandler works.