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

Unified Diff: appengine/swarming/main.py

Issue 1926443003: swarming: read configs from luci-config (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: changed logging levels Created 4 years, 8 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/swarming/handlers_test.py ('k') | appengine/swarming/proto/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/main.py
diff --git a/appengine/swarming/main.py b/appengine/swarming/main.py
index 7ed3dfe0a97a71db113bb59e50931a4beff99177..8af0f0c903ee21707be0554b06a4b9f0d8ad6006 100644
--- a/appengine/swarming/main.py
+++ b/appengine/swarming/main.py
@@ -38,8 +38,12 @@ def create_application():
# Local import, because it instantiates the mapreduce app.
from mapreduce import main
gae_ts_mon.initialize(main.APP, is_enabled_fn=is_enabled_callback)
- # App that serves new endpoints API.
- api = endpoints.api_server([handlers_endpoints.swarming_api])
+ api = endpoints.api_server([
+ handlers_endpoints.swarming_api,
+ # components.config endpoints for validation and configuring of luci-config
+ # service URL.
+ config.ConfigApi,
+ ])
ts_mon_metrics.initialize()
return frontend_app, api, main.APP
« no previous file with comments | « appengine/swarming/handlers_test.py ('k') | appengine/swarming/proto/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698