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

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

Issue 2299883005: [Findit] Add findit_for_client to do analysis based on client_id (Closed)
Patch Set: Fix nit. Created 4 years, 3 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
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_FRACAS = 'crash-backend-fracas' 12 CRASH_BACKEND = {'fracas': 'crash-backend-fracas',
stgao 2016/09/20 23:00:10 style nit: usually we do below. Is this the recomm
Sharu Jiang 2016/09/21 18:06:02 Noop, done, I will do a pyformat cl after all of p
13 'cracas': 'crash-backend-cracas',
14 'clusterfuzz': 'crash-backend-clusterfuzz'}
13 15
14 16
15 # Names of all queues. 17 # Names of all queues.
16 DEFAULT_QUEUE = 'default' 18 DEFAULT_QUEUE = 'default'
17 WATERFALL_ANALYSIS_QUEUE = 'waterfall-analysis-queue' 19 WATERFALL_ANALYSIS_QUEUE = 'waterfall-analysis-queue'
18 WATERFALL_TRY_JOB_QUEUE = 'waterfall-try-job-queue' 20 WATERFALL_TRY_JOB_QUEUE = 'waterfall-try-job-queue'
19 WATERFALL_SERIAL_QUEUE = 'waterfall-serial-queue' 21 WATERFALL_SERIAL_QUEUE = 'waterfall-serial-queue'
20 CRASH_ANALYSIS_FRACAS_QUEUE = 'crash-analysis-fracas-queue' 22 CRASH_ANALYSIS_QUEUE = {'fracas': 'crash-analysis-fracas-queue',
23 'cracas': 'crash-analysis-cracas-queue',
24 'clusterfuzz': 'crash-analysis-clusterfuzz-queue'}
21 25
22 26
23 # Waterfall-related. 27 # Waterfall-related.
24 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/trigger-analyses' 28 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/trigger-analyses'
25 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts' 29 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts'
26 COMPILE_STEP_NAME = 'compile' 30 COMPILE_STEP_NAME = 'compile'
27 31
28 32
29 # Directory of html templates. 33 # Directory of html templates.
30 HTML_TEMPLATE_DIR = os.path.realpath( 34 HTML_TEMPLATE_DIR = os.path.realpath(
31 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) 35 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates'))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698