Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global: models from reana-commons #79

Merged
merged 1 commit into from
May 2, 2018

Conversation

dinosk
Copy link
Member

@dinosk dinosk commented Apr 23, 2018

  • Uses the models from reana-commons

Signed-off-by: Dinos Kousidis dinos.kousidis@cern.ch

ORGANIZATIONS = os.getenv('ORGANIZATIONS').split(',') \
if os.getenv('ORGANIZATIONS') else []
"""Organizations."""
SQLALCHEMY_DATABASE_URI = 'sqlite:///'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: change from sqlite:/// to postgres..., make the tests work with the URI defined in conftest.py

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 7fc874f

@dinosk dinosk force-pushed the models-from-reana-commons branch 13 times, most recently from bda6316 to e93d049 Compare April 26, 2018 16:12
@diegodelemos
Copy link
Member

@dinosk can you have a look look to the latest changes?

* Uses models from reana-commons

* Factory: addition of scoped_session

* ADD an engine fixture so that the URI define in the
  test app is used.

Signed-off-by: Dinos Kousidis <dinos.kousidis@cern.ch>
@diegodelemos diegodelemos merged commit acbf03c into reanahub:master May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants