This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new c53a2cc39eb Regen for commit 5f0d9fdf7bf35dbf67305d4f75219a6548dbce17
c53a2cc39eb is described below
commit c53a2cc39ebd9e4fa3368ff03a5fe97e73086218
Author: davsclaus <[email protected]>
AuthorDate: Mon Apr 11 08:43:02 2022 +0000
Regen for commit 5f0d9fdf7bf35dbf67305d4f75219a6548dbce17
Signed-off-by: GitHub <[email protected]>
---
.../org/apache/camel/catalog/components/kafka.json | 20 +--
.../endpoint/dsl/KafkaEndpointBuilderFactory.java | 155 +++++++++++++++++++++
2 files changed, 165 insertions(+), 10 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json
index 8a84084b575..190096241df 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json
@@ -117,15 +117,15 @@
"sslEnabledProtocols": { "kind": "property", "displayName": "Ssl Enabled
Protocols", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The list of protocols enabled for SSL
connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by de [...]
"sslEndpointAlgorithm": { "kind": "property", "displayName": "Ssl Endpoint
Algorithm", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "https",
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration",
"configurationField": "configuration", "description": "The endpoint
identification algorithm to validate server hostname us [...]
"sslKeymanagerAlgorithm": { "kind": "property", "displayName": "Ssl
Keymanager Algorithm", "group": "security", "label": "common,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"SunX509", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The algorithm used by key manager factory for
SSL connections. [...]
- "sslKeyPassword": { "kind": "property", "displayName": "Ssl Key Password",
"group": "security", "label": "producer,security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The password of the private key in the key
store file. This is optional for client." },
- "sslKeystoreLocation": { "kind": "property", "displayName": "Ssl Keystore
Location", "group": "security", "label": "producer,security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The location of the key store file. This is
optional for client and can be used for two-way a [...]
- "sslKeystorePassword": { "kind": "property", "displayName": "Ssl Keystore
Password", "group": "security", "label": "producer,security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The store password for the key store file.This
is optional for client and only needed if ssl.k [...]
+ "sslKeyPassword": { "kind": "property", "displayName": "Ssl Key Password",
"group": "security", "label": "common,security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The password of the private key in the key
store file. This is optional for client." },
+ "sslKeystoreLocation": { "kind": "property", "displayName": "Ssl Keystore
Location", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The location of the key store file. This is
optional for client and can be used for two-way aut [...]
+ "sslKeystorePassword": { "kind": "property", "displayName": "Ssl Keystore
Password", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The store password for the key store file.This
is optional for client and only needed if ssl.key [...]
"sslKeystoreType": { "kind": "property", "displayName": "Ssl Keystore
Type", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "JKS",
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration",
"configurationField": "configuration", "description": "The file format of the
key store file. This is optional for client. Default valu [...]
"sslProtocol": { "kind": "property", "displayName": "Ssl Protocol",
"group": "security", "label": "common,security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The SSL protocol used to generate the
SSLContext. Default setting is TLS, which is fine for most cases. Allowed [...]
"sslProvider": { "kind": "property", "displayName": "Ssl Provider",
"group": "security", "label": "common,security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The name of the security provider used for SSL
connections. Default value is the default security provider of th [...]
"sslTrustmanagerAlgorithm": { "kind": "property", "displayName": "Ssl
Trustmanager Algorithm", "group": "security", "label": "common,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"PKIX", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The algorithm used by trust manager factory
for SSL connectio [...]
- "sslTruststoreLocation": { "kind": "property", "displayName": "Ssl
Truststore Location", "group": "security", "label": "producer,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The location of the trust store file." },
- "sslTruststorePassword": { "kind": "property", "displayName": "Ssl
Truststore Password", "group": "security", "label": "producer,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The password for the trust store file." },
+ "sslTruststoreLocation": { "kind": "property", "displayName": "Ssl
Truststore Location", "group": "security", "label": "common,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The location of the trust store file." },
+ "sslTruststorePassword": { "kind": "property", "displayName": "Ssl
Truststore Password", "group": "security", "label": "common,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The password for the trust store file." },
"sslTruststoreType": { "kind": "property", "displayName": "Ssl Truststore
Type", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "JKS",
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration",
"configurationField": "configuration", "description": "The file format of the
trust store file. Default value is JKS." },
"useGlobalSslContextParameters": { "kind": "property", "displayName": "Use
Global Ssl Context Parameters", "group": "security", "label": "security",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Enable usage of global SSL context parameters." }
},
@@ -236,15 +236,15 @@
"sslEnabledProtocols": { "kind": "parameter", "displayName": "Ssl Enabled
Protocols", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The list of protocols enabled for SSL
connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by d [...]
"sslEndpointAlgorithm": { "kind": "parameter", "displayName": "Ssl
Endpoint Algorithm", "group": "security", "label": "common,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"https", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The endpoint identification algorithm to
validate server hostname u [...]
"sslKeymanagerAlgorithm": { "kind": "parameter", "displayName": "Ssl
Keymanager Algorithm", "group": "security", "label": "common,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"SunX509", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The algorithm used by key manager factory for
SSL connections [...]
- "sslKeyPassword": { "kind": "parameter", "displayName": "Ssl Key
Password", "group": "security", "label": "producer,security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The password of the private key in the key
store file. This is optional for client." },
- "sslKeystoreLocation": { "kind": "parameter", "displayName": "Ssl Keystore
Location", "group": "security", "label": "producer,security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The location of the key store file. This is
optional for client and can be used for two-way [...]
- "sslKeystorePassword": { "kind": "parameter", "displayName": "Ssl Keystore
Password", "group": "security", "label": "producer,security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The store password for the key store file.This
is optional for client and only needed if ssl. [...]
+ "sslKeyPassword": { "kind": "parameter", "displayName": "Ssl Key
Password", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The password of the private key in the key
store file. This is optional for client." },
+ "sslKeystoreLocation": { "kind": "parameter", "displayName": "Ssl Keystore
Location", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The location of the key store file. This is
optional for client and can be used for two-way au [...]
+ "sslKeystorePassword": { "kind": "parameter", "displayName": "Ssl Keystore
Password", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The store password for the key store file.This
is optional for client and only needed if ssl.ke [...]
"sslKeystoreType": { "kind": "parameter", "displayName": "Ssl Keystore
Type", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "JKS",
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration",
"configurationField": "configuration", "description": "The file format of the
key store file. This is optional for client. Default val [...]
"sslProtocol": { "kind": "parameter", "displayName": "Ssl Protocol",
"group": "security", "label": "common,security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The SSL protocol used to generate the
SSLContext. Default setting is TLS, which is fine for most cases. Allowed [...]
"sslProvider": { "kind": "parameter", "displayName": "Ssl Provider",
"group": "security", "label": "common,security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The name of the security provider used for SSL
connections. Default value is the default security provider of t [...]
"sslTrustmanagerAlgorithm": { "kind": "parameter", "displayName": "Ssl
Trustmanager Algorithm", "group": "security", "label": "common,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"PKIX", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The algorithm used by trust manager factory
for SSL connecti [...]
- "sslTruststoreLocation": { "kind": "parameter", "displayName": "Ssl
Truststore Location", "group": "security", "label": "producer,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The location of the trust store file." },
- "sslTruststorePassword": { "kind": "parameter", "displayName": "Ssl
Truststore Password", "group": "security", "label": "producer,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The password for the trust store file." },
+ "sslTruststoreLocation": { "kind": "parameter", "displayName": "Ssl
Truststore Location", "group": "security", "label": "common,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The location of the trust store file." },
+ "sslTruststorePassword": { "kind": "parameter", "displayName": "Ssl
Truststore Password", "group": "security", "label": "common,security",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The password for the trust store file." },
"sslTruststoreType": { "kind": "parameter", "displayName": "Ssl Truststore
Type", "group": "security", "label": "common,security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "JKS",
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration",
"configurationField": "configuration", "description": "The file format of the
trust store file. Default value is JKS." }
}
}
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
index 4a4b9b6c775..647d8f04d81 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
@@ -1618,6 +1618,54 @@ public interface KafkaEndpointBuilderFactory {
doSetProperty("sslKeymanagerAlgorithm", sslKeymanagerAlgorithm);
return this;
}
+ /**
+ * The password of the private key in the key store file. This is
+ * optional for client.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sslKeyPassword the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointConsumerBuilder sslKeyPassword(
+ String sslKeyPassword) {
+ doSetProperty("sslKeyPassword", sslKeyPassword);
+ return this;
+ }
+ /**
+ * The location of the key store file. This is optional for client and
+ * can be used for two-way authentication for client.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sslKeystoreLocation the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointConsumerBuilder sslKeystoreLocation(
+ String sslKeystoreLocation) {
+ doSetProperty("sslKeystoreLocation", sslKeystoreLocation);
+ return this;
+ }
+ /**
+ * The store password for the key store file.This is optional for
client
+ * and only needed if ssl.keystore.location is configured.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sslKeystorePassword the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointConsumerBuilder sslKeystorePassword(
+ String sslKeystorePassword) {
+ doSetProperty("sslKeystorePassword", sslKeystorePassword);
+ return this;
+ }
/**
* The file format of the key store file. This is optional for client.
* Default value is JKS.
@@ -1686,6 +1734,36 @@ public interface KafkaEndpointBuilderFactory {
doSetProperty("sslTrustmanagerAlgorithm",
sslTrustmanagerAlgorithm);
return this;
}
+ /**
+ * The location of the trust store file.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sslTruststoreLocation the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointConsumerBuilder sslTruststoreLocation(
+ String sslTruststoreLocation) {
+ doSetProperty("sslTruststoreLocation", sslTruststoreLocation);
+ return this;
+ }
+ /**
+ * The password for the trust store file.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sslTruststorePassword the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointConsumerBuilder sslTruststorePassword(
+ String sslTruststorePassword) {
+ doSetProperty("sslTruststorePassword", sslTruststorePassword);
+ return this;
+ }
/**
* The file format of the trust store file. Default value is JKS.
*
@@ -4438,6 +4516,53 @@ public interface KafkaEndpointBuilderFactory {
doSetProperty("sslKeymanagerAlgorithm", sslKeymanagerAlgorithm);
return this;
}
+ /**
+ * The password of the private key in the key store file. This is
+ * optional for client.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sslKeyPassword the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointBuilder sslKeyPassword(String sslKeyPassword) {
+ doSetProperty("sslKeyPassword", sslKeyPassword);
+ return this;
+ }
+ /**
+ * The location of the key store file. This is optional for client and
+ * can be used for two-way authentication for client.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sslKeystoreLocation the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointBuilder sslKeystoreLocation(
+ String sslKeystoreLocation) {
+ doSetProperty("sslKeystoreLocation", sslKeystoreLocation);
+ return this;
+ }
+ /**
+ * The store password for the key store file.This is optional for
client
+ * and only needed if ssl.keystore.location is configured.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sslKeystorePassword the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointBuilder sslKeystorePassword(
+ String sslKeystorePassword) {
+ doSetProperty("sslKeystorePassword", sslKeystorePassword);
+ return this;
+ }
/**
* The file format of the key store file. This is optional for client.
* Default value is JKS.
@@ -4505,6 +4630,36 @@ public interface KafkaEndpointBuilderFactory {
doSetProperty("sslTrustmanagerAlgorithm",
sslTrustmanagerAlgorithm);
return this;
}
+ /**
+ * The location of the trust store file.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sslTruststoreLocation the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointBuilder sslTruststoreLocation(
+ String sslTruststoreLocation) {
+ doSetProperty("sslTruststoreLocation", sslTruststoreLocation);
+ return this;
+ }
+ /**
+ * The password for the trust store file.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sslTruststorePassword the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointBuilder sslTruststorePassword(
+ String sslTruststorePassword) {
+ doSetProperty("sslTruststorePassword", sslTruststorePassword);
+ return this;
+ }
/**
* The file format of the trust store file. Default value is JKS.
*