| 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 | 12 |
| 13 | 13 |
| 14 # Names of all queues. | 14 # Names of all queues. |
| 15 DEFAULT_QUEUE = 'default' | 15 DEFAULT_QUEUE = 'default' |
| 16 WATERFALL_ANALYSIS_QUEUE = 'waterfall-analysis-queue' | 16 WATERFALL_ANALYSIS_QUEUE = 'waterfall-analysis-queue' |
| 17 WATERFALL_TRY_JOB_QUEUE = 'waterfall-try-job-queue' | 17 WATERFALL_TRY_JOB_QUEUE = 'waterfall-try-job-queue' |
| 18 WATERFALL_SERIAL_QUEUE = 'waterfall-serial-queue' | 18 WATERFALL_SERIAL_QUEUE = 'waterfall-serial-queue' |
| 19 | 19 |
| 20 | 20 |
| 21 # Url paths. | 21 # Waterfall-related. |
| 22 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/trigger-analyses' | 22 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/trigger-analyses' |
| 23 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts' | 23 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts' |
| 24 COMPILE_STEP_NAME = 'compile' |
| 24 | 25 |
| 25 | 26 |
| 26 # Directory of html templates. | 27 # Directory of html templates. |
| 27 HTML_TEMPLATE_DIR = os.path.realpath( | 28 HTML_TEMPLATE_DIR = os.path.realpath( |
| 28 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) | 29 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) |
| OLD | NEW |