Class AbstractOcpApicurioController
java.lang.Object
io.debezium.testing.system.tools.registry.AbstractOcpApicurioController
- All Implemented Interfaces:
RegistryController
- Direct Known Subclasses:
OcpApicurioController
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected final okhttp3.OkHttpClientprotected final Stringprotected final io.fabric8.openshift.client.OpenShiftClientprotected final OpenShiftUtilsprotected final Stringprotected io.apicurio.registry.operator.api.model.ApicurioRegistry -
Constructor Summary
ConstructorsConstructorDescriptionAbstractOcpApicurioController(io.apicurio.registry.operator.api.model.ApicurioRegistry registry, io.fabric8.openshift.client.OpenShiftClient ocp, okhttp3.OkHttpClient http) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected Stringprotected io.fabric8.kubernetes.api.model.Serviceprivate List<io.fabric8.openshift.api.model.Route>protected abstract io.fabric8.kubernetes.client.dsl.NonNamespaceOperation<io.apicurio.registry.operator.api.model.ApicurioRegistry,io.apicurio.registry.operator.api.model.ApicurioRegistryList, io.fabric8.kubernetes.client.dsl.Resource<io.apicurio.registry.operator.api.model.ApicurioRegistry>> booleanundeploy()Undeploy this registry by deleting related ApicurioRegistry CRMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.testing.system.tools.registry.RegistryController
getPublicRegistryApiAddress, getRegistryApiAddress, waitForRegistry
-
Field Details
-
APICURIO_NAME_LBL
- See Also:
-
ocp
protected final io.fabric8.openshift.client.OpenShiftClient ocp -
http
protected final okhttp3.OkHttpClient http -
project
-
name
-
ocpUtils
-
registry
protected io.apicurio.registry.operator.api.model.ApicurioRegistry registry
-
-
Constructor Details
-
AbstractOcpApicurioController
public AbstractOcpApicurioController(io.apicurio.registry.operator.api.model.ApicurioRegistry registry, io.fabric8.openshift.client.OpenShiftClient ocp, okhttp3.OkHttpClient http)
-
-
Method Details
-
getRegistryAddress
-
getPublicRegistryAddress
-
getRoutes
-
getRegistryService
protected io.fabric8.kubernetes.api.model.Service getRegistryService() -
undeploy
public boolean undeploy()Description copied from interface:RegistryControllerUndeploy this registry by deleting related ApicurioRegistry CR- Specified by:
undeployin interfaceRegistryController- Returns:
- true if the CR was found and deleted
-
registryOperation
protected abstract io.fabric8.kubernetes.client.dsl.NonNamespaceOperation<io.apicurio.registry.operator.api.model.ApicurioRegistry,io.apicurio.registry.operator.api.model.ApicurioRegistryList, registryOperation()io.fabric8.kubernetes.client.dsl.Resource<io.apicurio.registry.operator.api.model.ApicurioRegistry>>
-