keystoneauth/keystoneauth1
Dmitry Tantsur 72288d3b18 Make new-style single endpoint version discovery actually work for ironic
For (unclear) historical reasons the root single version endpoint also
contains "id" and "links" fields. This makes the current workaround
for old-style endpoints take priority over the correct algorithm.
This change reorders the code, so that if "version" is present, it
always take priority over the workaround.

The unit tests are updated to be closer to real output from ironic.

Change-Id: I743b954c6c5b2f986c213acb6ec6af7e08c9f5f8
2018-10-23 14:26:34 +02:00
..
access Implement service_type alias lookups 2018-05-03 15:28:50 -05:00
exceptions Infer version from old versioned service type aliases 2018-05-03 15:28:54 -05:00
extras Mark SAML loader properties as required 2017-11-29 14:57:38 +11:00
fixture Implement system scope 2018-01-17 15:50:11 +00:00
hacking Move to the keystoneauth1 namespace 2015-06-25 16:48:54 -07:00
identity Add ability to filter version data by service-type 2018-07-23 18:41:18 -05:00
loading Add oslo.config option for split-loggers 2018-05-16 15:42:03 -05:00
tests Make new-style single endpoint version discovery actually work for ironic 2018-10-23 14:26:34 +02: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 Reformat Adapter docstring 2018-09-25 05:54:06 -05:00
discover.py Make new-style single endpoint version discovery actually work for ironic 2018-10-23 14:26:34 +02:00
noauth.py Make none auth usable in CLI 2017-10-27 18:46:14 +03:00
plugin.py Protect against endpoint_data not existing 2018-09-11 16:18:40 -06:00
service_token.py Add a service token wrapper 2016-10-11 14:14:40 +11:00
session.py Change log hashing to SHA256 2018-08-17 12:35:47 -05:00
token_endpoint.py Add version discovery support to BaseAuthPlugin 2017-09-06 15:43:30 -05:00