| 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 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 process_failure_analysis_requests | 19 from handlers import process_failure_analysis_requests |
| 20 from handlers import process_flake_analysis_request |
| 20 from handlers import swarming_task | 21 from handlers import swarming_task |
| 21 from handlers import triage_analysis | 22 from handlers import triage_analysis |
| 22 from handlers import triage_suspected_cl | 23 from handlers import triage_suspected_cl |
| 23 from handlers import try_job | 24 from handlers import try_job |
| 24 from handlers import try_job_dashboard | 25 from handlers import try_job_dashboard |
| 25 from handlers import try_job_result | 26 from handlers import try_job_result |
| 26 from handlers import verify_analysis | 27 from handlers import verify_analysis |
| 27 from handlers import version | 28 from handlers import version |
| 28 from handlers.crash import crash_config | 29 from handlers.crash import crash_config |
| 29 from handlers.crash import crash_handler | 30 from handlers.crash import crash_handler |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 ('/waterfall/verify-analysis', verify_analysis.VerifyAnalysis), | 89 ('/waterfall/verify-analysis', verify_analysis.VerifyAnalysis), |
| 89 ] | 90 ] |
| 90 waterfall_frontend_web_application = webapp2.WSGIApplication( | 91 waterfall_frontend_web_application = webapp2.WSGIApplication( |
| 91 waterfall_frontend_web_pages_handler_mappings, debug=False) | 92 waterfall_frontend_web_pages_handler_mappings, debug=False) |
| 92 | 93 |
| 93 | 94 |
| 94 # "waterfall-backend" module. | 95 # "waterfall-backend" module. |
| 95 waterfall_backend_web_pages_handler_mappings = [ | 96 waterfall_backend_web_pages_handler_mappings = [ |
| 96 ('/waterfall/process-failure-analysis-requests', | 97 ('/waterfall/process-failure-analysis-requests', |
| 97 process_failure_analysis_requests.ProcessFailureAnalysisRequests), | 98 process_failure_analysis_requests.ProcessFailureAnalysisRequests), |
| 99 ('/waterfall/process-flake-analysis-request', |
| 100 process_flake_analysis_request.ProcessFlakeAnalysisRequest), |
| 98 ] | 101 ] |
| 99 waterfall_backend_web_application = webapp2.WSGIApplication( | 102 waterfall_backend_web_application = webapp2.WSGIApplication( |
| 100 waterfall_backend_web_pages_handler_mappings, debug=False) | 103 waterfall_backend_web_pages_handler_mappings, debug=False) |
| 101 | 104 |
| 102 | 105 |
| 103 # "crash-frontend" module. | 106 # "crash-frontend" module. |
| 104 crash_frontend_web_pages_handler_mappings = [ | 107 crash_frontend_web_pages_handler_mappings = [ |
| 105 ('/crash/config', crash_config.CrashConfig), | 108 ('/crash/config', crash_config.CrashConfig), |
| 106 ('/crash/fracas-dashboard', fracas_dashboard.FracasDashBoard), | 109 ('/crash/fracas-dashboard', fracas_dashboard.FracasDashBoard), |
| 107 ('/crash/fracas-result-feedback', | 110 ('/crash/fracas-result-feedback', |
| 108 fracas_result_feedback.FracasResultFeedback), | 111 fracas_result_feedback.FracasResultFeedback), |
| 109 ('/crash/triage-fracas-analysis', | 112 ('/crash/triage-fracas-analysis', |
| 110 triage_fracas_analysis.TriageFracasAnalysis), | 113 triage_fracas_analysis.TriageFracasAnalysis), |
| 111 ('/_ah/push-handlers/crash/fracas', crash_handler.CrashHandler), | 114 ('/_ah/push-handlers/crash/fracas', crash_handler.CrashHandler), |
| 112 ('/_ah/push-handlers/crash/cracas', crash_handler.CrashHandler), | 115 ('/_ah/push-handlers/crash/cracas', crash_handler.CrashHandler), |
| 113 ] | 116 ] |
| 114 crash_frontend_web_application = webapp2.WSGIApplication( | 117 crash_frontend_web_application = webapp2.WSGIApplication( |
| 115 crash_frontend_web_pages_handler_mappings, debug=False) | 118 crash_frontend_web_pages_handler_mappings, debug=False) |
| OLD | NEW |