Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: dashboard/dashboard/benchmark_health_report.py

Issue 2706813003: Add new endpoint to get bug details as JSON. (Closed)
Patch Set: Actually link bugs Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dashboard/dashboard/bug_details.py » ('j') | dashboard/dashboard/bug_details.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/benchmark_health_report.py
diff --git a/dashboard/dashboard/benchmark_health_report.py b/dashboard/dashboard/benchmark_health_report.py
index f4a78f32702b37683942b2d144b0b6b2288307a6..cc4fe6e39fce76bc98f0b9d89a8240a2986205c7 100644
--- a/dashboard/dashboard/benchmark_health_report.py
+++ b/dashboard/dashboard/benchmark_health_report.py
@@ -9,6 +9,7 @@ import json
from dashboard import alerts
from dashboard import list_tests
+from dashboard import oauth2_decorator
from dashboard import update_test_suites
from dashboard.common import request_handler
from dashboard.common import utils
@@ -17,6 +18,7 @@ from dashboard.models import anomaly
class BenchmarkHealthReportHandler(request_handler.RequestHandler):
+ @oauth2_decorator.DECORATOR.oauth_required
def get(self):
"""Renders the UI for the group report page."""
self.RenderStaticHtml('benchmark_health_report.html')
« no previous file with comments | « no previous file | dashboard/dashboard/bug_details.py » ('j') | dashboard/dashboard/bug_details.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698