key server: add blueprint to web

This commit is contained in:
Jimmy Zelinskie 2016-03-30 17:56:04 -04:00 committed by Jimmy Zelinskie
parent 86df0124c1
commit 08abe5ce02

12
web.py
View file

@ -4,14 +4,15 @@ import logging.config
from app import app as application from app import app as application
from endpoints.api import api_bp from endpoints.api import api_bp
from endpoints.web import web from endpoints.bitbuckettrigger import bitbuckettrigger
from endpoints.webhooks import webhooks
from endpoints.realtime import realtime
from endpoints.oauthlogin import oauthlogin
from endpoints.githubtrigger import githubtrigger from endpoints.githubtrigger import githubtrigger
from endpoints.gitlabtrigger import gitlabtrigger from endpoints.gitlabtrigger import gitlabtrigger
from endpoints.bitbuckettrigger import bitbuckettrigger from endpoints.key_server import key_server
from endpoints.oauthlogin import oauthlogin
from endpoints.realtime import realtime
from endpoints.secscan import secscan from endpoints.secscan import secscan
from endpoints.web import web
from endpoints.webhooks import webhooks
if os.environ.get('DEBUGLOG') == 'true': if os.environ.get('DEBUGLOG') == 'true':
logging.config.fileConfig('conf/logging_debug.conf', disable_existing_loggers=False) logging.config.fileConfig('conf/logging_debug.conf', disable_existing_loggers=False)
@ -25,3 +26,4 @@ application.register_blueprint(api_bp, url_prefix='/api')
application.register_blueprint(webhooks, url_prefix='/webhooks') application.register_blueprint(webhooks, url_prefix='/webhooks')
application.register_blueprint(realtime, url_prefix='/realtime') application.register_blueprint(realtime, url_prefix='/realtime')
application.register_blueprint(secscan, url_prefix='/secscan') application.register_blueprint(secscan, url_prefix='/secscan')
application.register_blueprint(key_server, url_prefix='/keys')