Class KubernetesServiceCallServiceDiscoveryConfiguration

  • All Implemented Interfaces:
    org.apache.camel.cloud.ServiceDiscoveryFactory, org.apache.camel.cloud.ServiceFactory<org.apache.camel.cloud.ServiceDiscovery>

    @Metadata(label="routing,cloud,service-discovery")
    @Configurer(extended=true)
    @Deprecated
    public class KubernetesServiceCallServiceDiscoveryConfiguration
    extends ServiceCallServiceDiscoveryConfiguration
    Deprecated.
    • Constructor Detail

      • KubernetesServiceCallServiceDiscoveryConfiguration

        public KubernetesServiceCallServiceDiscoveryConfiguration()
        Deprecated.
      • KubernetesServiceCallServiceDiscoveryConfiguration

        public KubernetesServiceCallServiceDiscoveryConfiguration​(ServiceCallDefinition parent)
        Deprecated.
    • Method Detail

      • getMasterUrl

        public String getMasterUrl()
        Deprecated.
      • setMasterUrl

        public void setMasterUrl​(String masterUrl)
        Deprecated.
        Sets the URL to the master when using client lookup
      • getNamespace

        public String getNamespace()
        Deprecated.
      • setNamespace

        public void setNamespace​(String namespace)
        Deprecated.
        Sets the namespace to use. Will by default use namespace from the ENV variable KUBERNETES_MASTER.
      • getApiVersion

        public String getApiVersion()
        Deprecated.
      • setApiVersion

        public void setApiVersion​(String apiVersion)
        Deprecated.
        Sets the API version when using client lookup
      • getLookup

        public String getLookup()
        Deprecated.
      • setLookup

        public void setLookup​(String lookup)
        Deprecated.
        How to perform service lookup. Possible values: client, dns, environment.

        When using client, then the client queries the kubernetes master to obtain a list of active pods that provides the service, and then random (or round robin) select a pod.

        When using dns the service name is resolved as name.namespace.svc.dnsDomain.

        When using dnssrv the service name is resolved with SRV query for _._...svc...

        When using environment then environment variables are used to lookup the service.

        By default environment is used.

      • getDnsDomain

        public String getDnsDomain()
        Deprecated.
      • setDnsDomain

        public void setDnsDomain​(String dnsDomain)
        Deprecated.
        Sets the DNS domain to use for DNS lookup.
      • getPortName

        public String getPortName()
        Deprecated.
      • setPortName

        public void setPortName​(String portName)
        Deprecated.
        Sets the Port Name to use for DNS/DNSSRV lookup.
      • getPortProtocol

        public String getPortProtocol()
        Deprecated.
      • setPortProtocol

        public void setPortProtocol​(String portProtocol)
        Deprecated.
        Sets the Port Protocol to use for DNS/DNSSRV lookup.
      • getUsername

        public String getUsername()
        Deprecated.
      • setUsername

        public void setUsername​(String username)
        Deprecated.
        Sets the username for authentication when using client lookup
      • getPassword

        public String getPassword()
        Deprecated.
      • setPassword

        public void setPassword​(String password)
        Deprecated.
        Sets the password for authentication when using client lookup
      • getOauthToken

        public String getOauthToken()
        Deprecated.
      • setOauthToken

        public void setOauthToken​(String oauthToken)
        Deprecated.
        Sets the OAUTH token for authentication (instead of username/password) when using client lookup
      • getCaCertData

        public String getCaCertData()
        Deprecated.
      • setCaCertData

        public void setCaCertData​(String caCertData)
        Deprecated.
        Sets the Certificate Authority data when using client lookup
      • getCaCertFile

        public String getCaCertFile()
        Deprecated.
      • setCaCertFile

        public void setCaCertFile​(String caCertFile)
        Deprecated.
        Sets the Certificate Authority data that are loaded from the file when using client lookup
      • getClientCertData

        public String getClientCertData()
        Deprecated.
      • setClientCertData

        public void setClientCertData​(String clientCertData)
        Deprecated.
        Sets the Client Certificate data when using client lookup
      • getClientCertFile

        public String getClientCertFile()
        Deprecated.
      • setClientCertFile

        public void setClientCertFile​(String clientCertFile)
        Deprecated.
        Sets the Client Certificate data that are loaded from the file when using client lookup
      • getClientKeyAlgo

        public String getClientKeyAlgo()
        Deprecated.
      • setClientKeyAlgo

        public void setClientKeyAlgo​(String clientKeyAlgo)
        Deprecated.
        Sets the Client Keystore algorithm, such as RSA when using client lookup
      • getClientKeyData

        public String getClientKeyData()
        Deprecated.
      • setClientKeyData

        public void setClientKeyData​(String clientKeyData)
        Deprecated.
        Sets the Client Keystore data when using client lookup
      • getClientKeyFile

        public String getClientKeyFile()
        Deprecated.
      • setClientKeyFile

        public void setClientKeyFile​(String clientKeyFile)
        Deprecated.
        Sets the Client Keystore data that are loaded from the file when using client lookup
      • getClientKeyPassphrase

        public String getClientKeyPassphrase()
        Deprecated.
      • setClientKeyPassphrase

        public void setClientKeyPassphrase​(String clientKeyPassphrase)
        Deprecated.
        Sets the Client Keystore passphrase when using client lookup
      • getTrustCerts

        public String getTrustCerts()
        Deprecated.
      • setTrustCerts

        public void setTrustCerts​(String trustCerts)
        Deprecated.
        Sets whether to turn on trust certificate check when using client lookup