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

Side by Side Diff: appengine/config_service/admin.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « appengine/config_service/acl_test.py ('k') | appengine/config_service/api.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The LUCI Authors. All rights reserved. 1 # Copyright 2015 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 """Administration API accessible only by service admins. 5 """Administration API accessible only by service admins.
6 6
7 Defined as Endpoints API mostly to abuse API Explorer UI and not to write our 7 Defined as Endpoints API mostly to abuse API Explorer UI and not to write our
8 own admin UI. Note that all methods are publicly visible (though the source code 8 own admin UI. Note that all methods are publicly visible (though the source code
9 itself is also publicly visible, so not a big deal). 9 itself is also publicly visible, so not a big deal).
10 10
11 Callers have to be in 'administrators' group. 11 Callers have to be in 'administrators' group.
12 """ 12 """
13 13
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 changed = conf.modify( 66 changed = conf.modify(
67 services_config_storage_type=request.services_config_storage_type, 67 services_config_storage_type=request.services_config_storage_type,
68 services_config_location=request.services_config_location) 68 services_config_location=request.services_config_location)
69 69
70 if changed: 70 if changed:
71 logging.warning('Updated global configuration') 71 logging.warning('Updated global configuration')
72 72
73 return GlobalConfigMessage( 73 return GlobalConfigMessage(
74 services_config_location=conf.services_config_location, 74 services_config_location=conf.services_config_location,
75 services_config_storage_type=conf.services_config_storage_type) 75 services_config_storage_type=conf.services_config_storage_type)
OLDNEW
« no previous file with comments | « appengine/config_service/acl_test.py ('k') | appengine/config_service/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698