OpenStack Identity Authentication Library
Go to file
Monty Taylor 429b19c88c
Ensure we discover only when we should
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
2017-06-29 08:03:35 -05:00
doc Fix html_last_updated_fmt for Python3 2017-06-06 08:54:52 +07:00
keystoneauth1 Ensure we discover only when we should 2017-06-29 08:03:35 -05:00
releasenotes Allow setting EndpointReference in ADFSPassword 2017-05-16 17:21:41 +00:00
tools Add Constraints support 2016-12-21 11:24:09 +11:00
.coveragerc Update coverage to keystoneauth1 2015-12-09 11:46:00 +11:00
.gitignore Add release notes for keystoneauth 2015-11-29 20:05:16 -05:00
.gitreview Initial Split of python-keystoneclient to keystoneauth 2015-04-20 14:49:59 -07:00
.mailmap Add mailmap entry 2014-05-07 12:12:43 -07:00
.testr.conf Move to the keystoneauth1 namespace 2015-06-25 16:48:54 -07:00
bindep.txt Add bindep.txt file 2017-04-19 11:52:04 -05:00
CONTRIBUTING.rst Use https for *.openstack.org references 2017-02-06 13:45:24 -08:00
HACKING.rst Use https for *.openstack.org references 2017-02-06 13:45:24 -08:00
LICENSE Initial Split of python-keystoneclient to keystoneauth 2015-04-20 14:49:59 -07:00
README.rst Use https for *.openstack.org references 2017-02-06 13:45:24 -08:00
requirements.txt Updated from global requirements 2017-06-14 00:30:22 +00:00
setup.cfg Add ADFSPassword to keystoneauth1 entry points 2017-05-07 21:30:42 -07:00
setup.py Updated from global requirements 2017-03-08 22:46:11 +00:00
test-requirements.txt Updated from global requirements 2017-06-15 16:24:41 +00:00
tox.ini Remove pbr warnerrors in favor of sphinx check 2017-03-07 20:51:19 -06:00

Team and repository tags

image

keystoneauth

Latest Version

Downloads

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: