| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 ('/waterfall/verify-analysis', verify_analysis.VerifyAnalysis), | 85 ('/waterfall/verify-analysis', verify_analysis.VerifyAnalysis), |
| 85 ] | 86 ] |
| 86 waterfall_frontend_web_application = webapp2.WSGIApplication( | 87 waterfall_frontend_web_application = webapp2.WSGIApplication( |
| 87 waterfall_frontend_web_pages_handler_mappings, debug=False) | 88 waterfall_frontend_web_pages_handler_mappings, debug=False) |
| 88 | 89 |
| 89 | 90 |
| 90 # "waterfall-backend" module. | 91 # "waterfall-backend" module. |
| 91 waterfall_backend_web_pages_handler_mappings = [ | 92 waterfall_backend_web_pages_handler_mappings = [ |
| 92 ('/waterfall/process-failure-analysis-requests', | 93 ('/waterfall/process-failure-analysis-requests', |
| 93 process_failure_analysis_requests.ProcessFailureAnalysisRequests), | 94 process_failure_analysis_requests.ProcessFailureAnalysisRequests), |
| 95 ('/waterfall/process-flake-analysis-request', |
| 96 process_flake_analysis_request.ProcessFlakeAnalysisRequest), |
| 94 ] | 97 ] |
| 95 waterfall_backend_web_application = webapp2.WSGIApplication( | 98 waterfall_backend_web_application = webapp2.WSGIApplication( |
| 96 waterfall_backend_web_pages_handler_mappings, debug=False) | 99 waterfall_backend_web_pages_handler_mappings, debug=False) |
| 97 | 100 |
| 98 | 101 |
| 99 # "crash-frontend" module. | 102 # "crash-frontend" module. |
| 100 crash_frontend_web_pages_handler_mappings = [ | 103 crash_frontend_web_pages_handler_mappings = [ |
| 101 ('/crash/config', crash_config.CrashConfig), | 104 ('/crash/config', crash_config.CrashConfig), |
| 102 ('/crash/fracas-dashboard', fracas_dashboard.FracasDashBoard), | 105 ('/crash/fracas-dashboard', fracas_dashboard.FracasDashBoard), |
| 103 ('/crash/fracas-result-feedback', | 106 ('/crash/fracas-result-feedback', |
| 104 fracas_result_feedback.FracasResultFeedback), | 107 fracas_result_feedback.FracasResultFeedback), |
| 105 ('/crash/triage-fracas-analysis', | 108 ('/crash/triage-fracas-analysis', |
| 106 triage_fracas_analysis.TriageFracasAnalysis), | 109 triage_fracas_analysis.TriageFracasAnalysis), |
| 107 ('/_ah/push-handlers/crash/fracas', crash_handler.CrashHandler), | 110 ('/_ah/push-handlers/crash/fracas', crash_handler.CrashHandler), |
| 108 ('/_ah/push-handlers/crash/cracas', crash_handler.CrashHandler), | 111 ('/_ah/push-handlers/crash/cracas', crash_handler.CrashHandler), |
| 109 ] | 112 ] |
| 110 crash_frontend_web_application = webapp2.WSGIApplication( | 113 crash_frontend_web_application = webapp2.WSGIApplication( |
| 111 crash_frontend_web_pages_handler_mappings, debug=False) | 114 crash_frontend_web_pages_handler_mappings, debug=False) |
| OLD | NEW |