| 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. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 'clusterfuzz': 'crash-analysis-clusterfuzz-queue' | 27 'clusterfuzz': 'crash-analysis-clusterfuzz-queue' |
| 28 } | 28 } |
| 29 | 29 |
| 30 | 30 |
| 31 # Waterfall-related. | 31 # Waterfall-related. |
| 32 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/trigger-analyses' | 32 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/trigger-analyses' |
| 33 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts' | 33 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts' |
| 34 COMPILE_STEP_NAME = 'compile' | 34 COMPILE_STEP_NAME = 'compile' |
| 35 | 35 |
| 36 | 36 |
| 37 # TODO: move this to config. |
| 38 # Whitelisted app ids for authorized access. |
| 39 WHITELISTED_APP_ACCOUNTS = [ |
| 40 'chromium-try-flakes@appspot.gserviceaccount.com', |
| 41 'findit-for-me@appspot.gserviceaccount.com', |
| 42 ] |
| 43 |
| 44 |
| 37 # Directory of html templates. | 45 # Directory of html templates. |
| 38 HTML_TEMPLATE_DIR = os.path.realpath( | 46 HTML_TEMPLATE_DIR = os.path.realpath( |
| 39 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) | 47 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) |
| OLD | NEW |