OLD | NEW |
1 # Copyright 2013 The LUCI Authors. All rights reserved. | 1 # Copyright 2013 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 """Configures includes (components.auth). | 5 """Configures includes (components.auth). |
6 | 6 |
7 https://developers.google.com/appengine/docs/python/tools/appengineconfig | 7 https://developers.google.com/appengine/docs/python/tools/appengineconfig |
8 """ | 8 """ |
9 | 9 |
10 from components import utils | 10 from components import utils |
11 | 11 |
12 # OpenID requires real accounts, it's not convenient on dev server, especially | 12 # OpenID requires real accounts, it's not convenient on dev server, especially |
13 # for smoke tests. | 13 # for smoke tests. |
14 components_auth_USE_OPENID = not utils.is_local_dev_server() | 14 components_auth_USE_OPENID = not utils.is_local_dev_server() |
15 | 15 |
16 # Auth component UI is tweaked manually, see handlers_frontend.py. | 16 # Auth component UI is tweaked manually, see handlers_frontend.py. |
17 components_auth_UI_CUSTOM_CONFIG = True | 17 components_auth_UI_CUSTOM_CONFIG = True |
18 | 18 |
19 # Use backend module and dedicated task queue for change log generation. | 19 # Use backend module and dedicated task queue for change log generation. |
20 components_auth_BACKEND_MODULE = 'backend' | 20 components_auth_BACKEND_MODULE = 'backend' |
21 components_auth_PROCESS_CHANGE_TASK_QUEUE = 'process-auth-db-change' | 21 components_auth_PROCESS_CHANGE_TASK_QUEUE = 'process-auth-db-change' |
OLD | NEW |