Class AbstractOcpApicurioController

    • Field Detail

      • 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
      • registry

        protected io.apicurio.registry.operator.api.model.ApicurioRegistry registry
    • Constructor Detail

      • AbstractOcpApicurioController

        public AbstractOcpApicurioController​(io.apicurio.registry.operator.api.model.ApicurioRegistry registry,
                                             io.fabric8.openshift.client.OpenShiftClient ocp,
                                             okhttp3.OkHttpClient http)
    • Method Detail

      • 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()