Currently there is an ability to override endpoint URL to a static URL. However there is a case to override the endpoint service type to an alias, e.g. replace object-store with the object-store-beta. This change also must not depend on the original service type, e.g. if the catalog doesn't contain the object-store, we still need to replace it with the object-store-beta if possible.
There could be 3 scenarios:
There is no object-store service in the catalog, but there is object-store-beta service and we want to use it:
Currently there is an ability to override endpoint URL to a static URL. However there is a case to override the endpoint service type to an alias, e.g. replace
object-store
with theobject-store-beta
. This change also must not depend on the original service type, e.g. if the catalog doesn't contain theobject-store
, we still need to replace it with theobject-store-beta
if possible.There could be 3 scenarios:
There is no
object-store
service in the catalog, but there isobject-store-beta
service and we want to use it:There is
object-store
service in the catalog, but there is alsoobject-store-beta
service and we want to use it instead:There is neither
object-store
norobject-store-beta
in the catalog, but we just want to override the service URL: