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 |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 23 from handlers import try_job_dashboard | 23 from handlers import try_job_dashboard |
| 24 from handlers import try_job_result | 24 from handlers import try_job_result |
| 25 from handlers import verify_analysis | 25 from handlers import verify_analysis |
| 26 from handlers import version | 26 from handlers import version |
| 27 from handlers.crash import crash_config | 27 from handlers.crash import crash_config |
| 28 from handlers.crash import fracas_crash | 28 from handlers.crash import fracas_crash |
| 29 from handlers.crash import fracas_dashboard | 29 from handlers.crash import fracas_dashboard |
| 30 from handlers.crash import fracas_result_feedback | 30 from handlers.crash import fracas_result_feedback |
| 31 from handlers.crash import triage_fracas_analysis | 31 from handlers.crash import triage_fracas_analysis |
| 32 from handlers.flake import check_flake | 32 from handlers.flake import check_flake |
| 33 from handlers.flake import flake_dashboard | |
| 33 | 34 |
| 34 # Default module. | 35 # Default module. |
| 35 default_web_pages_handler_mappings = [ | 36 default_web_pages_handler_mappings = [ |
| 36 ('/version', version.Version), | 37 ('/version', version.Version), |
| 37 ] | 38 ] |
| 38 default_web_application = webapp2.WSGIApplication( | 39 default_web_application = webapp2.WSGIApplication( |
| 39 default_web_pages_handler_mappings, debug=False) | 40 default_web_pages_handler_mappings, debug=False) |
| 40 | 41 |
| 41 | 42 |
| 42 # Cloud Endpoint apis in the default module. | 43 # Cloud Endpoint apis in the default module. |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 59 | 60 |
| 60 | 61 |
| 61 # "waterfall-frontend" module. | 62 # "waterfall-frontend" module. |
| 62 waterfall_frontend_web_pages_handler_mappings = [ | 63 waterfall_frontend_web_pages_handler_mappings = [ |
| 63 ('/build-failure', build_failure.BuildFailure), | 64 ('/build-failure', build_failure.BuildFailure), |
| 64 ('/list-analyses', list_analyses.ListAnalyses), | 65 ('/list-analyses', list_analyses.ListAnalyses), |
| 65 ('/waterfall/build-failure', build_failure.BuildFailure), | 66 ('/waterfall/build-failure', build_failure.BuildFailure), |
| 66 ('/waterfall/check-duplicate-failures', | 67 ('/waterfall/check-duplicate-failures', |
| 67 check_duplicate_failures.CheckDuplicateFailures), | 68 check_duplicate_failures.CheckDuplicateFailures), |
| 68 ('/waterfall/check-flake', check_flake.CheckFlake), | 69 ('/waterfall/check-flake', check_flake.CheckFlake), |
| 70 ('/waterfall/flake-dashboard', flake_dashboard.FlakeDashboard), | |
|
lijeffrey
2016/08/01 18:58:39
nit: these should be alphabetized, so move it down
caiw
2016/08/01 19:24:58
Done.
| |
| 69 ('/waterfall/config', config.Configuration), | 71 ('/waterfall/config', config.Configuration), |
| 70 ('/waterfall/culprit', culprit.Culprit), | 72 ('/waterfall/culprit', culprit.Culprit), |
| 71 ('/waterfall/failure-log', failure_log.FailureLog), | 73 ('/waterfall/failure-log', failure_log.FailureLog), |
| 72 ('/waterfall/help-triage', help_triage.HelpTriage), | 74 ('/waterfall/help-triage', help_triage.HelpTriage), |
| 73 ('/waterfall/list-analyses', list_analyses.ListAnalyses), | 75 ('/waterfall/list-analyses', list_analyses.ListAnalyses), |
| 74 ('/waterfall/monitor-alerts', monitor_alerts.MonitorAlerts), | 76 ('/waterfall/monitor-alerts', monitor_alerts.MonitorAlerts), |
| 75 ('/waterfall/swarming-task', swarming_task.SwarmingTask), | 77 ('/waterfall/swarming-task', swarming_task.SwarmingTask), |
| 76 ('/waterfall/triage-analysis', triage_analysis.TriageAnalysis), | 78 ('/waterfall/triage-analysis', triage_analysis.TriageAnalysis), |
| 77 ('/waterfall/try-job', try_job.TryJob), | 79 ('/waterfall/try-job', try_job.TryJob), |
| 78 ('/waterfall/try-job-dashboard', try_job_dashboard.TryJobDashboard), | 80 ('/waterfall/try-job-dashboard', try_job_dashboard.TryJobDashboard), |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 96 ('/crash/config', crash_config.CrashConfig), | 98 ('/crash/config', crash_config.CrashConfig), |
| 97 ('/crash/fracas-dashboard', fracas_dashboard.FracasDashBoard), | 99 ('/crash/fracas-dashboard', fracas_dashboard.FracasDashBoard), |
| 98 ('/crash/fracas-result-feedback', | 100 ('/crash/fracas-result-feedback', |
| 99 fracas_result_feedback.FracasResultFeedback), | 101 fracas_result_feedback.FracasResultFeedback), |
| 100 ('/crash/triage-fracas-analysis', | 102 ('/crash/triage-fracas-analysis', |
| 101 triage_fracas_analysis.TriageFracasAnalysis), | 103 triage_fracas_analysis.TriageFracasAnalysis), |
| 102 ('/_ah/push-handlers/crash/fracas', fracas_crash.FracasCrash), | 104 ('/_ah/push-handlers/crash/fracas', fracas_crash.FracasCrash), |
| 103 ] | 105 ] |
| 104 crash_frontend_web_application = webapp2.WSGIApplication( | 106 crash_frontend_web_application = webapp2.WSGIApplication( |
| 105 crash_frontend_web_pages_handler_mappings, debug=False) | 107 crash_frontend_web_pages_handler_mappings, debug=False) |
| OLD | NEW |