a69c9e12fd
- Change get_repository_images_recursive to operate over a single docker image and storage uuid - Move endpoints/sec to endpoints/secscan - Change notification system to work with new Quay-sec format Fixes #768
27 lines
1.1 KiB
Python
27 lines
1.1 KiB
Python
import os
|
|
import logging.config
|
|
|
|
from app import app as application
|
|
|
|
from endpoints.api import api_bp
|
|
from endpoints.web import web
|
|
from endpoints.webhooks import webhooks
|
|
from endpoints.realtime import realtime
|
|
from endpoints.oauthlogin import oauthlogin
|
|
from endpoints.githubtrigger import githubtrigger
|
|
from endpoints.gitlabtrigger import gitlabtrigger
|
|
from endpoints.bitbuckettrigger import bitbuckettrigger
|
|
from endpoints.secscan import secscan
|
|
|
|
if os.environ.get('DEBUGLOG') == 'true':
|
|
logging.config.fileConfig('conf/logging_debug.conf', disable_existing_loggers=False)
|
|
|
|
application.register_blueprint(web)
|
|
application.register_blueprint(githubtrigger, url_prefix='/oauth2')
|
|
application.register_blueprint(gitlabtrigger, url_prefix='/oauth2')
|
|
application.register_blueprint(oauthlogin, url_prefix='/oauth2')
|
|
application.register_blueprint(bitbuckettrigger, url_prefix='/oauth1')
|
|
application.register_blueprint(api_bp, url_prefix='/api')
|
|
application.register_blueprint(webhooks, url_prefix='/webhooks')
|
|
application.register_blueprint(realtime, url_prefix='/realtime')
|
|
application.register_blueprint(secscan, url_prefix='/secscan')
|