Class OcpApicurioV2Controller
- java.lang.Object
-
- io.debezium.testing.system.tools.registry.AbstractOcpApicurioController
-
- io.debezium.testing.system.tools.registry.OcpApicurioV2Controller
-
- All Implemented Interfaces:
RegistryController
public class OcpApicurioV2Controller extends AbstractOcpApicurioController implements RegistryController
This class provides control over Apicurio registry instance deployed in OpenShift- Author:
- Jakub Cechacek
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPICURIO_CRD_DESCRIPTORprivate static org.slf4j.LoggerLOGGER-
Fields inherited from class io.debezium.testing.system.tools.registry.AbstractOcpApicurioController
APICURIO_NAME_LBL, http, name, ocp, ocpUtils, project, registry
-
-
Constructor Summary
Constructors Constructor Description OcpApicurioV2Controller(io.apicurio.registry.operator.api.model.ApicurioRegistry registry, io.fabric8.openshift.client.OpenShiftClient ocp, okhttp3.OkHttpClient http)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPublicRegistryApiAddress()StringgetRegistryApiAddress()private 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>>registryOperation()voidwaitForRegistry()Waits for registry to be ready-
Methods inherited from class io.debezium.testing.system.tools.registry.AbstractOcpApicurioController
getPublicRegistryAddress, getRegistryAddress, getRegistryService, undeploy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.testing.system.tools.registry.RegistryController
undeploy
-
-
-
-
Field Detail
-
APICURIO_CRD_DESCRIPTOR
public static final String APICURIO_CRD_DESCRIPTOR
- See Also:
- Constant Field Values
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Method Detail
-
registryOperation
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>> registryOperation()
- Specified by:
registryOperationin classAbstractOcpApicurioController
-
getRegistryApiAddress
public String getRegistryApiAddress()
- Specified by:
getRegistryApiAddressin interfaceRegistryController- Returns:
- registry url
-
getPublicRegistryApiAddress
public String getPublicRegistryApiAddress()
- Specified by:
getPublicRegistryApiAddressin interfaceRegistryController- Returns:
- registry public url
-
waitForRegistry
public void waitForRegistry() throws InterruptedExceptionDescription copied from interface:RegistryControllerWaits for registry to be ready- Specified by:
waitForRegistryin interfaceRegistryController- Throws:
InterruptedException
-
-