Class OcpApicurioV1Deployer
- java.lang.Object
-
- io.debezium.testing.system.tools.AbstractOcpDeployer<C>
-
- io.debezium.testing.system.tools.registry.AbstractOcpApicurioDeployer<OcpApicurioV1Controller>
-
- io.debezium.testing.system.tools.registry.OcpApicurioV1Deployer
-
- All Implemented Interfaces:
Deployer<OcpApicurioV1Controller>
public class OcpApicurioV1Deployer extends AbstractOcpApicurioDeployer<OcpApicurioV1Controller>
Deployment management for Apicurio service registry OCP deployment- Author:
- Jakub Cechacek
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOcpApicurioV1Deployer.Builder-
Nested classes/interfaces inherited from class io.debezium.testing.system.tools.registry.AbstractOcpApicurioDeployer
AbstractOcpApicurioDeployer.RegistryBuilder<B extends AbstractOcpApicurioDeployer.RegistryBuilder<B,D>,D extends AbstractOcpApicurioDeployer<?>>
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPICURIO_CRD_DESCRIPTORprivate StringidTopicYamlPathprivate KafkaControllerkafkaControllerprivate static org.slf4j.LoggerLOGGERprivate StringstorageTopicYamlPath-
Fields inherited from class io.debezium.testing.system.tools.registry.AbstractOcpApicurioDeployer
registry, yamlPath
-
Fields inherited from class io.debezium.testing.system.tools.AbstractOcpDeployer
http, ocp, project
-
-
Constructor Summary
Constructors Modifier Constructor Description privateOcpApicurioV1Deployer(String project, String yamlPath, String storageTopicYamlPath, String idTopicYamlPath, KafkaController kafkaController, io.fabric8.openshift.client.OpenShiftClient ocp, okhttp3.OkHttpClient http)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OcpApicurioV1Controllerdeploy()Deploys resourceprotected OcpApicurioV1ControllergetController(io.apicurio.registry.operator.api.model.ApicurioRegistry registry)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()
-
-
-
Field Detail
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
APICURIO_CRD_DESCRIPTOR
public static final String APICURIO_CRD_DESCRIPTOR
- See Also:
- Constant Field Values
-
kafkaController
private final KafkaController kafkaController
-
idTopicYamlPath
private final String idTopicYamlPath
-
storageTopicYamlPath
private final String storageTopicYamlPath
-
-
Constructor Detail
-
OcpApicurioV1Deployer
private OcpApicurioV1Deployer(String project, String yamlPath, String storageTopicYamlPath, String idTopicYamlPath, KafkaController kafkaController, io.fabric8.openshift.client.OpenShiftClient ocp, okhttp3.OkHttpClient http)
-
-
Method Detail
-
deploy
public OcpApicurioV1Controller deploy() throws InterruptedException
Description copied from interface:DeployerDeploys resource- Specified by:
deployin interfaceDeployer<OcpApicurioV1Controller>- Overrides:
deployin classAbstractOcpApicurioDeployer<OcpApicurioV1Controller>- Returns:
- Controller for deployed resource
- Throws:
InterruptedException
-
getController
protected OcpApicurioV1Controller getController(io.apicurio.registry.operator.api.model.ApicurioRegistry registry)
- Specified by:
getControllerin classAbstractOcpApicurioDeployer<OcpApicurioV1Controller>
-
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 classAbstractOcpApicurioDeployer<OcpApicurioV1Controller>
-
-