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 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 failure_log | 14 from handlers import failure_log |
| 15 from handlers import help_triage | 15 from handlers import help_triage |
| 16 from handlers import list_analyses | 16 from handlers import list_analyses |
| 17 from handlers import monitor_alerts | 17 from handlers import monitor_alerts |
| 18 from handlers import swarming_task | 18 from handlers import swarming_task |
| 19 from handlers import triage_analysis | 19 from handlers import triage_analysis |
| 20 from handlers import trigger_analyses | 20 from handlers import trigger_analyses |
| 21 from handlers import try_job | 21 from handlers import try_job |
| 22 from handlers import try_job_dashboard | 22 from handlers import try_job_dashboard |
| 23 from handlers import try_job_result | 23 from handlers import try_job_result |
| 24 from handlers import verify_analysis | 24 from handlers import verify_analysis |
| 25 from handlers import version | 25 from handlers import version |
| 26 from handlers.crash import crash_config | 26 from handlers.crash import crash_config |
| 27 from handlers.crash import fracas_crash | 27 from handlers.crash import fracas_crash |
| 28 | 28 from handlers.flake import check_flaky |
|
stgao
2016/06/08 17:24:12
nit: check_flake?
caiw
2016/06/13 22:43:56
Acknowledged.
| |
| 29 | 29 |
| 30 # Default module. | 30 # Default module. |
| 31 default_web_pages_handler_mappings = [ | 31 default_web_pages_handler_mappings = [ |
| 32 ('/version', version.Version), | 32 ('/version', version.Version), |
| 33 ] | 33 ] |
| 34 default_web_application = webapp2.WSGIApplication( | 34 default_web_application = webapp2.WSGIApplication( |
| 35 default_web_pages_handler_mappings, debug=False) | 35 default_web_pages_handler_mappings, debug=False) |
| 36 | 36 |
| 37 | 37 |
| 38 # Cloud Endpoint apis in the default module. | 38 # Cloud Endpoint apis in the default module. |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 51 | 51 |
| 52 | 52 |
| 53 # For appengine pipeline running on backend modules. | 53 # For appengine pipeline running on backend modules. |
| 54 pipeline_backend_application = pipeline_handlers._APP | 54 pipeline_backend_application = pipeline_handlers._APP |
| 55 | 55 |
| 56 | 56 |
| 57 # "waterfall-frontend" module. | 57 # "waterfall-frontend" module. |
| 58 waterfall_frontend_web_pages_handler_mappings = [ | 58 waterfall_frontend_web_pages_handler_mappings = [ |
| 59 ('/build-failure', build_failure.BuildFailure), | 59 ('/build-failure', build_failure.BuildFailure), |
| 60 ('/list-analyses', list_analyses.ListAnalyses), | 60 ('/list-analyses', list_analyses.ListAnalyses), |
| 61 ('/waterfall/check-flaky', check_flaky.CheckFlaky), | |
|
lijeffrey
2016/06/08 18:05:57
nit: I think these are alphabetized, so put this o
caiw
2016/06/13 22:43:56
Acknowledged.
| |
| 61 ('/waterfall/build-failure', build_failure.BuildFailure), | 62 ('/waterfall/build-failure', build_failure.BuildFailure), |
| 62 ('/waterfall/check-duplicate-failures', | 63 ('/waterfall/check-duplicate-failures', |
| 63 check_duplicate_failures.CheckDuplicateFailures), | 64 check_duplicate_failures.CheckDuplicateFailures), |
| 64 ('/waterfall/config', config.Configuration), | 65 ('/waterfall/config', config.Configuration), |
| 65 ('/waterfall/failure-log', failure_log.FailureLog), | 66 ('/waterfall/failure-log', failure_log.FailureLog), |
| 66 ('/waterfall/help-triage', help_triage.HelpTriage), | 67 ('/waterfall/help-triage', help_triage.HelpTriage), |
| 67 ('/waterfall/list-analyses', list_analyses.ListAnalyses), | 68 ('/waterfall/list-analyses', list_analyses.ListAnalyses), |
| 68 ('/waterfall/monitor-alerts', monitor_alerts.MonitorAlerts), | 69 ('/waterfall/monitor-alerts', monitor_alerts.MonitorAlerts), |
| 69 ('/waterfall/swarming-task', swarming_task.SwarmingTask), | 70 ('/waterfall/swarming-task', swarming_task.SwarmingTask), |
| 70 ('/waterfall/triage-analysis', triage_analysis.TriageAnalysis), | 71 ('/waterfall/triage-analysis', triage_analysis.TriageAnalysis), |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 85 waterfall_backend_web_pages_handler_mappings, debug=False) | 86 waterfall_backend_web_pages_handler_mappings, debug=False) |
| 86 | 87 |
| 87 | 88 |
| 88 # "crash-frontend" module. | 89 # "crash-frontend" module. |
| 89 crash_frontend_web_pages_handler_mappings = [ | 90 crash_frontend_web_pages_handler_mappings = [ |
| 90 ('/crash/config', crash_config.CrashConfig), | 91 ('/crash/config', crash_config.CrashConfig), |
| 91 ('/_ah/push-handlers/crash/fracas', fracas_crash.FracasCrash), | 92 ('/_ah/push-handlers/crash/fracas', fracas_crash.FracasCrash), |
| 92 ] | 93 ] |
| 93 crash_frontend_web_application = webapp2.WSGIApplication( | 94 crash_frontend_web_application = webapp2.WSGIApplication( |
| 94 crash_frontend_web_pages_handler_mappings, debug=False) | 95 crash_frontend_web_pages_handler_mappings, debug=False) |
| OLD | NEW |