keystonemiddleware/keystonemiddleware/tests/unit
Jamie Lennox f0965c955d Split oslo_config and list all opts
The intent of providing the list_auth_token_opts function was to provide
the oslo_config sample config file generator a list of options to
include in its sample files. However, services like zaqar have come to
rely on the list_auth_token_opts to list all the options that may be
consumed by auth_token middleware so that they can register them against
a non-global oslo_config object.

By removing deprecated options from the list_auth_token_opts we remove
these options from the config objects that the services use, however by
keeping them we will forever have deprecated options in sample config
files.

To split these two functionalities create a new function that lists the
options available for sample config files and update the entrypoint to
reflect this. This function is currently private because it should only
need to be accessed via entrypoint. The old deprecated options are then
added back to the original list_auth_token_opts function.

Closes-Bug: #1533932
Change-Id: I2aae5483c9309ab75985298c8de5b6f24cbc0f0d
2016-02-11 13:00:28 +11:00
..
auth_token Remove clobbering of passed oslo_config_config 2016-02-06 13:21:56 +00:00
__init__.py Move unit tests into tests.unit 2015-03-11 17:03:54 -05:00
client_fixtures.py Use keystoneauth 2015-11-23 12:03:00 +11:00
test_audit_middleware.py drop use of norm_ns 2015-10-14 11:46:25 -04:00
test_ec2_token_middleware.py Adding parse of protocol v4 of AWS auth to ec2_token 2015-11-27 18:22:04 +03:00
test_entry_points.py Define entry points for filter factories for Paste Deployment 2015-11-06 12:16:44 -06:00
test_fixtures.py Add project_name to the auth_token fixture 2016-01-13 15:10:36 +11:00
test_opts.py Split oslo_config and list all opts 2016-02-11 13:00:28 +11:00
test_s3_token_middleware.py Prevent a UnicodeDecodeError in the s3token middleware 2015-06-18 13:13:59 +02:00
utils.py Revert "Disable memory caching of tokens" 2016-01-22 09:52:39 -06:00