A new method connection-tenant, returns the connections tenant as an
object. This commit also fixes some problems with the keystone
authentication function and adds more test coverage.
Change-Id: I9b753a7c6e68be45cf1797e5966ac1ff2e2fca2f
To allow other clients to more easily use the REST API helpers, they
have been re-factored out of keystone package.
Change-Id: I5fde703293ff8f2668789053a36e293dc6fc6c53
Check that all required fields are supplied when the keystone connection
is created. If they aren't then signal an error. Tenant-id and
tenant-name aren't required for authentication, they will only be passed
if they exist.
Change-Id: I3f7d26029cf2060deee91f97a5fc2c580f70aaff
A KEYSTONE-ERROR condition will be signalled if the response code isn't
200 and the content type is application/json. In all other cases the
url and the return code will be signalled as a standard error.
Change-Id: If68c3bf3fb8836e0c8510aed3329720da4e154e5