OpenStack Identity Authentication Library
429b19c88c
There are a two interrelated pieces in this patch which are around fixing up places where discovery was being re-run inappropriately. They fall out from adding tests for the functionality and couldn't be sanely shifted back further in the stack without a big dance. Switch the default for "discover_versions" on all of the calls that return an EndpointData to "True". It's a new feature and is a thing that doesn't make a ton of sense to call if you don't want discovery run. However, get_endpoint uses it, so needs to be able to pass in discover_version=False, so the option is still useful. Make sure that get_endpoint and other places where ksa calls get_endpoint_data on behalf of the user work as before without unneeded discovery. Add tests to show that we use actually use the discovery cache properly when we've previously done discovery that can satisfy the new request. This works from the microversion optimization patch, but we had to clean up a couple of things to show it fully in a test. Change-Id: I54053336edf1b3c2bd35a77dbd78f56388b8e806 |
||
---|---|---|
doc | ||
keystoneauth1 | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Team and repository tags
keystoneauth
This package contains tools for authenticating to an OpenStack-based cloud. These tools include:
- Authentication plugins (password, token, and federation based)
- Discovery mechanisms to determine API version support
- A session that is used to maintain client settings across requests (based on the requests Python library)
Further information:
- Free software: Apache license
- Documentation: https://docs.openstack.org/developer/keystoneauth
- Source: https://git.openstack.org/cgit/openstack/keystoneauth
- Bugs: https://bugs.launchpad.net/keystoneauth