Class AbstractOcpApicurioController

java.lang.Object
io.debezium.testing.system.tools.registry.AbstractOcpApicurioController
All Implemented Interfaces:
RegistryController
Direct Known Subclasses:
OcpApicurioController

public abstract class AbstractOcpApicurioController extends Object implements RegistryController
  • Field Details

    • APICURIO_NAME_LBL

      public static final String APICURIO_NAME_LBL
      See Also:
    • ocp

      protected final io.fabric8.openshift.client.OpenShiftClient ocp
    • http

      protected final okhttp3.OkHttpClient http
    • project

      protected final String project
    • name

      protected final String name
    • ocpUtils

      protected final OpenShiftUtils 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

      protected String getRegistryAddress()
    • getPublicRegistryAddress

      protected String getPublicRegistryAddress()
    • getRoutes

      private List<io.fabric8.openshift.api.model.Route> getRoutes()
    • getRegistryService

      protected io.fabric8.kubernetes.api.model.Service getRegistryService()
    • undeploy

      public boolean undeploy()
      Description copied from interface: RegistryController
      Undeploy this registry by deleting related ApicurioRegistry CR
      Specified by:
      undeploy in interface RegistryController
      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,io.fabric8.kubernetes.client.dsl.Resource<io.apicurio.registry.operator.api.model.ApicurioRegistry>> registryOperation()