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

Side by Side Diff: appengine/findit/main.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 | « appengine/findit/handlers/trigger_analyses.py ('k') | appengine/findit/queue.yaml » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import endpoints 5 import endpoints
6 import webapp2 6 import webapp2
7 7
8 from common.pipeline_wrapper import pipeline_handlers 8 from common.pipeline_wrapper import pipeline_handlers
9 from common.pipeline_wrapper import pipeline_status_ui 9 from common.pipeline_wrapper import pipeline_status_ui
10 from findit_api import FindItApi 10 from findit_api import FindItApi
11 from handlers import build_failure 11 from handlers import build_failure
12 from handlers import check_duplicate_failures 12 from handlers import check_duplicate_failures
13 from handlers import config 13 from handlers import config
14 from handlers import culprit 14 from handlers import culprit
15 from handlers import failure_log 15 from handlers import failure_log
16 from handlers import help_triage 16 from handlers import help_triage
17 from handlers import list_analyses 17 from handlers import list_analyses
18 from handlers import monitor_alerts 18 from handlers import monitor_alerts
19 from handlers import swarming_task 19 from handlers import swarming_task
20 from handlers import triage_analysis 20 from handlers import triage_analysis
21 from handlers import triage_suspected_cl 21 from handlers import triage_suspected_cl
22 from handlers import trigger_analyses 22 from handlers import process_failure_analysis_requests
chanli 2016/10/15 00:39:47 Nit: import order
stgao 2016/10/15 00:41:11 Done.
23 from handlers import try_job 23 from handlers import try_job
24 from handlers import try_job_dashboard 24 from handlers import try_job_dashboard
25 from handlers import try_job_result 25 from handlers import try_job_result
26 from handlers import verify_analysis 26 from handlers import verify_analysis
27 from handlers import version 27 from handlers import version
28 from handlers.crash import crash_config 28 from handlers.crash import crash_config
29 from handlers.crash import crash_handler 29 from handlers.crash import crash_handler
30 from handlers.crash import fracas_dashboard 30 from handlers.crash import fracas_dashboard
31 from handlers.crash import fracas_result_feedback 31 from handlers.crash import fracas_result_feedback
32 from handlers.crash import triage_fracas_analysis 32 from handlers.crash import triage_fracas_analysis
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 ('/waterfall/try-job-dashboard', try_job_dashboard.TryJobDashboard), 82 ('/waterfall/try-job-dashboard', try_job_dashboard.TryJobDashboard),
83 ('/waterfall/try-job-result', try_job_result.TryJobResult), 83 ('/waterfall/try-job-result', try_job_result.TryJobResult),
84 ('/waterfall/verify-analysis', verify_analysis.VerifyAnalysis), 84 ('/waterfall/verify-analysis', verify_analysis.VerifyAnalysis),
85 ] 85 ]
86 waterfall_frontend_web_application = webapp2.WSGIApplication( 86 waterfall_frontend_web_application = webapp2.WSGIApplication(
87 waterfall_frontend_web_pages_handler_mappings, debug=False) 87 waterfall_frontend_web_pages_handler_mappings, debug=False)
88 88
89 89
90 # "waterfall-backend" module. 90 # "waterfall-backend" module.
91 waterfall_backend_web_pages_handler_mappings = [ 91 waterfall_backend_web_pages_handler_mappings = [
92 ('/waterfall/trigger-analyses', trigger_analyses.TriggerAnalyses), 92 ('/waterfall/process-failure-analysis-requests',
93 process_failure_analysis_requests.ProcessFailureAnalysisRequests),
93 ] 94 ]
94 waterfall_backend_web_application = webapp2.WSGIApplication( 95 waterfall_backend_web_application = webapp2.WSGIApplication(
95 waterfall_backend_web_pages_handler_mappings, debug=False) 96 waterfall_backend_web_pages_handler_mappings, debug=False)
96 97
97 98
98 # "crash-frontend" module. 99 # "crash-frontend" module.
99 crash_frontend_web_pages_handler_mappings = [ 100 crash_frontend_web_pages_handler_mappings = [
100 ('/crash/config', crash_config.CrashConfig), 101 ('/crash/config', crash_config.CrashConfig),
101 ('/crash/fracas-dashboard', fracas_dashboard.FracasDashBoard), 102 ('/crash/fracas-dashboard', fracas_dashboard.FracasDashBoard),
102 ('/crash/fracas-result-feedback', 103 ('/crash/fracas-result-feedback',
103 fracas_result_feedback.FracasResultFeedback), 104 fracas_result_feedback.FracasResultFeedback),
104 ('/crash/triage-fracas-analysis', 105 ('/crash/triage-fracas-analysis',
105 triage_fracas_analysis.TriageFracasAnalysis), 106 triage_fracas_analysis.TriageFracasAnalysis),
106 ('/_ah/push-handlers/crash/fracas', crash_handler.CrashHandler), 107 ('/_ah/push-handlers/crash/fracas', crash_handler.CrashHandler),
107 ('/_ah/push-handlers/crash/cracas', crash_handler.CrashHandler), 108 ('/_ah/push-handlers/crash/cracas', crash_handler.CrashHandler),
108 ] 109 ]
109 crash_frontend_web_application = webapp2.WSGIApplication( 110 crash_frontend_web_application = webapp2.WSGIApplication(
110 crash_frontend_web_pages_handler_mappings, debug=False) 111 crash_frontend_web_pages_handler_mappings, debug=False)
OLDNEW
« no previous file with comments | « appengine/findit/handlers/trigger_analyses.py ('k') | appengine/findit/queue.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698