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

Unified Diff: appengine/cmd/milo/frontend/milo.go

Issue 2191693003: Milo: Add LogDog annotation stream support. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Rebarse Created 4 years, 5 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 | appengine/cmd/milo/logdog/build.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cmd/milo/frontend/milo.go
diff --git a/appengine/cmd/milo/frontend/milo.go b/appengine/cmd/milo/frontend/milo.go
index 2e85cf2b64cf6667ec2e07c59346d98bf6bdf960..cc30293a4bc5ea13a3482bdb69af562f50f0414b 100644
--- a/appengine/cmd/milo/frontend/milo.go
+++ b/appengine/cmd/milo/frontend/milo.go
@@ -9,6 +9,7 @@ import (
"github.com/luci/luci-go/appengine/cmd/milo/buildbot"
"github.com/luci/luci-go/appengine/cmd/milo/buildbucket"
+ "github.com/luci/luci-go/appengine/cmd/milo/logdog"
"github.com/luci/luci-go/appengine/cmd/milo/settings"
"github.com/luci/luci-go/appengine/cmd/milo/swarming"
"github.com/luci/luci-go/appengine/gaemiddleware"
@@ -37,6 +38,9 @@ func init() {
r.GET("/buildbot/:master/:builder/:build", basemw, settings.Wrap(buildbot.Build{}))
r.GET("/buildbot/:master/:builder/", basemw, settings.Wrap(buildbot.Builder{}))
+ // LogDog Milo Annotation Streams.
+ r.GET("/logdog/build/:project/*path", basemw, settings.Wrap(&logdog.AnnotationStream{}))
+
// User settings
r.GET("/settings", basemw, settings.Wrap(settings.Settings{}))
r.POST("/settings", basemw, settings.ChangeSettings)
« no previous file with comments | « no previous file | appengine/cmd/milo/logdog/build.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698