| 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 from handlers.crash import fracas_dashboard |
| 28 from handlers.flake import check_flake | 29 from handlers.flake import check_flake |
| 29 | 30 |
| 30 # Default module. | 31 # Default module. |
| 31 default_web_pages_handler_mappings = [ | 32 default_web_pages_handler_mappings = [ |
| 32 ('/version', version.Version), | 33 ('/version', version.Version), |
| 33 ] | 34 ] |
| 34 default_web_application = webapp2.WSGIApplication( | 35 default_web_application = webapp2.WSGIApplication( |
| 35 default_web_pages_handler_mappings, debug=False) | 36 default_web_pages_handler_mappings, debug=False) |
| 36 | 37 |
| 37 | 38 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 waterfall_backend_web_pages_handler_mappings = [ | 83 waterfall_backend_web_pages_handler_mappings = [ |
| 83 ('/waterfall/trigger-analyses', trigger_analyses.TriggerAnalyses), | 84 ('/waterfall/trigger-analyses', trigger_analyses.TriggerAnalyses), |
| 84 ] | 85 ] |
| 85 waterfall_backend_web_application = webapp2.WSGIApplication( | 86 waterfall_backend_web_application = webapp2.WSGIApplication( |
| 86 waterfall_backend_web_pages_handler_mappings, debug=False) | 87 waterfall_backend_web_pages_handler_mappings, debug=False) |
| 87 | 88 |
| 88 | 89 |
| 89 # "crash-frontend" module. | 90 # "crash-frontend" module. |
| 90 crash_frontend_web_pages_handler_mappings = [ | 91 crash_frontend_web_pages_handler_mappings = [ |
| 91 ('/crash/config', crash_config.CrashConfig), | 92 ('/crash/config', crash_config.CrashConfig), |
| 93 ('/crash/fracas-dashboard', fracas_dashboard.FracasDashBoard), |
| 92 ('/_ah/push-handlers/crash/fracas', fracas_crash.FracasCrash), | 94 ('/_ah/push-handlers/crash/fracas', fracas_crash.FracasCrash), |
| 93 ] | 95 ] |
| 94 crash_frontend_web_application = webapp2.WSGIApplication( | 96 crash_frontend_web_application = webapp2.WSGIApplication( |
| 95 crash_frontend_web_pages_handler_mappings, debug=False) | 97 crash_frontend_web_pages_handler_mappings, debug=False) |
| OLD | NEW |