Package org.openstack4j.api.identity
Interface EndpointURLResolver
-
- All Known Implementing Classes:
DefaultEndpointURLResolver
public interface EndpointURLResolverResolves an Endpoint URL based on the Service Type and Facing perspective- Author:
- Jeremy Unruh
-
-
Field Summary
Fields Modifier and Type Field Description static StringLEGACY_EP_RESOLVING_PROPOlder OpenStack deployments can send invalid URL endpoints we have found.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringfindURLV2(URLResolverParams params)Resolves the given ServiceType and Facing perspective down to a single URL used in identity v2StringfindURLV3(URLResolverParams params)Resolves the given ServiceType and Facing perspective down to a single URL used in identity v3
-
-
-
Field Detail
-
LEGACY_EP_RESOLVING_PROP
static final String LEGACY_EP_RESOLVING_PROP
Older OpenStack deployments can send invalid URL endpoints we have found. This can address the issue to apply our own logic in these cases. Only use this in rare cases- See Also:
- Constant Field Values
-
-
Method Detail
-
findURLV2
String findURLV2(URLResolverParams params)
Resolves the given ServiceType and Facing perspective down to a single URL used in identity v2- Parameters:
params- URLResolverParams containing mandatory and optional params- Returns:
- the URL of the Endpoint
-
findURLV3
String findURLV3(URLResolverParams params)
Resolves the given ServiceType and Facing perspective down to a single URL used in identity v3- Parameters:
params- URLResolverParams containing mandatory and optional params- Returns:
- the URL of the Endpoint
-
-