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/12/14 09:09:28 UTC

(camel) 01/02: CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure CosmosDB - Fix default value for Credential Type

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch CAMEL-18590-cosmosdb-2
in repository https://gitbox.apache.org/repos/asf/camel.git

commit a19b9c99a4ea3f96b0095643d104ec9ecf172257
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Dec 14 09:58:12 2023 +0100

    CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure CosmosDB - Fix default value for Credential Type
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../apache/camel/component/azure/cosmosdb/CosmosDbConfiguration.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CosmosDbConfiguration.java b/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CosmosDbConfiguration.java
index 030e818e154..d367292669c 100644
--- a/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CosmosDbConfiguration.java
+++ b/components/camel-azure/camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb/CosmosDbConfiguration.java
@@ -93,7 +93,7 @@ public class CosmosDbConfiguration implements Cloneable {
     @UriParam(label = "producer", defaultValue = "listDatabases")
     private CosmosDbOperationsDefinition operation = CosmosDbOperationsDefinition.listDatabases;
     @UriParam(label = "security", enums = "SHARED_ACCOUNT_KEY,AZURE_IDENTITY",
-              defaultValue = "AZURE_IDENTITY")
+              defaultValue = "SHARED_ACCOUNT_KEY")
     private CredentialType credentialType = SHARED_ACCOUNT_KEY;
 
     public CosmosDbConfiguration() {