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

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: unlint 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
Index: appengine/swarming/main.py
diff --git a/appengine/swarming/main.py b/appengine/swarming/main.py
index 7ed3dfe0a97a71db113bb59e50931a4beff99177..a3db92d6d359f7e6cf41dffff89fb9c3a4c1ccf9 100644
--- a/appengine/swarming/main.py
+++ b/appengine/swarming/main.py
@@ -38,8 +38,13 @@ 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([
+ # App that serves new endpoints API.
M-A Ruel 2016/04/27 17:50:45 Remove this comment, it was stale.
nodir 2016/04/27 18:37:21 Done.
+ 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

Powered by Google App Engine
This is Rietveld 408576698