This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 945923fd798 Regen for commit b40a1ad5022c71e238123bedd937d70c7292c76e
(#10004)
945923fd798 is described below
commit 945923fd798ea51f29b7303fb71c7375f3e52c81
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat May 6 12:16:22 2023 +0200
Regen for commit b40a1ad5022c71e238123bedd937d70c7292c76e (#10004)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: davsclaus <[email protected]>
---
.../org/apache/camel/catalog/components/as2.json | 2 +-
.../camel/catalog/components/azure-cosmosdb.json | 6 ++++--
.../resources/org/apache/camel/component/as2/as2.json | 2 +-
.../azure/cosmosdb/CosmosDbComponentConfigurer.java | 6 ++++++
.../azure/cosmosdb/CosmosDbEndpointConfigurer.java | 6 ++++++
.../azure/cosmosdb/CosmosDbEndpointUriFactory.java | 3 ++-
.../camel/component/azure/cosmosdb/azure-cosmosdb.json | 6 ++++--
.../dsl/AzureCosmosdbComponentBuilderFactory.java | 18 ++++++++++++++++++
8 files changed, 42 insertions(+), 7 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/as2.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/as2.json
index c5d81cdf3ab..ff3dff70034 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/as2.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/as2.json
@@ -41,7 +41,7 @@
"compressionAlgorithm": { "kind": "parameter", "displayName": "Compression
Algorithm", "group": "common", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.as2.api.AS2CompressionAlgorithm", "enum": [ "ZLIB"
], "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.as2.AS2Configuration",
"configurationField": "configuration", "description": "The algorithm used to
compress EDI message." },
"dispositionNotificationTo": { "kind": "parameter", "displayName":
"Disposition Notification To", "group": "common", "label": "", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "The value of the Disposition-Notification-To
header. Assigning a value to this parameter requests a mes [...]
"ediMessageTransferEncoding": { "kind": "parameter", "displayName": "Edi
Message Transfer Encoding", "group": "common", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "The transfer encoding of EDI message." },
- "ediMessageType": { "kind": "parameter", "displayName": "Edi Message
Type", "group": "common", "label": "", "required": false, "type": "object",
"javaType": "org.apache.http.entity.ContentType", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "The content type of EDI message. One of
application\/edifact, application\/edi-x12, application\/edi-consent" },
+ "ediMessageType": { "kind": "parameter", "displayName": "Edi Message
Type", "group": "common", "label": "", "required": false, "type": "object",
"javaType": "org.apache.http.entity.ContentType", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "The content type of EDI message. One of
application\/edifact, application\/edi-x12, application\/edi-consen [...]
"from": { "kind": "parameter", "displayName": "From", "group": "common",
"label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.as2.AS2Configuration",
"configurationField": "configuration", "description": "The value of the From
header of AS2 message." },
"hostnameVerifier": { "kind": "parameter", "displayName": "Hostname
Verifier", "group": "common", "label": "", "required": false, "type": "object",
"javaType": "javax.net.ssl.HostnameVerifier", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "Set hostname verifier for SSL session." },
"httpConnectionPoolSize": { "kind": "parameter", "displayName": "Http
Connection Pool Size", "group": "common", "label": "", "required": false,
"type": "integer", "javaType": "java.lang.Integer", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "5", "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "The maximum size of the connection pool for
http connections (client only)" },
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-cosmosdb.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-cosmosdb.json
index b74358b0755..606a0ed296e 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-cosmosdb.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-cosmosdb.json
@@ -50,7 +50,8 @@
"query": { "kind": "property", "displayName": "Query", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "An SQL query to execute
on a given resources. To learn more about Cosmos SQL API, check this link {link
https:\/\/docs.m [...]
"queryRequestOptions": { "kind": "property", "displayName": "Query Request
Options", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType": "com.azure.cosmos.models.CosmosQueryRequestOptions",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Set additional
QueryRequestOptions that can be used with [...]
"autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which t [...]
- "accountKey": { "kind": "property", "displayName": "Account Key", "group":
"security", "label": "security", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Sets either a master or
readonly key used to perform authentication for accessing resource." }
+ "accountKey": { "kind": "property", "displayName": "Account Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Sets either a master or
readonly key used to perform authentication for accessing resou [...]
+ "useDefaultIdentity": { "kind": "property", "displayName": "Use Default
Identity", "group": "security", "label": "security", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Indicates whether to use
the default identity mechanis [...]
},
"properties": {
"databaseName": { "kind": "path", "displayName": "Database Name", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "The name of the Cosmos
database that component should connect to. In case you are producing data and
have createDatabas [...]
@@ -83,6 +84,7 @@
"query": { "kind": "parameter", "displayName": "Query", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "An SQL query to execute
on a given resources. To learn more about Cosmos SQL API, check this link {link
https:\/\/docs. [...]
"queryRequestOptions": { "kind": "parameter", "displayName": "Query
Request Options", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType":
"com.azure.cosmos.models.CosmosQueryRequestOptions", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Set additional
QueryRequestOptions that can be used with [...]
"lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "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 other [...]
- "accountKey": { "kind": "parameter", "displayName": "Account Key",
"group": "security", "label": "security", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Sets either a master or
readonly key used to perform authentication for accessing resource." }
+ "accountKey": { "kind": "parameter", "displayName": "Account Key",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Sets either a master or
readonly key used to perform authentication for accessing reso [...]
+ "useDefaultIdentity": { "kind": "parameter", "displayName": "Use Default
Identity", "group": "security", "label": "security", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Indicates whether to use
the default identity mechani [...]
}
}
diff --git
a/components/camel-as2/camel-as2-component/src/generated/resources/org/apache/camel/component/as2/as2.json
b/components/camel-as2/camel-as2-component/src/generated/resources/org/apache/camel/component/as2/as2.json
index c5d81cdf3ab..ff3dff70034 100644
---
a/components/camel-as2/camel-as2-component/src/generated/resources/org/apache/camel/component/as2/as2.json
+++
b/components/camel-as2/camel-as2-component/src/generated/resources/org/apache/camel/component/as2/as2.json
@@ -41,7 +41,7 @@
"compressionAlgorithm": { "kind": "parameter", "displayName": "Compression
Algorithm", "group": "common", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.as2.api.AS2CompressionAlgorithm", "enum": [ "ZLIB"
], "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.as2.AS2Configuration",
"configurationField": "configuration", "description": "The algorithm used to
compress EDI message." },
"dispositionNotificationTo": { "kind": "parameter", "displayName":
"Disposition Notification To", "group": "common", "label": "", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "The value of the Disposition-Notification-To
header. Assigning a value to this parameter requests a mes [...]
"ediMessageTransferEncoding": { "kind": "parameter", "displayName": "Edi
Message Transfer Encoding", "group": "common", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "The transfer encoding of EDI message." },
- "ediMessageType": { "kind": "parameter", "displayName": "Edi Message
Type", "group": "common", "label": "", "required": false, "type": "object",
"javaType": "org.apache.http.entity.ContentType", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "The content type of EDI message. One of
application\/edifact, application\/edi-x12, application\/edi-consent" },
+ "ediMessageType": { "kind": "parameter", "displayName": "Edi Message
Type", "group": "common", "label": "", "required": false, "type": "object",
"javaType": "org.apache.http.entity.ContentType", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "The content type of EDI message. One of
application\/edifact, application\/edi-x12, application\/edi-consen [...]
"from": { "kind": "parameter", "displayName": "From", "group": "common",
"label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.as2.AS2Configuration",
"configurationField": "configuration", "description": "The value of the From
header of AS2 message." },
"hostnameVerifier": { "kind": "parameter", "displayName": "Hostname
Verifier", "group": "common", "label": "", "required": false, "type": "object",
"javaType": "javax.net.ssl.HostnameVerifier", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "Set hostname verifier for SSL session." },
"httpConnectionPoolSize": { "kind": "parameter", "displayName": "Http
Connection Pool Size", "group": "common", "label": "", "required": false,
"type": "integer", "javaType": "java.lang.Integer", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "5", "configurationClass":
"org.apache.camel.component.as2.AS2Configuration", "configurationField":
"configuration", "description": "The maximum size of the connection pool for
http connections (client only)" },
diff --git
a/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbComponentConfigurer.java
b/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbComponentConfigurer.java
index b6c6af2d252..2928772486c 100644
---
a/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbComponentConfigurer.java
+++
b/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbComponentConfigurer.java
@@ -83,6 +83,8 @@ public class CosmosDbComponentConfigurer extends
PropertyConfigurerSupport imple
case "readRequestsFallbackEnabled":
getOrCreateConfiguration(target).setReadRequestsFallbackEnabled(property(camelContext,
boolean.class, value)); return true;
case "throughputproperties":
case "throughputProperties":
getOrCreateConfiguration(target).setThroughputProperties(property(camelContext,
com.azure.cosmos.models.ThroughputProperties.class, value)); return true;
+ case "usedefaultidentity":
+ case "useDefaultIdentity":
getOrCreateConfiguration(target).setUseDefaultIdentity(property(camelContext,
boolean.class, value)); return true;
default: return false;
}
}
@@ -150,6 +152,8 @@ public class CosmosDbComponentConfigurer extends
PropertyConfigurerSupport imple
case "readRequestsFallbackEnabled": return boolean.class;
case "throughputproperties":
case "throughputProperties": return
com.azure.cosmos.models.ThroughputProperties.class;
+ case "usedefaultidentity":
+ case "useDefaultIdentity": return boolean.class;
default: return null;
}
}
@@ -213,6 +217,8 @@ public class CosmosDbComponentConfigurer extends
PropertyConfigurerSupport imple
case "readRequestsFallbackEnabled": return
getOrCreateConfiguration(target).isReadRequestsFallbackEnabled();
case "throughputproperties":
case "throughputProperties": return
getOrCreateConfiguration(target).getThroughputProperties();
+ case "usedefaultidentity":
+ case "useDefaultIdentity": return
getOrCreateConfiguration(target).isUseDefaultIdentity();
default: return null;
}
}
diff --git
a/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointConfigurer.java
b/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointConfigurer.java
index 69f9ca021c6..b673dc85e9d 100644
---
a/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointConfigurer.java
+++
b/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointConfigurer.java
@@ -77,6 +77,8 @@ public class CosmosDbEndpointConfigurer extends
PropertyConfigurerSupport implem
case "readRequestsFallbackEnabled":
target.getConfiguration().setReadRequestsFallbackEnabled(property(camelContext,
boolean.class, value)); return true;
case "throughputproperties":
case "throughputProperties":
target.getConfiguration().setThroughputProperties(property(camelContext,
com.azure.cosmos.models.ThroughputProperties.class, value)); return true;
+ case "usedefaultidentity":
+ case "useDefaultIdentity":
target.getConfiguration().setUseDefaultIdentity(property(camelContext,
boolean.class, value)); return true;
default: return false;
}
}
@@ -145,6 +147,8 @@ public class CosmosDbEndpointConfigurer extends
PropertyConfigurerSupport implem
case "readRequestsFallbackEnabled": return boolean.class;
case "throughputproperties":
case "throughputProperties": return
com.azure.cosmos.models.ThroughputProperties.class;
+ case "usedefaultidentity":
+ case "useDefaultIdentity": return boolean.class;
default: return null;
}
}
@@ -209,6 +213,8 @@ public class CosmosDbEndpointConfigurer extends
PropertyConfigurerSupport implem
case "readRequestsFallbackEnabled": return
target.getConfiguration().isReadRequestsFallbackEnabled();
case "throughputproperties":
case "throughputProperties": return
target.getConfiguration().getThroughputProperties();
+ case "usedefaultidentity":
+ case "useDefaultIdentity": return
target.getConfiguration().isUseDefaultIdentity();
default: return null;
}
}
diff --git
a/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointUriFactory.java
b/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointUriFactory.java
index f5ddb2b9be1..5213b8bc710 100644
---
a/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointUriFactory.java
+++
b/components/camel-azure/camel-azure-cosmosdb/src/generated/java/org/apache/camel/component/azure/cosmosdb/CosmosDbEndpointUriFactory.java
@@ -21,7 +21,7 @@ public class CosmosDbEndpointUriFactory extends
org.apache.camel.support.compone
private static final Set<String> SECRET_PROPERTY_NAMES;
private static final Set<String> MULTI_VALUE_PREFIXES;
static {
- Set<String> props = new HashSet<>(31);
+ Set<String> props = new HashSet<>(32);
props.add("accountKey");
props.add("bridgeErrorHandler");
props.add("changeFeedProcessorOptions");
@@ -53,6 +53,7 @@ public class CosmosDbEndpointUriFactory extends
org.apache.camel.support.compone
props.add("queryRequestOptions");
props.add("readRequestsFallbackEnabled");
props.add("throughputProperties");
+ props.add("useDefaultIdentity");
PROPERTY_NAMES = Collections.unmodifiableSet(props);
Set<String> secretProps = new HashSet<>(1);
secretProps.add("accountKey");
diff --git
a/components/camel-azure/camel-azure-cosmosdb/src/generated/resources/org/apache/camel/component/azure/cosmosdb/azure-cosmosdb.json
b/components/camel-azure/camel-azure-cosmosdb/src/generated/resources/org/apache/camel/component/azure/cosmosdb/azure-cosmosdb.json
index b74358b0755..606a0ed296e 100644
---
a/components/camel-azure/camel-azure-cosmosdb/src/generated/resources/org/apache/camel/component/azure/cosmosdb/azure-cosmosdb.json
+++
b/components/camel-azure/camel-azure-cosmosdb/src/generated/resources/org/apache/camel/component/azure/cosmosdb/azure-cosmosdb.json
@@ -50,7 +50,8 @@
"query": { "kind": "property", "displayName": "Query", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "An SQL query to execute
on a given resources. To learn more about Cosmos SQL API, check this link {link
https:\/\/docs.m [...]
"queryRequestOptions": { "kind": "property", "displayName": "Query Request
Options", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType": "com.azure.cosmos.models.CosmosQueryRequestOptions",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Set additional
QueryRequestOptions that can be used with [...]
"autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which t [...]
- "accountKey": { "kind": "property", "displayName": "Account Key", "group":
"security", "label": "security", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Sets either a master or
readonly key used to perform authentication for accessing resource." }
+ "accountKey": { "kind": "property", "displayName": "Account Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Sets either a master or
readonly key used to perform authentication for accessing resou [...]
+ "useDefaultIdentity": { "kind": "property", "displayName": "Use Default
Identity", "group": "security", "label": "security", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Indicates whether to use
the default identity mechanis [...]
},
"properties": {
"databaseName": { "kind": "path", "displayName": "Database Name", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "The name of the Cosmos
database that component should connect to. In case you are producing data and
have createDatabas [...]
@@ -83,6 +84,7 @@
"query": { "kind": "parameter", "displayName": "Query", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "An SQL query to execute
on a given resources. To learn more about Cosmos SQL API, check this link {link
https:\/\/docs. [...]
"queryRequestOptions": { "kind": "parameter", "displayName": "Query
Request Options", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType":
"com.azure.cosmos.models.CosmosQueryRequestOptions", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Set additional
QueryRequestOptions that can be used with [...]
"lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "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 other [...]
- "accountKey": { "kind": "parameter", "displayName": "Account Key",
"group": "security", "label": "security", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Sets either a master or
readonly key used to perform authentication for accessing resource." }
+ "accountKey": { "kind": "parameter", "displayName": "Account Key",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Sets either a master or
readonly key used to perform authentication for accessing reso [...]
+ "useDefaultIdentity": { "kind": "parameter", "displayName": "Use Default
Identity", "group": "security", "label": "security", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration",
"configurationField": "configuration", "description": "Indicates whether to use
the default identity mechani [...]
}
}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureCosmosdbComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureCosmosdbComponentBuilderFactory.java
index 91dd095e3b2..d7464d9aae0 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureCosmosdbComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureCosmosdbComponentBuilderFactory.java
@@ -597,6 +597,23 @@ public interface AzureCosmosdbComponentBuilderFactory {
doSetProperty("accountKey", accountKey);
return this;
}
+ /**
+ * Indicates whether to use the default identity mechanism instead of
+ * the access key.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useDefaultIdentity the value to set
+ * @return the dsl builder
+ */
+ default AzureCosmosdbComponentBuilder useDefaultIdentity(
+ boolean useDefaultIdentity) {
+ doSetProperty("useDefaultIdentity", useDefaultIdentity);
+ return this;
+ }
}
class AzureCosmosdbComponentBuilderImpl
@@ -650,6 +667,7 @@ public interface AzureCosmosdbComponentBuilderFactory {
case "queryRequestOptions":
getOrCreateConfiguration((CosmosDbComponent)
component).setQueryRequestOptions((com.azure.cosmos.models.CosmosQueryRequestOptions)
value); return true;
case "autowiredEnabled": ((CosmosDbComponent)
component).setAutowiredEnabled((boolean) value); return true;
case "accountKey": getOrCreateConfiguration((CosmosDbComponent)
component).setAccountKey((java.lang.String) value); return true;
+ case "useDefaultIdentity":
getOrCreateConfiguration((CosmosDbComponent)
component).setUseDefaultIdentity((boolean) value); return true;
default: return false;
}
}