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

Unified Diff: dashboard/dashboard/benchmark_health_report.py

Issue 2706813003: Add new endpoint to get bug details as JSON. (Closed)
Patch Set: addressed review comments 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') | no next file with comments »
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 8cf9520e0db78d6c902c767651122efef6aff9e1..dda60df904764aa687583f6b80355d469771fd87 100644
--- a/dashboard/dashboard/benchmark_health_report.py
+++ b/dashboard/dashboard/benchmark_health_report.py
@@ -8,6 +8,7 @@ import datetime
import json
from dashboard import alerts
+from dashboard import oauth2_decorator
from dashboard import update_test_suites
from dashboard.common import request_handler
from dashboard.models import anomaly
@@ -15,6 +16,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698