Adds Flask Keystone to Nemesis Project

Change-Id: I48374e5396230dc60f73319b0c2e94c575329d33
This commit is contained in:
Robert Putt 2017-06-10 10:40:12 +01:00
parent 4e8610ab4c
commit 4f46b53a53
3 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,7 @@ from oslo_config import cfg
from python_nemesis.config import collect_sqlalchemy_opts
from python_nemesis.config import register_opts
from python_nemesis.extensions import db
from python_nemesis.extensions import keystone
from python_nemesis.extensions import log
@ -64,6 +65,7 @@ def configure_extensions(app):
"""
db.init_app(app)
log.init_app(app)
keystone.init_app(app)
def create_app(app_name=None, blueprints=None):

View File

@ -1,6 +1,8 @@
from flask_keystone import FlaskKeystone
from flask_oslolog import OsloLog
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
log = OsloLog()
keystone = FlaskKeystone()

View File

@ -7,6 +7,7 @@ alembic>=0.8.10 # MIT
Flask!=0.11,<1.0,>=0.10 # BSD
Flask-SQLAlchemy>=2.0 # BSD
flask-oslolog # Apache-2.0
flask-keystone>0.1 # Apache-2.0
oslo.config>=4.0.0 # Apache-2.0
oslo.messaging!=5.25.0,>=5.24.2 # Apache-2.0
oslo.log>=3.22.0 # Apache-2.0