Class OcpApicurioController
java.lang.Object
io.debezium.testing.system.tools.registry.AbstractOcpApicurioController
io.debezium.testing.system.tools.registry.OcpApicurioController
- All Implemented Interfaces:
RegistryController
public class OcpApicurioController
extends AbstractOcpApicurioController
implements RegistryController
This class provides control over Apicurio registry instance deployed in OpenShift
- Author:
- Jakub Cechacek
-
Field Summary
FieldsFields inherited from class io.debezium.testing.system.tools.registry.AbstractOcpApicurioController
APICURIO_NAME_LBL, http, name, ocp, ocpUtils, project, registry -
Constructor Summary
ConstructorsConstructorDescriptionOcpApicurioController(io.apicurio.registry.operator.api.model.ApicurioRegistry registry, io.fabric8.openshift.client.OpenShiftClient ocp, okhttp3.OkHttpClient http) -
Method Summary
Modifier and TypeMethodDescriptionprivate List<io.fabric8.kubernetes.api.model.apps.Deployment>getRegistryDeployments(String name) protected 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>> voidWaits for registry to be readyMethods inherited from class io.debezium.testing.system.tools.registry.AbstractOcpApicurioController
getPublicRegistryAddress, getRegistryAddress, getRegistryService, undeployMethods 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
undeploy
-
Field Details
-
APICURIO_CRD_DESCRIPTOR
- See Also:
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
OcpApicurioController
public OcpApicurioController(io.apicurio.registry.operator.api.model.ApicurioRegistry registry, io.fabric8.openshift.client.OpenShiftClient ocp, okhttp3.OkHttpClient http)
-
-
Method Details
-
registryOperation
protected 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>> - Specified by:
registryOperationin classAbstractOcpApicurioController
-
getRegistryApiAddress
- Specified by:
getRegistryApiAddressin interfaceRegistryController- Returns:
- registry url
-
getPublicRegistryApiAddress
- Specified by:
getPublicRegistryApiAddressin interfaceRegistryController- Returns:
- registry public url
-
waitForRegistry
Description copied from interface:RegistryControllerWaits for registry to be ready- Specified by:
waitForRegistryin interfaceRegistryController- Throws:
InterruptedException
-
getRegistryDeployments
-