Class AbstractOcpApicurioDeployer<C extends RegistryController>
- java.lang.Object
-
- io.debezium.testing.system.tools.AbstractOcpDeployer<C>
-
- io.debezium.testing.system.tools.registry.AbstractOcpApicurioDeployer<C>
-
- All Implemented Interfaces:
Deployer<C>
- Direct Known Subclasses:
OcpApicurioV1Deployer,OcpApicurioV2Deployer
public abstract class AbstractOcpApicurioDeployer<C extends RegistryController> extends AbstractOcpDeployer<C>
Deployment management for Apicurio service registry OCP deployment- Author:
- Jakub Cechacek
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractOcpApicurioDeployer.RegistryBuilder<B extends AbstractOcpApicurioDeployer.RegistryBuilder<B,D>,D extends AbstractOcpApicurioDeployer<?>>-
Nested classes/interfaces inherited from interface io.debezium.testing.system.tools.Deployer
Deployer.Builder<B extends Deployer.Builder<B,D>,D extends Deployer<?>>
-
-
Constructor Summary
Constructors Constructor Description AbstractOcpApicurioDeployer(String project, String yamlPath, io.fabric8.openshift.client.OpenShiftClient ocp, okhttp3.OkHttpClient http)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Cdeploy()Deploys resourceprotected abstract CgetController(io.apicurio.registry.operator.api.model.ApicurioRegistry registry)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>>registryOperation()
-
-
-
Field Detail
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
yamlPath
protected final String yamlPath
-
registry
protected io.apicurio.registry.operator.api.model.ApicurioRegistry registry
-
-
Method Detail
-
deploy
public C deploy() throws InterruptedException
Description copied from interface:DeployerDeploys resource- Returns:
- Controller for deployed resource
- Throws:
InterruptedException
-
getController
protected abstract C getController(io.apicurio.registry.operator.api.model.ApicurioRegistry registry)
-
registryOperation
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>> registryOperation()
-
-