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 759b7d84732 Regen
759b7d84732 is described below

commit 759b7d84732cbf9406d6da97531de2284a4d49da
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Dec 13 13:23:33 2023 +0100

    Regen
---
 .../org/apache/camel/maven/RouteCoverageMojo.java  |  7 +-
 .../java/org/apache/camel/maven/ValidateMojo.java  |  3 +-
 .../dsl/AzureCosmosdbComponentBuilderFactory.java  | 36 ++++----
 .../dsl/CosmosDbEndpointBuilderFactory.java        | 98 +++++++++++-----------
 .../dsl/KeyVaultEndpointBuilderFactory.java        | 33 ++++++++
 5 files changed, 104 insertions(+), 73 deletions(-)

diff --git 
a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java
 
b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java
index 3095ed7365a..ac73690d4c3 100644
--- 
a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java
+++ 
b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java
@@ -223,8 +223,8 @@ public class RouteCoverageMojo extends AbstractExecMojo {
             }
 
             // grab dump data for the route
-            totalNumberOfNodes =
-                    grabDumpData(t, routeId, totalNumberOfNodes, fileName, 
notCovered, coveredNodes, report, document,
+            totalNumberOfNodes
+                    = grabDumpData(t, routeId, totalNumberOfNodes, fileName, 
notCovered, coveredNodes, report, document,
                             sourceFileName, pack);
         }
 
@@ -292,7 +292,8 @@ public class RouteCoverageMojo extends AbstractExecMojo {
 
     private int handleAnonymousRoutes(
             List<CamelNodeDetails> anonymousRouteTrees, int 
totalNumberOfNodes, AtomicInteger notCovered,
-            AtomicInteger coveredNodes) throws MojoExecutionException {
+            AtomicInteger coveredNodes)
+            throws MojoExecutionException {
         // grab dump data for the route
         try {
             Map<String, List<CoverageData>> datas = RouteCoverageHelper
diff --git 
a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/ValidateMojo.java
 
b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/ValidateMojo.java
index 08fc1fdfb36..0a7fc18c66d 100644
--- 
a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/ValidateMojo.java
+++ 
b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/ValidateMojo.java
@@ -415,7 +415,8 @@ public class ValidateMojo extends AbstractExecMojo {
 
     private void validateResults(
             CamelCatalog catalog, List<CamelEndpointDetails> endpoints, 
List<CamelSimpleExpressionDetails> simpleExpressions,
-            List<CamelRouteDetails> routeIds) throws MojoExecutionException {
+            List<CamelRouteDetails> routeIds)
+            throws MojoExecutionException {
         int endpointErrors = 0;
         int unknownComponents = 0;
         int incapableErrors = 0;
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 8f05c4e9485..1fa5353cb0a 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
@@ -223,23 +223,6 @@ public interface AzureCosmosdbComponentBuilderFactory {
             doSetProperty("createDatabaseIfNotExists", 
createDatabaseIfNotExists);
             return this;
         }
-        /**
-         * Determines the credential strategy to adopt.
-         * 
-         * The option is a:
-         * 
&lt;code&gt;org.apache.camel.component.azure.cosmosdb.CredentialType&lt;/code&gt;
 type.
-         * 
-         * Default: AZURE_IDENTITY
-         * Group: common
-         * 
-         * @param credentialType the value to set
-         * @return the dsl builder
-         */
-        default AzureCosmosdbComponentBuilder credentialType(
-                org.apache.camel.component.azure.cosmosdb.CredentialType 
credentialType) {
-            doSetProperty("credentialType", credentialType);
-            return this;
-        }
         /**
          * Sets the Azure Cosmos database endpoint the component will connect
          * to.
@@ -637,6 +620,23 @@ public interface AzureCosmosdbComponentBuilderFactory {
             doSetProperty("accountKey", accountKey);
             return this;
         }
+        /**
+         * Determines the credential strategy to adopt.
+         * 
+         * The option is a:
+         * 
&lt;code&gt;org.apache.camel.component.azure.cosmosdb.CredentialType&lt;/code&gt;
 type.
+         * 
+         * Default: AZURE_IDENTITY
+         * Group: security
+         * 
+         * @param credentialType the value to set
+         * @return the dsl builder
+         */
+        default AzureCosmosdbComponentBuilder credentialType(
+                org.apache.camel.component.azure.cosmosdb.CredentialType 
credentialType) {
+            doSetProperty("credentialType", credentialType);
+            return this;
+        }
     }
 
     class AzureCosmosdbComponentBuilderImpl
@@ -670,7 +670,6 @@ public interface AzureCosmosdbComponentBuilderFactory {
             case "cosmosAsyncClient": 
getOrCreateConfiguration((CosmosDbComponent) 
component).setCosmosAsyncClient((com.azure.cosmos.CosmosAsyncClient) value); 
return true;
             case "createContainerIfNotExists": 
getOrCreateConfiguration((CosmosDbComponent) 
component).setCreateContainerIfNotExists((boolean) value); return true;
             case "createDatabaseIfNotExists": 
getOrCreateConfiguration((CosmosDbComponent) 
component).setCreateDatabaseIfNotExists((boolean) value); return true;
-            case "credentialType": 
getOrCreateConfiguration((CosmosDbComponent) 
component).setCredentialType((org.apache.camel.component.azure.cosmosdb.CredentialType)
 value); return true;
             case "databaseEndpoint": 
getOrCreateConfiguration((CosmosDbComponent) 
component).setDatabaseEndpoint((java.lang.String) value); return true;
             case "multipleWriteRegionsEnabled": 
getOrCreateConfiguration((CosmosDbComponent) 
component).setMultipleWriteRegionsEnabled((boolean) value); return true;
             case "preferredRegions": 
getOrCreateConfiguration((CosmosDbComponent) 
component).setPreferredRegions((java.lang.String) value); return true;
@@ -692,6 +691,7 @@ public interface AzureCosmosdbComponentBuilderFactory {
             case "indexingPolicy": 
getOrCreateConfiguration((CosmosDbComponent) 
component).setIndexingPolicy((com.azure.cosmos.models.IndexingPolicy) 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 "credentialType": 
getOrCreateConfiguration((CosmosDbComponent) 
component).setCredentialType((org.apache.camel.component.azure.cosmosdb.CredentialType)
 value); return true;
             default: return false;
             }
         }
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CosmosDbEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CosmosDbEndpointBuilderFactory.java
index 42d04d9d585..931a321e79a 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CosmosDbEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CosmosDbEndpointBuilderFactory.java
@@ -689,38 +689,37 @@ public interface CosmosDbEndpointBuilderFactory {
             return this;
         }
         /**
-         * Indicates whether to use the default identity mechanism instead of
-         * the access key.
+         * Determines the credential strategy to adopt.
          * 
-         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * The option is a:
+         * 
&lt;code&gt;org.apache.camel.component.azure.cosmosdb.CredentialType&lt;/code&gt;
 type.
          * 
-         * Default: false
+         * Default: AZURE_IDENTITY
          * Group: security
          * 
-         * @param useDefaultIdentity the value to set
+         * @param credentialType the value to set
          * @return the dsl builder
          */
-        default CosmosDbEndpointConsumerBuilder useDefaultIdentity(
-                boolean useDefaultIdentity) {
-            doSetProperty("useDefaultIdentity", useDefaultIdentity);
+        default CosmosDbEndpointConsumerBuilder credentialType(
+                org.apache.camel.component.azure.cosmosdb.CredentialType 
credentialType) {
+            doSetProperty("credentialType", credentialType);
             return this;
         }
         /**
-         * Indicates whether to use the default identity mechanism instead of
-         * the access key.
+         * Determines the credential strategy to adopt.
          * 
-         * The option will be converted to a &lt;code&gt;boolean&lt;/code&gt;
-         * type.
+         * The option will be converted to a
+         * 
&lt;code&gt;org.apache.camel.component.azure.cosmosdb.CredentialType&lt;/code&gt;
 type.
          * 
-         * Default: false
+         * Default: AZURE_IDENTITY
          * Group: security
          * 
-         * @param useDefaultIdentity the value to set
+         * @param credentialType the value to set
          * @return the dsl builder
          */
-        default CosmosDbEndpointConsumerBuilder useDefaultIdentity(
-                String useDefaultIdentity) {
-            doSetProperty("useDefaultIdentity", useDefaultIdentity);
+        default CosmosDbEndpointConsumerBuilder credentialType(
+                String credentialType) {
+            doSetProperty("credentialType", credentialType);
             return this;
         }
     }
@@ -1505,38 +1504,37 @@ public interface CosmosDbEndpointBuilderFactory {
             return this;
         }
         /**
-         * Indicates whether to use the default identity mechanism instead of
-         * the access key.
+         * Determines the credential strategy to adopt.
          * 
-         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * The option is a:
+         * 
&lt;code&gt;org.apache.camel.component.azure.cosmosdb.CredentialType&lt;/code&gt;
 type.
          * 
-         * Default: false
+         * Default: AZURE_IDENTITY
          * Group: security
          * 
-         * @param useDefaultIdentity the value to set
+         * @param credentialType the value to set
          * @return the dsl builder
          */
-        default CosmosDbEndpointProducerBuilder useDefaultIdentity(
-                boolean useDefaultIdentity) {
-            doSetProperty("useDefaultIdentity", useDefaultIdentity);
+        default CosmosDbEndpointProducerBuilder credentialType(
+                org.apache.camel.component.azure.cosmosdb.CredentialType 
credentialType) {
+            doSetProperty("credentialType", credentialType);
             return this;
         }
         /**
-         * Indicates whether to use the default identity mechanism instead of
-         * the access key.
+         * Determines the credential strategy to adopt.
          * 
-         * The option will be converted to a &lt;code&gt;boolean&lt;/code&gt;
-         * type.
+         * The option will be converted to a
+         * 
&lt;code&gt;org.apache.camel.component.azure.cosmosdb.CredentialType&lt;/code&gt;
 type.
          * 
-         * Default: false
+         * Default: AZURE_IDENTITY
          * Group: security
          * 
-         * @param useDefaultIdentity the value to set
+         * @param credentialType the value to set
          * @return the dsl builder
          */
-        default CosmosDbEndpointProducerBuilder useDefaultIdentity(
-                String useDefaultIdentity) {
-            doSetProperty("useDefaultIdentity", useDefaultIdentity);
+        default CosmosDbEndpointProducerBuilder credentialType(
+                String credentialType) {
+            doSetProperty("credentialType", credentialType);
             return this;
         }
     }
@@ -2124,38 +2122,36 @@ public interface CosmosDbEndpointBuilderFactory {
             return this;
         }
         /**
-         * Indicates whether to use the default identity mechanism instead of
-         * the access key.
+         * Determines the credential strategy to adopt.
          * 
-         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * The option is a:
+         * 
&lt;code&gt;org.apache.camel.component.azure.cosmosdb.CredentialType&lt;/code&gt;
 type.
          * 
-         * Default: false
+         * Default: AZURE_IDENTITY
          * Group: security
          * 
-         * @param useDefaultIdentity the value to set
+         * @param credentialType the value to set
          * @return the dsl builder
          */
-        default CosmosDbEndpointBuilder useDefaultIdentity(
-                boolean useDefaultIdentity) {
-            doSetProperty("useDefaultIdentity", useDefaultIdentity);
+        default CosmosDbEndpointBuilder credentialType(
+                org.apache.camel.component.azure.cosmosdb.CredentialType 
credentialType) {
+            doSetProperty("credentialType", credentialType);
             return this;
         }
         /**
-         * Indicates whether to use the default identity mechanism instead of
-         * the access key.
+         * Determines the credential strategy to adopt.
          * 
-         * The option will be converted to a &lt;code&gt;boolean&lt;/code&gt;
-         * type.
+         * The option will be converted to a
+         * 
&lt;code&gt;org.apache.camel.component.azure.cosmosdb.CredentialType&lt;/code&gt;
 type.
          * 
-         * Default: false
+         * Default: AZURE_IDENTITY
          * Group: security
          * 
-         * @param useDefaultIdentity the value to set
+         * @param credentialType the value to set
          * @return the dsl builder
          */
-        default CosmosDbEndpointBuilder useDefaultIdentity(
-                String useDefaultIdentity) {
-            doSetProperty("useDefaultIdentity", useDefaultIdentity);
+        default CosmosDbEndpointBuilder credentialType(String credentialType) {
+            doSetProperty("credentialType", credentialType);
             return this;
         }
     }
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeyVaultEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeyVaultEndpointBuilderFactory.java
index f5632252329..e30977be0eb 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeyVaultEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KeyVaultEndpointBuilderFactory.java
@@ -41,6 +41,39 @@ public interface KeyVaultEndpointBuilderFactory {
         default AdvancedKeyVaultEndpointBuilder advanced() {
             return (AdvancedKeyVaultEndpointBuilder) this;
         }
+        /**
+         * Determines the credential strategy to adopt.
+         * 
+         * The option is a:
+         * 
&lt;code&gt;org.apache.camel.component.azure.key.vault.CredentialType&lt;/code&gt;
 type.
+         * 
+         * Default: CLIENT_SECRET
+         * Group: common
+         * 
+         * @param credentialType the value to set
+         * @return the dsl builder
+         */
+        default KeyVaultEndpointBuilder credentialType(
+                org.apache.camel.component.azure.key.vault.CredentialType 
credentialType) {
+            doSetProperty("credentialType", credentialType);
+            return this;
+        }
+        /**
+         * Determines the credential strategy to adopt.
+         * 
+         * The option will be converted to a
+         * 
&lt;code&gt;org.apache.camel.component.azure.key.vault.CredentialType&lt;/code&gt;
 type.
+         * 
+         * Default: CLIENT_SECRET
+         * Group: common
+         * 
+         * @param credentialType the value to set
+         * @return the dsl builder
+         */
+        default KeyVaultEndpointBuilder credentialType(String credentialType) {
+            doSetProperty("credentialType", credentialType);
+            return this;
+        }
         /**
          * Operation to be performed.
          * 

Reply via email to