Remove _get_endpoint_type() from RestClient
_get_endpoint_type() was used for getting endpoint_type from CONF for
each project, but most projects' sections contain a endpoint_type value
and it is easy to specify its value instead of _get_endpoint_type().
In addition, RestClient will become a tempest-lib class and it is needed
to separate CONF values from a RestClient class.
This patch removes _get_endpoint_type() and makes each client specify
its own CONF value.
Change-Id: I5609c56507bb5ad0ce249b020a8bea1fe11bee3e
13 files changed