From dc476470fe282abbf5ca255fdf05bac241ab31e3 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Mon, 9 Nov 2015 18:30:14 -0500 Subject: [PATCH] add secscan notification queue --- app.py | 2 ++ config.py | 1 + 2 files changed, 3 insertions(+) diff --git a/app.py b/app.py index 01c4ae6ab..bbc8ecee1 100644 --- a/app.py +++ b/app.py @@ -148,6 +148,8 @@ image_replication_queue = WorkQueue(app.config['REPLICATION_QUEUE_NAME'], tf) dockerfile_build_queue = WorkQueue(app.config['DOCKERFILE_BUILD_QUEUE_NAME'], tf, reporter=MetricQueueReporter(metric_queue)) notification_queue = WorkQueue(app.config['NOTIFICATION_QUEUE_NAME'], tf) +secscan_notification_queue = WorkQueue(app.config['SECSCAN_NOTIFICATION_QUEUE_NAME'], tf) + secscan_endpoint = SecurityScanEndpoint(app, config_provider) database.configure(app.config) diff --git a/config.py b/config.py index 3e03b951b..3629ecab4 100644 --- a/config.py +++ b/config.py @@ -131,6 +131,7 @@ class DefaultConfig(object): DIFFS_QUEUE_NAME = 'imagediff' DOCKERFILE_BUILD_QUEUE_NAME = 'dockerfilebuild' REPLICATION_QUEUE_NAME = 'imagestoragereplication' + SECSCAN_NOTIFICATION_QUEUE_NAME = 'secscan_notification' # Super user config. Note: This MUST BE an empty list for the default config. SUPER_USERS = []