Discover keystone_authtoken options
These options are not directly imported in the projects, but instead used as a middleware in the paste configuration. We force and import of the middleware to discover the options. Change-Id: I6e8a7abca63a86db9dd215c012b10ef2d89c18df
This commit is contained in:
parent
3863236602
commit
4b76183aa3
@ -101,6 +101,11 @@ def import_modules(repo_location, package_name, verbose=0):
|
||||
_register_runtime_opts(module, abs_path, verbose)
|
||||
_run_hook(modname)
|
||||
|
||||
# All the components provide keystone token authentication, usually using a
|
||||
# pipeline. Since the auth_token options can only be discovered at runtime
|
||||
# in this configuration, we force their discovery by importing the module.
|
||||
import keystoneclient.middleware.auth_token # noqa
|
||||
|
||||
|
||||
def _run_hook(modname):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user