Reformat auth_url based on the ID API version. 63/38363/2
authorspisarski <s.pisarski@cablelabs.com>
Fri, 28 Jul 2017 20:41:25 +0000 (14:41 -0600)
committerspisarski <s.pisarski@cablelabs.com>
Mon, 31 Jul 2017 19:36:54 +0000 (13:36 -0600)
commitce19be8891ef3f3e24800924a40f4480dec24bec
tree99d04d5ebc261ca1c798a0ba742a687c9375aebe
parentc4eba6eaaa2f8e0a0ca40c40907fc9e04a65e6d9
Reformat auth_url based on the ID API version.

No longer raising an OSCredsError when the auth_url does
not end with a 'v' + some number. Additionally, the auth_url
will be massaged to remove any 'v' + num from the end of
the URL and generate its own version value based on the ID
API version configured.

JIRA: SNAPS-144

Change-Id: I3a7844025324105576da59b1516d0f541281e6bf
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
snaps/openstack/os_credentials.py
snaps/openstack/tests/conf/os_credentials_tests.py