commit ba68a74e65ad893e4beeb45b984b2514e60cbdea
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Aug 4 10:32:47 2015 +0200
Allow to use oslo.config without global CONF
If an application doesn't use a global configuration object and load
the middleware with api paste, they are no ways to read the
configuration options from the application configuration file.
This change fixes that, the api paste config will looks like:
With this, the keystonemiddleware will automatically load
the configuration of the project aodh with a local oslo.config object
instead of the global one.
This allows application to not rely of the global oslo.config object
and continue to use paste and keystonemiddleware.
Reviewed: https:/ /review. openstack. org/208965 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=ba68a74e65a d893e4beeb45b98 4b2514e60cbdea
Committed: https:/
Submitter: Jenkins
Branch: master
commit ba68a74e65ad893 e4beeb45b984b25 14e60cbdea
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Aug 4 10:32:47 2015 +0200
Allow to use oslo.config without global CONF
If an application doesn't use a global configuration object and load
the middleware with api paste, they are no ways to read the
configuration options from the application configuration file.
This change fixes that, the api paste config will looks like:
[ filter: authtoken] filter_ factory = keystonemiddlew are.auth_ token:filter_ factory config_ project = aodh
paste.
oslo_
With this, the keystonemiddleware will automatically load
the configuration of the project aodh with a local oslo.config object
instead of the global one.
This allows application to not rely of the global oslo.config object
and continue to use paste and keystonemiddleware.
Closes-bug: #1482078 9c035a15a75c025 be7f5abaab4
Related-bug: #1406218
Change-Id: I48c3d6a6a5486c