Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: appengine/findit/common/constants.py

Issue 2425453002: [Findit] Process analysis requests of Waterfall failures concurrently. (Closed)
Patch Set: fix nit. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | appengine/findit/findit_api.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 = { 12 CRASH_BACKEND = {
13 'fracas': 'crash-backend-fracas', 13 'fracas': 'crash-backend-fracas',
14 'cracas': 'crash-backend-cracas', 14 'cracas': 'crash-backend-cracas',
15 'clusterfuzz': 'crash-backend-clusterfuzz' 15 'clusterfuzz': 'crash-backend-clusterfuzz'
16 } 16 }
17 17
18 18
19 # Names of all queues. 19 # Names of all queues.
20 DEFAULT_QUEUE = 'default' 20 DEFAULT_QUEUE = 'default'
21 WATERFALL_ANALYSIS_QUEUE = 'waterfall-analysis-queue' 21 WATERFALL_ANALYSIS_QUEUE = 'waterfall-analysis-queue'
22 WATERFALL_TRY_JOB_QUEUE = 'waterfall-try-job-queue' 22 WATERFALL_TRY_JOB_QUEUE = 'waterfall-try-job-queue'
23 WATERFALL_SERIAL_QUEUE = 'waterfall-serial-queue' 23 WATERFALL_FAILURE_ANALYSIS_REQUEST_QUEUE = 'waterfall-failure-analysis-request'
24 CRASH_ANALYSIS_QUEUE = { 24 CRASH_ANALYSIS_QUEUE = {
25 'fracas': 'crash-analysis-fracas-queue', 25 'fracas': 'crash-analysis-fracas-queue',
26 'cracas': 'crash-analysis-cracas-queue', 26 'cracas': 'crash-analysis-cracas-queue',
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/process-failure-analysis-requests'
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. 37 # TODO: move this to config.
38 # Whitelisted app ids for authorized access. 38 # Whitelisted app ids for authorized access.
39 WHITELISTED_APP_ACCOUNTS = [ 39 WHITELISTED_APP_ACCOUNTS = [
40 'chromium-try-flakes@appspot.gserviceaccount.com', 40 'chromium-try-flakes@appspot.gserviceaccount.com',
41 'findit-for-me@appspot.gserviceaccount.com', 41 'findit-for-me@appspot.gserviceaccount.com',
42 ] 42 ]
43 43
44 44
45 # Directory of html templates. 45 # Directory of html templates.
46 HTML_TEMPLATE_DIR = os.path.realpath( 46 HTML_TEMPLATE_DIR = os.path.realpath(
47 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) 47 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates'))
OLDNEW
« no previous file with comments | « no previous file | appengine/findit/findit_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698