You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/03/20 09:20:25 UTC
[camel] branch camel-3.x updated: Regen for commit a82ea4ac5a7ab3ed12099c357648b89ea09abcf4
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.x by this push:
new a629026ea0a Regen for commit a82ea4ac5a7ab3ed12099c357648b89ea09abcf4
a629026ea0a is described below
commit a629026ea0aaf91bc2062ceee711fdc5acd2d372
Author: oscerd <os...@users.noreply.github.com>
AuthorDate: Mon Mar 20 09:13:49 2023 +0000
Regen for commit a82ea4ac5a7ab3ed12099c357648b89ea09abcf4
Signed-off-by: GitHub <no...@github.com>
---
.../java/org/apache/camel/util/SensitiveUtils.java | 2 +-
.../dsl/DataLakeEndpointBuilderFactory.java | 683 ++++++++++++++-------
2 files changed, 474 insertions(+), 211 deletions(-)
diff --git a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
index 59238841308..b6806bf3ca0 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
@@ -186,7 +186,7 @@ public final class SensitiveUtils {
+ "|\\Qverificationcode\\E"
+ "|\\Qwebhookverifytoken\\E"
+ "|\\Qzookeeperpassword\\E"
- // SENSITIVE-PATTERN: END
+ // SENSITIVE-PATTERN: END
;
private SensitiveUtils() {
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/DataLakeEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/DataLakeEndpointBuilderFactory.java
index f2cc8d35aa8..b737a149db6 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/DataLakeEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/DataLakeEndpointBuilderFactory.java
@@ -45,20 +45,6 @@ public interface DataLakeEndpointBuilderFactory {
default AdvancedDataLakeEndpointConsumerBuilder advanced() {
return (AdvancedDataLakeEndpointConsumerBuilder) this;
}
- /**
- * account key for authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param accountKey the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointConsumerBuilder accountKey(String accountKey) {
- doSetProperty("accountKey", accountKey);
- return this;
- }
/**
* client id for azure account.
*
@@ -73,54 +59,6 @@ public interface DataLakeEndpointBuilderFactory {
doSetProperty("clientId", clientId);
return this;
}
- /**
- * client secret for azure account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param clientSecret the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointConsumerBuilder clientSecret(String clientSecret) {
- doSetProperty("clientSecret", clientSecret);
- return this;
- }
- /**
- * client secret credential for authentication.
- *
- * The option is a:
- * <code>com.azure.identity.ClientSecretCredential</code>
- * type.
- *
- * Group: common
- *
- * @param clientSecretCredential the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointConsumerBuilder clientSecretCredential(
- com.azure.identity.ClientSecretCredential clientSecretCredential) {
- doSetProperty("clientSecretCredential", clientSecretCredential);
- return this;
- }
- /**
- * client secret credential for authentication.
- *
- * The option will be converted to a
- * <code>com.azure.identity.ClientSecretCredential</code>
- * type.
- *
- * Group: common
- *
- * @param clientSecretCredential the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointConsumerBuilder clientSecretCredential(
- String clientSecretCredential) {
- doSetProperty("clientSecretCredential", clientSecretCredential);
- return this;
- }
/**
* Whether or not a file changed event raised indicates completion
* (true) or modification (false).
@@ -1251,6 +1189,147 @@ public interface DataLakeEndpointBuilderFactory {
doSetProperty("useFixedDelay", useFixedDelay);
return this;
}
+ /**
+ * account key for authentication.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param accountKey the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointConsumerBuilder accountKey(String accountKey) {
+ doSetProperty("accountKey", accountKey);
+ return this;
+ }
+ /**
+ * client secret for azure account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param clientSecret the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointConsumerBuilder clientSecret(String clientSecret) {
+ doSetProperty("clientSecret", clientSecret);
+ return this;
+ }
+ /**
+ * client secret credential for authentication.
+ *
+ * The option is a:
+ * <code>com.azure.identity.ClientSecretCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param clientSecretCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointConsumerBuilder clientSecretCredential(
+ com.azure.identity.ClientSecretCredential clientSecretCredential) {
+ doSetProperty("clientSecretCredential", clientSecretCredential);
+ return this;
+ }
+ /**
+ * client secret credential for authentication.
+ *
+ * The option will be converted to a
+ * <code>com.azure.identity.ClientSecretCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param clientSecretCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointConsumerBuilder clientSecretCredential(
+ String clientSecretCredential) {
+ doSetProperty("clientSecretCredential", clientSecretCredential);
+ return this;
+ }
+ /**
+ * SAS token credential.
+ *
+ * The option is a:
+ * <code>com.azure.core.credential.AzureSasCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param sasCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointConsumerBuilder sasCredential(
+ com.azure.core.credential.AzureSasCredential sasCredential) {
+ doSetProperty("sasCredential", sasCredential);
+ return this;
+ }
+ /**
+ * SAS token credential.
+ *
+ * The option will be converted to a
+ * <code>com.azure.core.credential.AzureSasCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param sasCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointConsumerBuilder sasCredential(
+ String sasCredential) {
+ doSetProperty("sasCredential", sasCredential);
+ return this;
+ }
+ /**
+ * SAS token signature.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sasSignature the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointConsumerBuilder sasSignature(String sasSignature) {
+ doSetProperty("sasSignature", sasSignature);
+ return this;
+ }
+ /**
+ * Use default identity.
+ *
+ * The option is a: <code>java.lang.Boolean</code> type.
+ *
+ * Group: security
+ *
+ * @param useDefaultIdentity the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointConsumerBuilder useDefaultIdentity(
+ Boolean useDefaultIdentity) {
+ doSetProperty("useDefaultIdentity", useDefaultIdentity);
+ return this;
+ }
+ /**
+ * Use default identity.
+ *
+ * The option will be converted to a
+ * <code>java.lang.Boolean</code> type.
+ *
+ * Group: security
+ *
+ * @param useDefaultIdentity the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointConsumerBuilder useDefaultIdentity(
+ String useDefaultIdentity) {
+ doSetProperty("useDefaultIdentity", useDefaultIdentity);
+ return this;
+ }
}
/**
@@ -1428,20 +1507,6 @@ public interface DataLakeEndpointBuilderFactory {
default AdvancedDataLakeEndpointProducerBuilder advanced() {
return (AdvancedDataLakeEndpointProducerBuilder) this;
}
- /**
- * account key for authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param accountKey the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointProducerBuilder accountKey(String accountKey) {
- doSetProperty("accountKey", accountKey);
- return this;
- }
/**
* client id for azure account.
*
@@ -1456,54 +1521,6 @@ public interface DataLakeEndpointBuilderFactory {
doSetProperty("clientId", clientId);
return this;
}
- /**
- * client secret for azure account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param clientSecret the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointProducerBuilder clientSecret(String clientSecret) {
- doSetProperty("clientSecret", clientSecret);
- return this;
- }
- /**
- * client secret credential for authentication.
- *
- * The option is a:
- * <code>com.azure.identity.ClientSecretCredential</code>
- * type.
- *
- * Group: common
- *
- * @param clientSecretCredential the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointProducerBuilder clientSecretCredential(
- com.azure.identity.ClientSecretCredential clientSecretCredential) {
- doSetProperty("clientSecretCredential", clientSecretCredential);
- return this;
- }
- /**
- * client secret credential for authentication.
- *
- * The option will be converted to a
- * <code>com.azure.identity.ClientSecretCredential</code>
- * type.
- *
- * Group: common
- *
- * @param clientSecretCredential the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointProducerBuilder clientSecretCredential(
- String clientSecretCredential) {
- doSetProperty("clientSecretCredential", clientSecretCredential);
- return this;
- }
/**
* Whether or not a file changed event raised indicates completion
* (true) or modification (false).
@@ -2155,33 +2172,174 @@ public interface DataLakeEndpointBuilderFactory {
doSetProperty("operation", operation);
return this;
}
- }
-
- /**
- * Advanced builder for endpoint producers for the Azure Storage Datalake
- * Service component.
- */
- public interface AdvancedDataLakeEndpointProducerBuilder
- extends
- EndpointProducerBuilder {
- default DataLakeEndpointProducerBuilder basic() {
- return (DataLakeEndpointProducerBuilder) this;
- }
/**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing time
- * of the processing.
+ * account key for authentication.
*
- * The option is a: <code>boolean</code> type.
+ * The option is a: <code>java.lang.String</code> type.
*
- * Default: false
- * Group: producer (advanced)
+ * Group: security
+ *
+ * @param accountKey the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointProducerBuilder accountKey(String accountKey) {
+ doSetProperty("accountKey", accountKey);
+ return this;
+ }
+ /**
+ * client secret for azure account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param clientSecret the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointProducerBuilder clientSecret(String clientSecret) {
+ doSetProperty("clientSecret", clientSecret);
+ return this;
+ }
+ /**
+ * client secret credential for authentication.
+ *
+ * The option is a:
+ * <code>com.azure.identity.ClientSecretCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param clientSecretCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointProducerBuilder clientSecretCredential(
+ com.azure.identity.ClientSecretCredential clientSecretCredential) {
+ doSetProperty("clientSecretCredential", clientSecretCredential);
+ return this;
+ }
+ /**
+ * client secret credential for authentication.
+ *
+ * The option will be converted to a
+ * <code>com.azure.identity.ClientSecretCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param clientSecretCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointProducerBuilder clientSecretCredential(
+ String clientSecretCredential) {
+ doSetProperty("clientSecretCredential", clientSecretCredential);
+ return this;
+ }
+ /**
+ * SAS token credential.
+ *
+ * The option is a:
+ * <code>com.azure.core.credential.AzureSasCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param sasCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointProducerBuilder sasCredential(
+ com.azure.core.credential.AzureSasCredential sasCredential) {
+ doSetProperty("sasCredential", sasCredential);
+ return this;
+ }
+ /**
+ * SAS token credential.
+ *
+ * The option will be converted to a
+ * <code>com.azure.core.credential.AzureSasCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param sasCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointProducerBuilder sasCredential(
+ String sasCredential) {
+ doSetProperty("sasCredential", sasCredential);
+ return this;
+ }
+ /**
+ * SAS token signature.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sasSignature the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointProducerBuilder sasSignature(String sasSignature) {
+ doSetProperty("sasSignature", sasSignature);
+ return this;
+ }
+ /**
+ * Use default identity.
+ *
+ * The option is a: <code>java.lang.Boolean</code> type.
+ *
+ * Group: security
+ *
+ * @param useDefaultIdentity the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointProducerBuilder useDefaultIdentity(
+ Boolean useDefaultIdentity) {
+ doSetProperty("useDefaultIdentity", useDefaultIdentity);
+ return this;
+ }
+ /**
+ * Use default identity.
+ *
+ * The option will be converted to a
+ * <code>java.lang.Boolean</code> type.
+ *
+ * Group: security
+ *
+ * @param useDefaultIdentity the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointProducerBuilder useDefaultIdentity(
+ String useDefaultIdentity) {
+ doSetProperty("useDefaultIdentity", useDefaultIdentity);
+ return this;
+ }
+ }
+
+ /**
+ * Advanced builder for endpoint producers for the Azure Storage Datalake
+ * Service component.
+ */
+ public interface AdvancedDataLakeEndpointProducerBuilder
+ extends
+ EndpointProducerBuilder {
+ default DataLakeEndpointProducerBuilder basic() {
+ return (DataLakeEndpointProducerBuilder) this;
+ }
+ /**
+ * Whether the producer should be started lazy (on the first message).
+ * By starting lazy you can use this to allow CamelContext and routes to
+ * startup in situations where a producer may otherwise fail during
+ * starting and cause the route to fail being started. By deferring this
+ * startup to be lazy then the startup failure can be handled during
+ * routing messages via Camel's routing error handlers. Beware that when
+ * the first message is processed then creating and starting the
+ * producer may take a little time and prolong the total processing time
+ * of the processing.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: producer (advanced)
*
* @param lazyStartProducer the value to set
* @return the dsl builder
@@ -2228,20 +2386,6 @@ public interface DataLakeEndpointBuilderFactory {
default AdvancedDataLakeEndpointBuilder advanced() {
return (AdvancedDataLakeEndpointBuilder) this;
}
- /**
- * account key for authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param accountKey the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointBuilder accountKey(String accountKey) {
- doSetProperty("accountKey", accountKey);
- return this;
- }
/**
* client id for azure account.
*
@@ -2256,54 +2400,6 @@ public interface DataLakeEndpointBuilderFactory {
doSetProperty("clientId", clientId);
return this;
}
- /**
- * client secret for azure account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param clientSecret the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointBuilder clientSecret(String clientSecret) {
- doSetProperty("clientSecret", clientSecret);
- return this;
- }
- /**
- * client secret credential for authentication.
- *
- * The option is a:
- * <code>com.azure.identity.ClientSecretCredential</code>
- * type.
- *
- * Group: common
- *
- * @param clientSecretCredential the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointBuilder clientSecretCredential(
- com.azure.identity.ClientSecretCredential clientSecretCredential) {
- doSetProperty("clientSecretCredential", clientSecretCredential);
- return this;
- }
- /**
- * client secret credential for authentication.
- *
- * The option will be converted to a
- * <code>com.azure.identity.ClientSecretCredential</code>
- * type.
- *
- * Group: common
- *
- * @param clientSecretCredential the value to set
- * @return the dsl builder
- */
- default DataLakeEndpointBuilder clientSecretCredential(
- String clientSecretCredential) {
- doSetProperty("clientSecretCredential", clientSecretCredential);
- return this;
- }
/**
* Whether or not a file changed event raised indicates completion
* (true) or modification (false).
@@ -2917,6 +3013,146 @@ public interface DataLakeEndpointBuilderFactory {
doSetProperty("userPrincipalNameReturned", userPrincipalNameReturned);
return this;
}
+ /**
+ * account key for authentication.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param accountKey the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointBuilder accountKey(String accountKey) {
+ doSetProperty("accountKey", accountKey);
+ return this;
+ }
+ /**
+ * client secret for azure account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param clientSecret the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointBuilder clientSecret(String clientSecret) {
+ doSetProperty("clientSecret", clientSecret);
+ return this;
+ }
+ /**
+ * client secret credential for authentication.
+ *
+ * The option is a:
+ * <code>com.azure.identity.ClientSecretCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param clientSecretCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointBuilder clientSecretCredential(
+ com.azure.identity.ClientSecretCredential clientSecretCredential) {
+ doSetProperty("clientSecretCredential", clientSecretCredential);
+ return this;
+ }
+ /**
+ * client secret credential for authentication.
+ *
+ * The option will be converted to a
+ * <code>com.azure.identity.ClientSecretCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param clientSecretCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointBuilder clientSecretCredential(
+ String clientSecretCredential) {
+ doSetProperty("clientSecretCredential", clientSecretCredential);
+ return this;
+ }
+ /**
+ * SAS token credential.
+ *
+ * The option is a:
+ * <code>com.azure.core.credential.AzureSasCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param sasCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointBuilder sasCredential(
+ com.azure.core.credential.AzureSasCredential sasCredential) {
+ doSetProperty("sasCredential", sasCredential);
+ return this;
+ }
+ /**
+ * SAS token credential.
+ *
+ * The option will be converted to a
+ * <code>com.azure.core.credential.AzureSasCredential</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param sasCredential the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointBuilder sasCredential(String sasCredential) {
+ doSetProperty("sasCredential", sasCredential);
+ return this;
+ }
+ /**
+ * SAS token signature.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param sasSignature the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointBuilder sasSignature(String sasSignature) {
+ doSetProperty("sasSignature", sasSignature);
+ return this;
+ }
+ /**
+ * Use default identity.
+ *
+ * The option is a: <code>java.lang.Boolean</code> type.
+ *
+ * Group: security
+ *
+ * @param useDefaultIdentity the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointBuilder useDefaultIdentity(
+ Boolean useDefaultIdentity) {
+ doSetProperty("useDefaultIdentity", useDefaultIdentity);
+ return this;
+ }
+ /**
+ * Use default identity.
+ *
+ * The option will be converted to a
+ * <code>java.lang.Boolean</code> type.
+ *
+ * Group: security
+ *
+ * @param useDefaultIdentity the value to set
+ * @return the dsl builder
+ */
+ default DataLakeEndpointBuilder useDefaultIdentity(
+ String useDefaultIdentity) {
+ doSetProperty("useDefaultIdentity", useDefaultIdentity);
+ return this;
+ }
}
/**
@@ -3879,6 +4115,33 @@ public interface DataLakeEndpointBuilderFactory {
public String azureStorageDataLakeUmask() {
return "AzureStorageDataLakeUmask";
}
+
+ /**
+ * Sets the file client to use.
+ *
+ * The option is a: {@code DataLakeFileClient} type.
+ *
+ * Group: from user
+ *
+ * @return the name of the header {@code
+ * AzureStorageDataLakeFileClient}.
+ */
+ public String azureStorageDataLakeFileClient() {
+ return "AzureStorageDataLakeFileClient";
+ }
+
+ /**
+ * Sets whether to flush on append.
+ *
+ * The option is a: {@code Boolean} type.
+ *
+ * Group: from user
+ *
+ * @return the name of the header {@code AzureStorageDataLakeFlush}.
+ */
+ public String azureStorageDataLakeFlush() {
+ return "AzureStorageDataLakeFlush";
+ }
}
static DataLakeEndpointBuilder endpointBuilder(
String componentName,