reanahub / reana-workflow-engine-cwl

REANA Workflow Engine CWL
http://reana-workflow-engine-cwl.readthedocs.io/
MIT License
5 stars 37 forks source link

decouple the db session from the tasks #40

Closed dinosk closed 6 years ago

dinosk commented 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.

diegodelemos commented 6 years ago

Closed by https://github.com/reanahub/reana-workflow-engine-cwl/pull/39.