OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 """Dispatches requests to request handler classes.""" | 5 """Dispatches requests to request handler classes.""" |
6 | 6 |
7 import webapp2 | 7 import webapp2 |
8 | 8 |
9 from dashboard import add_point | 9 from dashboard import add_point |
10 from dashboard import add_point_queue | 10 from dashboard import add_point_queue |
11 from dashboard import alerts | 11 from dashboard import alerts |
12 from dashboard import associate_alerts | 12 from dashboard import associate_alerts |
13 from dashboard import auto_bisect | 13 from dashboard import auto_bisect |
14 from dashboard import auto_triage | 14 from dashboard import auto_triage |
15 from dashboard import bad_bisect | 15 from dashboard import bad_bisect |
16 from dashboard import benchmark_health_report | 16 from dashboard import benchmark_health_report |
17 from dashboard import bisect_stats | 17 from dashboard import bisect_stats |
18 from dashboard import bisect_fyi | 18 from dashboard import bisect_fyi |
| 19 from dashboard import bug_details |
19 from dashboard import buildbucket_job_status | 20 from dashboard import buildbucket_job_status |
20 from dashboard import change_internal_only | 21 from dashboard import change_internal_only |
21 from dashboard import create_health_report | 22 from dashboard import create_health_report |
22 from dashboard import debug_alert | 23 from dashboard import debug_alert |
23 from dashboard import delete_test_data | 24 from dashboard import delete_test_data |
24 from dashboard import dump_graph_json | 25 from dashboard import dump_graph_json |
25 from dashboard import edit_anomalies | 26 from dashboard import edit_anomalies |
26 from dashboard import edit_anomaly_configs | 27 from dashboard import edit_anomaly_configs |
27 from dashboard import edit_bug_labels | 28 from dashboard import edit_bug_labels |
28 from dashboard import edit_sheriffs | 29 from dashboard import edit_sheriffs |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 ('/add_point_queue', add_point_queue.AddPointQueueHandler), | 65 ('/add_point_queue', add_point_queue.AddPointQueueHandler), |
65 ('/alerts', alerts.AlertsHandler), | 66 ('/alerts', alerts.AlertsHandler), |
66 ('/associate_alerts', associate_alerts.AssociateAlertsHandler), | 67 ('/associate_alerts', associate_alerts.AssociateAlertsHandler), |
67 ('/auto_bisect', auto_bisect.AutoBisectHandler), | 68 ('/auto_bisect', auto_bisect.AutoBisectHandler), |
68 ('/auto_triage', auto_triage.AutoTriageHandler), | 69 ('/auto_triage', auto_triage.AutoTriageHandler), |
69 ('/bad_bisect', bad_bisect.BadBisectHandler), | 70 ('/bad_bisect', bad_bisect.BadBisectHandler), |
70 ('/benchmark_health_report', | 71 ('/benchmark_health_report', |
71 benchmark_health_report.BenchmarkHealthReportHandler), | 72 benchmark_health_report.BenchmarkHealthReportHandler), |
72 ('/bisect_fyi', bisect_fyi.BisectFYIHandler), | 73 ('/bisect_fyi', bisect_fyi.BisectFYIHandler), |
73 ('/bisect_stats', bisect_stats.BisectStatsHandler), | 74 ('/bisect_stats', bisect_stats.BisectStatsHandler), |
| 75 ('/bug_details', bug_details.BugDetailsHandler), |
74 (r'/buildbucket_job_status/(\d+)', | 76 (r'/buildbucket_job_status/(\d+)', |
75 buildbucket_job_status.BuildbucketJobStatusHandler), | 77 buildbucket_job_status.BuildbucketJobStatusHandler), |
76 ('/change_internal_only', change_internal_only.ChangeInternalOnlyHandler), | 78 ('/change_internal_only', change_internal_only.ChangeInternalOnlyHandler), |
77 ('/create_health_report', create_health_report.CreateHealthReportHandler), | 79 ('/create_health_report', create_health_report.CreateHealthReportHandler), |
78 ('/debug_alert', debug_alert.DebugAlertHandler), | 80 ('/debug_alert', debug_alert.DebugAlertHandler), |
79 ('/delete_expired_entities', layered_cache.DeleteExpiredEntitiesHandler), | 81 ('/delete_expired_entities', layered_cache.DeleteExpiredEntitiesHandler), |
80 ('/delete_test_data', delete_test_data.DeleteTestDataHandler), | 82 ('/delete_test_data', delete_test_data.DeleteTestDataHandler), |
81 ('/dump_graph_json', dump_graph_json.DumpGraphJsonHandler), | 83 ('/dump_graph_json', dump_graph_json.DumpGraphJsonHandler), |
82 ('/edit_anomalies', edit_anomalies.EditAnomaliesHandler), | 84 ('/edit_anomalies', edit_anomalies.EditAnomaliesHandler), |
83 ('/edit_anomaly_configs', edit_anomaly_configs.EditAnomalyConfigsHandler), | 85 ('/edit_anomaly_configs', edit_anomaly_configs.EditAnomalyConfigsHandler), |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 stoppage_alert_debugging_info.StoppageAlertDebuggingInfoHandler), | 117 stoppage_alert_debugging_info.StoppageAlertDebuggingInfoHandler), |
116 ('/test_buildbucket', test_buildbucket.TestBuildbucketHandler), | 118 ('/test_buildbucket', test_buildbucket.TestBuildbucketHandler), |
117 ('/update_bug_with_results', | 119 ('/update_bug_with_results', |
118 update_bug_with_results.UpdateBugWithResultsHandler), | 120 update_bug_with_results.UpdateBugWithResultsHandler), |
119 ('/update_test_suites', update_test_suites.UpdateTestSuitesHandler), | 121 ('/update_test_suites', update_test_suites.UpdateTestSuitesHandler), |
120 (oauth2_decorator.DECORATOR.callback_path, | 122 (oauth2_decorator.DECORATOR.callback_path, |
121 oauth2_decorator.DECORATOR.callback_handler()) | 123 oauth2_decorator.DECORATOR.callback_handler()) |
122 ] | 124 ] |
123 | 125 |
124 APP = webapp2.WSGIApplication(_URL_MAPPING, debug=False) | 126 APP = webapp2.WSGIApplication(_URL_MAPPING, debug=False) |
OLD | NEW |