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

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

Issue 2435983003: [Findit] Asynchronously process flake reports from chromium-try-flakes. (Closed)
Patch Set: Rebase to resolve conflict 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_FAILURE_ANALYSIS_REQUEST_QUEUE = 'waterfall-failure-analysis-request' 23 WATERFALL_FAILURE_ANALYSIS_REQUEST_QUEUE = 'waterfall-failure-analysis-request'
24 WATERFALL_FLAKE_ANALYSIS_REQUEST_QUEUE = 'waterfall-flake-analysis-request'
24 CRASH_ANALYSIS_QUEUE = { 25 CRASH_ANALYSIS_QUEUE = {
25 'fracas': 'crash-analysis-fracas-queue', 26 'fracas': 'crash-analysis-fracas-queue',
26 'cracas': 'crash-analysis-cracas-queue', 27 'cracas': 'crash-analysis-cracas-queue',
27 'clusterfuzz': 'crash-analysis-clusterfuzz-queue' 28 'clusterfuzz': 'crash-analysis-clusterfuzz-queue'
28 } 29 }
29 30
30 31
31 # Waterfall-related. 32 # Waterfall-related.
32 WATERFALL_TRIGGER_ANALYSIS_URL = '/waterfall/process-failure-analysis-requests' 33 WATERFALL_PROCESS_FAILURE_ANALYSIS_REQUESTS_URL = (
34 '/waterfall/process-failure-analysis-requests')
35 WATERFALL_PROCESS_FLAKE_ANALYSIS_REQUEST_URL = (
36 '/waterfall/process-flake-analysis-request')
33 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts' 37 WATERFALL_ALERTS_URL = 'https://sheriff-o-matic.appspot.com/alerts'
34 COMPILE_STEP_NAME = 'compile' 38 COMPILE_STEP_NAME = 'compile'
35 39
36 40
37 # TODO: move this to config. 41 # TODO: move this to config.
38 # Whitelisted app ids for authorized access. 42 # Whitelisted app ids for authorized access.
39 WHITELISTED_APP_ACCOUNTS = [ 43 WHITELISTED_APP_ACCOUNTS = [
40 'chromium-try-flakes@appspot.gserviceaccount.com', 44 'chromium-try-flakes@appspot.gserviceaccount.com',
41 'findit-for-me@appspot.gserviceaccount.com', 45 'findit-for-me@appspot.gserviceaccount.com',
42 ] 46 ]
43 47
44 48
45 # Directory of html templates. 49 # Directory of html templates.
46 HTML_TEMPLATE_DIR = os.path.realpath( 50 HTML_TEMPLATE_DIR = os.path.realpath(
47 os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates')) 51 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