summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorZhi Yan Liu <zhiyanl@cn.ibm.com>2014-07-02 22:40:35 +0800
committerMorgan Fainberg <morgan.fainberg@gmail.com>2014-07-02 13:23:09 -0700
commit62093bfc8512e76291c137161e05e492a4ab9e09 (patch)
treefeb4da269ab633c56b04a9d6e5c60ab090d297c2 /setup.cfg
parent4b6dc3f1bd7166eb32627e4b3595a2dd2b8d2b2c (diff)
downloadkeystonemiddleware-62093bfc8512e76291c137161e05e492a4ab9e09.tar.gz
Expose an entry point to list auth_token middleware config options
Register a 'keystonemiddleware.auth_token' entry point in the oslo.config.opts namespace which, when called, returns a list of the configuration options which may be registered by the project at runtime. The idea here is that the sample config file generator can query this and include the returned options in the sample config file of any applications which use the middleware, e.g. currently the options were listed in 'keystone_authtoken' section for those major projects. Related-Change-Id: I15686708fc9460948a58cfea3d18dae40ba1fda9 Related-Change-Id: Ic28351258652d2ea38974e2f4d1aa6b1d3dd7192 Related-Change-Id: I76043b08e2872867e5af2a5ac902e4d092fda5c8 Related-Bug: #1300546 Change-Id: Iae31856d5886ee78786972d80c7c103c3460a2b3 Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 62298f0..a24cbb5 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -27,6 +27,10 @@ packages =
setup-hooks =
pbr.hooks.setup_hook
+[entry_points]
+oslo.config.opts =
+ keystonemiddleware.auth_token = keystonemiddleware.opts:list_auth_token_opts
+
[build_sphinx]
source-dir = doc/source
build-dir = doc/build