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

Unified Diff: appengine/gaemiddleware/routes.go

Issue 2576923003: Implement config service cache on top of datastore (Closed)
Patch Set: Relocated, fix, split integration test, rebase. Created 3 years, 11 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 | « appengine/gaemiddleware/resources.cfg ('k') | common/testing/assertions/error_tests.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/gaemiddleware/routes.go
diff --git a/appengine/gaemiddleware/routes.go b/appengine/gaemiddleware/routes.go
index d4237087795b608cc125a91c8566fc3f7dbb9802..fca73ed5b506f216ceced6398c77f940c9299978 100644
--- a/appengine/gaemiddleware/routes.go
+++ b/appengine/gaemiddleware/routes.go
@@ -10,6 +10,7 @@ import (
gaeauth "github.com/luci/luci-go/appengine/gaeauth/server"
"github.com/luci/luci-go/appengine/tsmon"
+ "github.com/luci/luci-go/luci_config/appengine/gaeconfig"
)
// InstallHandlers installs HTTP handlers for various default routes.
@@ -28,4 +29,5 @@ func InstallHandlers(r *router.Router, base router.MiddlewareChain) {
gaeauth.InstallHandlers(r, base)
tsmon.InstallHandlers(r, base)
admin.InstallHandlers(r, base, &gaeauth.UsersAPIAuthMethod{})
+ gaeconfig.InstallCacheCronHandler(r, base.Extend(RequireCron))
}
« no previous file with comments | « appengine/gaemiddleware/resources.cfg ('k') | common/testing/assertions/error_tests.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698