keystoneauth/keystoneauth1
Eric Fried 4e4a1a89dd Make Discover.version_data accept null max_version
Make Discover.version_data a little more lenient in the JSON data it
accepts with respect to "max_version" and "version".  Previously, if the
"max_version" field was present but empty, the "version" field would be
ignored, even if populated with a proper version number.  This goes
against the intent of the API.  This change causes version_data to
ignore a blank "max_version" if "version" is populated.

This change also introduces a unit test harness for the various
permutations of version_data translating input version data to
min/max_microversion, including cases for the above.

Change-Id: I1cb4ebdd57a6eadc1a16efc0fc1ceeda640f26c2
Closes-Bug: #1703438
2017-07-11 14:14:33 -05:00
..
access Support a list of interface values 2017-06-29 08:03:34 -05:00
exceptions Fix ClientException message property not set properly 2017-01-26 12:28:05 +00:00
extras Merge "Allow setting EndpointReference in ADFSPassword" 2017-05-16 20:14:39 +00:00
fixture Add url manipulation and microversion collection 2017-06-26 06:00:34 -05:00
hacking Move to the keystoneauth1 namespace 2015-06-25 16:48:54 -07:00
identity Ensure we discover only when we should 2017-06-29 08:03:35 -05:00
loading Pass kwargs to the plugin getter 2017-06-12 17:04:42 +02:00
tests Make Discover.version_data accept null max_version 2017-07-11 14:14:33 -05:00
__init__.py Provide a RFC 7231 compliant user agent string 2015-12-15 16:45:17 -06:00
_utils.py Disables TCP_KEEPCNT when using Windows Subsystem for Linux 2016-08-23 03:36:45 +00:00
adapter.py Ensure we discover only when we should 2017-06-29 08:03:35 -05:00
discover.py Make Discover.version_data accept null max_version 2017-07-11 14:14:33 -05:00
plugin.py Removing tox ignore D400. 2016-04-18 21:20:51 +00:00
service_token.py Add a service token wrapper 2016-10-11 14:14:40 +11:00
session.py Merge "Optimize the link address" 2017-07-06 05:54:50 +00:00
token_endpoint.py Adding authentication compatibility for OpenStackClient 2016-03-07 23:38:22 +00:00