| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Includes all the constants of module names, queue names, url paths, etc.""" | 5 """Includes all the constants of module names, queue names, url paths, etc.""" |
| 6 | 6 |
| 7 import os | 7 import os |
| 8 | 8 |
| 9 | 9 |
| 10 # Names of all modules. | 10 # Names of all modules. |
| 11 WATERFALL_BACKEND = 'waterfall-backend' | 11 WATERFALL_BACKEND = 'waterfall-backend' |
| 12 CRASH_BACKEND_FRACAS = 'crash-backend-fracas' | 12 CRASH_BACKEND = { |
| 13 'fracas': 'crash-backend-fracas', |
| 14 'cracas': 'crash-backend-cracas', |
| 15 'clusterfuzz': 'crash-backend-clusterfuzz' |
| 16 } |
| 13 | 17 |
| 14 | 18 |
| 15 # Names of all queues. | 19 # Names of all queues. |
| 16 DEFAULT_QUEUE = 'default' | 20 DEFAULT_QUEUE = 'default' |
| 17 WATERFALL_ANALYSIS_QUEUE = 'waterfall-analysis-queue' | 21 WATERFALL_ANALYSIS_QUEUE = 'waterfall-analysis-queue' |
| 18 WATERFALL_TRY_JOB_QUEUE = 'waterfall-try-job-queue' | 22 WATERFALL_TRY_JOB_QUEUE = 'waterfall-try-job-queue' |
| 19 WATERFALL_SERIAL_QUEUE = 'waterfall-serial-queue' | 23 WATERFALL_SERIAL_QUEUE = 'waterfall-serial-queue' |
| 20 CRASH_ANALYSIS_FRACAS_QUEUE = 'crash-analysis-fracas-queue' | 24 CRASH_ANALYSIS_QUEUE = { |
| 25 'fracas': 'crash-analysis-fracas-queue', |
| 26 'cracas': 'crash-analysis-cracas-queue', |
| 27 'clusterfuzz': 'crash-analysis-clusterfuzz-queue' |
| 28 } |
| 21 | 29 |
| 22 | 30 |
| 23 # Waterfall-related. | 31 # Waterfall-related. |
| 24 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/trigger-analyses' | 32 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/trigger-analyses' |
| 25 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts' | 33 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts' |
| 26 COMPILE_STEP_NAME = 'compile' | 34 COMPILE_STEP_NAME = 'compile' |
| 27 | 35 |
| 28 | 36 |
| 29 # Directory of html templates. | 37 # Directory of html templates. |
| 30 HTML_TEMPLATE_DIR = os.path.realpath( | 38 HTML_TEMPLATE_DIR = os.path.realpath( |
| 31 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) | 39 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) |
| OLD | NEW |