Package org.apache.camel.model.cloud
Class KubernetesServiceCallServiceDiscoveryConfiguration
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.model.cloud.ServiceCallConfiguration
-
- org.apache.camel.model.cloud.ServiceCallServiceDiscoveryConfiguration
-
- org.apache.camel.model.cloud.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.
-
-
Field Summary
-
Fields inherited from class org.apache.camel.model.cloud.ServiceCallConfiguration
properties
-
-
Constructor Summary
Constructors Constructor Description KubernetesServiceCallServiceDiscoveryConfiguration()
Deprecated.KubernetesServiceCallServiceDiscoveryConfiguration(ServiceCallDefinition parent)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description KubernetesServiceCallServiceDiscoveryConfiguration
apiVersion(String apiVersion)
Deprecated.Sets the API version when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
caCertData(String caCertData)
Deprecated.Sets the Certificate Authority data when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
caCertFile(String caCertFile)
Deprecated.Sets the Certificate Authority data that are loaded from the file when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
clientCertData(String clientCertData)
Deprecated.Sets the Client Certificate data when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
clientCertFile(String clientCertFile)
Deprecated.Sets the Client Certificate data that are loaded from the file when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
clientKeyAlgo(String clientKeyAlgo)
Deprecated.Sets the Client Keystore algorithm, such as RSA when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
clientKeyData(String clientKeyData)
Deprecated.Sets the Client Keystore data when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
clientKeyFile(String clientKeyFile)
Deprecated.Sets the Client Keystore data that are loaded from the file when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
clientKeyPassphrase(String clientKeyPassphrase)
Deprecated.Sets the Client Keystore passphrase when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
dnsDomain(String dnsDomain)
Deprecated.Sets the DNS domain to use for DNS/SNDSRV lookup.String
getApiVersion()
Deprecated.String
getCaCertData()
Deprecated.String
getCaCertFile()
Deprecated.String
getClientCertData()
Deprecated.String
getClientCertFile()
Deprecated.String
getClientKeyAlgo()
Deprecated.String
getClientKeyData()
Deprecated.String
getClientKeyFile()
Deprecated.String
getClientKeyPassphrase()
Deprecated.String
getDnsDomain()
Deprecated.String
getLookup()
Deprecated.String
getMasterUrl()
Deprecated.String
getNamespace()
Deprecated.String
getOauthToken()
Deprecated.String
getPassword()
Deprecated.String
getPortName()
Deprecated.String
getPortProtocol()
Deprecated.String
getTrustCerts()
Deprecated.String
getUsername()
Deprecated.KubernetesServiceCallServiceDiscoveryConfiguration
lookup(String lookup)
Deprecated.How to perform service lookup, @seesetLookup(String)
.KubernetesServiceCallServiceDiscoveryConfiguration
masterUrl(String masterUrl)
Deprecated.Sets the URL to the master when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
namespace(String namespace)
Deprecated.Sets the namespace to use.KubernetesServiceCallServiceDiscoveryConfiguration
oauthToken(String oauthToken)
Deprecated.Sets the OAUTH token for authentication (instead of username/password) when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
password(String password)
Deprecated.Sets the password for authentication when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
portName(String portName)
Deprecated.Sets Port Name to use for DNS/SNDSRV lookup.KubernetesServiceCallServiceDiscoveryConfiguration
portProtocol(String portProtocol)
Deprecated.Sets Port Protocol to use for DNS/SNDSRV lookup.void
setApiVersion(String apiVersion)
Deprecated.Sets the API version when using client lookupvoid
setCaCertData(String caCertData)
Deprecated.Sets the Certificate Authority data when using client lookupvoid
setCaCertFile(String caCertFile)
Deprecated.Sets the Certificate Authority data that are loaded from the file when using client lookupvoid
setClientCertData(String clientCertData)
Deprecated.Sets the Client Certificate data when using client lookupvoid
setClientCertFile(String clientCertFile)
Deprecated.Sets the Client Certificate data that are loaded from the file when using client lookupvoid
setClientKeyAlgo(String clientKeyAlgo)
Deprecated.Sets the Client Keystore algorithm, such as RSA when using client lookupvoid
setClientKeyData(String clientKeyData)
Deprecated.Sets the Client Keystore data when using client lookupvoid
setClientKeyFile(String clientKeyFile)
Deprecated.Sets the Client Keystore data that are loaded from the file when using client lookupvoid
setClientKeyPassphrase(String clientKeyPassphrase)
Deprecated.Sets the Client Keystore passphrase when using client lookupvoid
setDnsDomain(String dnsDomain)
Deprecated.Sets the DNS domain to use for DNS lookup.void
setLookup(String lookup)
Deprecated.How to perform service lookup.void
setMasterUrl(String masterUrl)
Deprecated.Sets the URL to the master when using client lookupvoid
setNamespace(String namespace)
Deprecated.Sets the namespace to use.void
setOauthToken(String oauthToken)
Deprecated.Sets the OAUTH token for authentication (instead of username/password) when using client lookupvoid
setPassword(String password)
Deprecated.Sets the password for authentication when using client lookupvoid
setPortName(String portName)
Deprecated.Sets the Port Name to use for DNS/DNSSRV lookup.void
setPortProtocol(String portProtocol)
Deprecated.Sets the Port Protocol to use for DNS/DNSSRV lookup.void
setTrustCerts(String trustCerts)
Deprecated.Sets whether to turn on trust certificate check when using client lookupvoid
setUsername(String username)
Deprecated.Sets the username for authentication when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
trustCerts(boolean trustCerts)
Deprecated.Sets whether to turn on trust certificate check when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
trustCerts(String trustCerts)
Deprecated.Sets whether to turn on trust certificate check when using client lookupKubernetesServiceCallServiceDiscoveryConfiguration
username(String username)
Deprecated.Sets the username for authentication when using client lookup-
Methods inherited from class org.apache.camel.model.cloud.ServiceCallServiceDiscoveryConfiguration
end, endParent, newInstance, property
-
Methods inherited from class org.apache.camel.model.cloud.ServiceCallConfiguration
getConfiguredOptions, getProperties, getPropertiesAsMap, postProcessFactoryParameters, setProperties
-
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
-
-
-
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 _._ . When using environment then environment variables are used to lookup the service. By default environment is used.. . .svc. .
-
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
-
masterUrl
public KubernetesServiceCallServiceDiscoveryConfiguration masterUrl(String masterUrl)
Deprecated.Sets the URL to the master when using client lookup
-
namespace
public KubernetesServiceCallServiceDiscoveryConfiguration namespace(String namespace)
Deprecated.Sets the namespace to use. Will by default use namespace from the ENV variable KUBERNETES_MASTER.
-
apiVersion
public KubernetesServiceCallServiceDiscoveryConfiguration apiVersion(String apiVersion)
Deprecated.Sets the API version when using client lookup
-
lookup
public KubernetesServiceCallServiceDiscoveryConfiguration lookup(String lookup)
Deprecated.How to perform service lookup, @seesetLookup(String)
.
-
dnsDomain
public KubernetesServiceCallServiceDiscoveryConfiguration dnsDomain(String dnsDomain)
Deprecated.Sets the DNS domain to use for DNS/SNDSRV lookup.
-
portName
public KubernetesServiceCallServiceDiscoveryConfiguration portName(String portName)
Deprecated.Sets Port Name to use for DNS/SNDSRV lookup.
-
portProtocol
public KubernetesServiceCallServiceDiscoveryConfiguration portProtocol(String portProtocol)
Deprecated.Sets Port Protocol to use for DNS/SNDSRV lookup.
-
username
public KubernetesServiceCallServiceDiscoveryConfiguration username(String username)
Deprecated.Sets the username for authentication when using client lookup
-
password
public KubernetesServiceCallServiceDiscoveryConfiguration password(String password)
Deprecated.Sets the password for authentication when using client lookup
-
oauthToken
public KubernetesServiceCallServiceDiscoveryConfiguration oauthToken(String oauthToken)
Deprecated.Sets the OAUTH token for authentication (instead of username/password) when using client lookup
-
caCertData
public KubernetesServiceCallServiceDiscoveryConfiguration caCertData(String caCertData)
Deprecated.Sets the Certificate Authority data when using client lookup
-
caCertFile
public KubernetesServiceCallServiceDiscoveryConfiguration caCertFile(String caCertFile)
Deprecated.Sets the Certificate Authority data that are loaded from the file when using client lookup
-
clientCertData
public KubernetesServiceCallServiceDiscoveryConfiguration clientCertData(String clientCertData)
Deprecated.Sets the Client Certificate data when using client lookup
-
clientCertFile
public KubernetesServiceCallServiceDiscoveryConfiguration clientCertFile(String clientCertFile)
Deprecated.Sets the Client Certificate data that are loaded from the file when using client lookup
-
clientKeyAlgo
public KubernetesServiceCallServiceDiscoveryConfiguration clientKeyAlgo(String clientKeyAlgo)
Deprecated.Sets the Client Keystore algorithm, such as RSA when using client lookup
-
clientKeyData
public KubernetesServiceCallServiceDiscoveryConfiguration clientKeyData(String clientKeyData)
Deprecated.Sets the Client Keystore data when using client lookup
-
clientKeyFile
public KubernetesServiceCallServiceDiscoveryConfiguration clientKeyFile(String clientKeyFile)
Deprecated.Sets the Client Keystore data that are loaded from the file when using client lookup
-
clientKeyPassphrase
public KubernetesServiceCallServiceDiscoveryConfiguration clientKeyPassphrase(String clientKeyPassphrase)
Deprecated.Sets the Client Keystore passphrase when using client lookup
-
trustCerts
public KubernetesServiceCallServiceDiscoveryConfiguration trustCerts(boolean trustCerts)
Deprecated.Sets whether to turn on trust certificate check when using client lookup
-
trustCerts
public KubernetesServiceCallServiceDiscoveryConfiguration trustCerts(String trustCerts)
Deprecated.Sets whether to turn on trust certificate check when using client lookup
-
-