Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 findit_api import FindItApi | 8 from findit_api import FindItApi |
| 9 from handlers import build_failure | 9 from handlers import build_failure |
| 10 from handlers import check_duplicate_failures | 10 from handlers import check_duplicate_failures |
| 11 from handlers import config | 11 from handlers import config |
| 12 from handlers import failure_log | 12 from handlers import failure_log |
| 13 from handlers import help_triage | 13 from handlers import help_triage |
| 14 from handlers import list_analyses | 14 from handlers import list_analyses |
| 15 from handlers import monitor_alerts | 15 from handlers import monitor_alerts |
| 16 from handlers import swarming_task | 16 from handlers import swarming_task |
| 17 from handlers import triage_analysis | 17 from handlers import triage_analysis |
| 18 from handlers import trigger_analyses | 18 from handlers import trigger_analyses |
| 19 from handlers import try_job | 19 from handlers import try_job |
| 20 from handlers import try_job_result | 20 from handlers import try_job_result |
| 21 from handlers import verify_analysis | 21 from handlers import verify_analysis |
| 22 from handlers import version | 22 from handlers import version |
| 23 from handlers.crash import crash_config | |
| 24 from handlers.crash import fracas_crash | |
| 23 from pipeline_wrapper import pipeline_status_ui | 25 from pipeline_wrapper import pipeline_status_ui |
| 24 | 26 |
| 25 | 27 |
| 26 # This is for the default module. | 28 # This is for the default module. |
| 27 default_web_pages_handler_mappings = [ | 29 default_web_pages_handler_mappings = [ |
| 28 ('/version', version.Version), | 30 ('/version', version.Version), |
| 29 ] | 31 ] |
| 30 default_web_application = webapp2.WSGIApplication( | 32 default_web_application = webapp2.WSGIApplication( |
| 31 default_web_pages_handler_mappings, debug=False) | 33 default_web_pages_handler_mappings, debug=False) |
| 32 | 34 |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 61 ('/waterfall/swarming-task', swarming_task.SwarmingTask), | 63 ('/waterfall/swarming-task', swarming_task.SwarmingTask), |
| 62 ('/waterfall/triage-analysis', triage_analysis.TriageAnalysis), | 64 ('/waterfall/triage-analysis', triage_analysis.TriageAnalysis), |
| 63 ('/waterfall/try-job', try_job.TryJob), | 65 ('/waterfall/try-job', try_job.TryJob), |
| 64 ('/waterfall/try-job-result', try_job_result.TryJobResult), | 66 ('/waterfall/try-job-result', try_job_result.TryJobResult), |
| 65 ('/waterfall/verify-analysis', verify_analysis.VerifyAnalysis), | 67 ('/waterfall/verify-analysis', verify_analysis.VerifyAnalysis), |
| 66 ] | 68 ] |
| 67 waterfall_frontend_web_application = webapp2.WSGIApplication( | 69 waterfall_frontend_web_application = webapp2.WSGIApplication( |
| 68 waterfall_frontend_web_pages_handler_mappings, debug=False) | 70 waterfall_frontend_web_pages_handler_mappings, debug=False) |
| 69 | 71 |
| 70 | 72 |
| 71 # This is for the "waterfall-backend" module. | 73 # This is for the "waterfall-backend" module. |
|
mimee
2016/04/07 23:43:09
Omitting 'This is for the ' from comments would be
stgao
2016/04/08 01:14:08
sounds good.
| |
| 72 waterfall_backend_web_pages_handler_mappings = [ | 74 waterfall_backend_web_pages_handler_mappings = [ |
| 73 ('/waterfall/trigger-analyses', trigger_analyses.TriggerAnalyses), | 75 ('/waterfall/trigger-analyses', trigger_analyses.TriggerAnalyses), |
| 74 ] | 76 ] |
| 75 waterfall_backend_web_application = webapp2.WSGIApplication( | 77 waterfall_backend_web_application = webapp2.WSGIApplication( |
| 76 waterfall_backend_web_pages_handler_mappings, debug=False) | 78 waterfall_backend_web_pages_handler_mappings, debug=False) |
| 79 | |
| 80 # This is for the "crash-frontend" module. | |
| 81 crash_frontend_web_pages_handler_mappings = [ | |
| 82 ('/crash/config', crash_config.CrashConfig), | |
| 83 ('/crash/fracas', fracas_crash.FracasCrash), | |
| 84 ] | |
| 85 crash_frontend_web_application = webapp2.WSGIApplication( | |
| 86 crash_frontend_web_pages_handler_mappings, debug=False) | |
| OLD | NEW |