Replace Identity client endpoint type
This patch replaces Identity client default endpoint type,
which is set to 'adminURL', to use the 'v3_endpoint_type'
from identity configuration.
Related-Bug: #1959930
Change-Id: Iee1fe30420d5ec4721a444e3a10985b31ec23601
Signed-off-by: Douglas Viroel <dviroel@redhat.com>
diff --git a/keystone_tempest_plugin/services/identity/clients.py b/keystone_tempest_plugin/services/identity/clients.py
index 1baddc5..d164253 100644
--- a/keystone_tempest_plugin/services/identity/clients.py
+++ b/keystone_tempest_plugin/services/identity/clients.py
@@ -36,7 +36,7 @@
auth_provider,
SERVICE_TYPE,
CONF.identity.region,
- endpoint_type='adminURL')
+ endpoint_type=CONF.identity.v3_endpoint_type)
class Federation(Identity):