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

Unified Diff: appengine/cmd/logdog_coordinator/vmuser/main.go

Issue 1672833003: LogDog: Add log rendering view. Base URL: https://github.com/luci/luci-go@master
Patch Set: Clean up, add tests, little reorg. Created 4 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 | appengine/logdog/coordinator/backend/archive.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cmd/logdog_coordinator/vmuser/main.go
diff --git a/appengine/cmd/logdog_coordinator/vmuser/main.go b/appengine/cmd/logdog_coordinator/vmuser/main.go
index ba45f62f8b4723b0663732186eb577a61c9d49d8..9dbf2ff1f2bf5079591bbf1fde41f14753a5e9b1 100644
--- a/appengine/cmd/logdog_coordinator/vmuser/main.go
+++ b/appengine/cmd/logdog_coordinator/vmuser/main.go
@@ -14,6 +14,7 @@ import (
"github.com/luci/luci-go/appengine/logdog/coordinator/endpoints/admin"
"github.com/luci/luci-go/appengine/logdog/coordinator/endpoints/logs"
"github.com/luci/luci-go/appengine/logdog/coordinator/endpoints/services"
+ "github.com/luci/luci-go/appengine/logdog/coordinator/logView"
adminPb "github.com/luci/luci-go/common/api/logdog_coordinator/admin/v1"
logsPb "github.com/luci/luci-go/common/api/logdog_coordinator/logs/v1"
servicesPb "github.com/luci/luci-go/common/api/logdog_coordinator/services/v1"
@@ -46,9 +47,14 @@ func main() {
servicesPb.RegisterServicesServer(&svr, &services.Server{})
logsPb.RegisterLogsServer(&svr, &logs.Server{})
discovery.Enable(&svr)
+ svr.InstallHandlers(router, base)
+
+ // Setup log view handler.
+ vh := logView.Handler{}
+ vh.InstallHandlers(router, base)
+ // Support HTTP endpoints.
gaeauthServer.InstallHandlers(router, base)
- svr.InstallHandlers(router, base)
http.Handle("/", router)
appengine.Main()
« no previous file with comments | « no previous file | appengine/logdog/coordinator/backend/archive.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698