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-kamelets.git
commit d0a12db02f06e8ce4f532ed1967397fe59b9ffc3 Author: Andrea Cosentino <[email protected]> AuthorDate: Mon Feb 3 10:55:28 2025 +0100 Kamelets Catalog - Make the description a one liner - Azure CosmosDB Source Signed-off-by: Andrea Cosentino <[email protected]> --- .../partials/azure-cosmosdb-source-description.adoc | 17 +++++++++++++++++ kamelets/azure-cosmosdb-source.kamelet.yaml | 7 +------ .../kamelets/azure-cosmosdb-source.kamelet.yaml | 7 +------ 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/docs/modules/ROOT/partials/azure-cosmosdb-source-description.adoc b/docs/modules/ROOT/partials/azure-cosmosdb-source-description.adoc new file mode 100644 index 00000000..35b1b47b --- /dev/null +++ b/docs/modules/ROOT/partials/azure-cosmosdb-source-description.adoc @@ -0,0 +1,17 @@ +== Azure CosmosDB Source Kamelet Description + +=== Authentication methods + +In this Kamelet you have the possibility of using the Azure Identity mechanism or the plain Shared Account Key. Respectively the parameters are `AZURE_IDENTITY` and `SHARED_ACCOUNT_KEY` + +The order of evaluation for `AZURE_IDENTITY` is the following: + + - Enviroment + - Workload Identity + - Managed Identity + - Azure Developer CLI + - IntelliJ + - Azure CLI + - Azure Powershell + +For more information about this you can look at https://learn.microsoft.com/en-us/java/api/overview/azure/identity-readme[Azure Identity documentation] diff --git a/kamelets/azure-cosmosdb-source.kamelet.yaml b/kamelets/azure-cosmosdb-source.kamelet.yaml index 4d16175c..0aca5f1a 100644 --- a/kamelets/azure-cosmosdb-source.kamelet.yaml +++ b/kamelets/azure-cosmosdb-source.kamelet.yaml @@ -31,12 +31,7 @@ metadata: spec: definition: title: "Azure CosmosDB Source" - description: |- - Consume Changes from a CosmosDB instance. - - There are two different mechanism of authentication `SHARED_ACCOUNT_KEY` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `SHARED_ACCOUNT_KEY` accountKey property will be needed. - - In case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Identity, Azure Developer CLI, IntelliJ, Azure CLI and Azure Powershell. + description: Consume Changes from a CosmosDB instance. required: - databaseName - containerName diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-cosmosdb-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-cosmosdb-source.kamelet.yaml index 4d16175c..0aca5f1a 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/azure-cosmosdb-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/azure-cosmosdb-source.kamelet.yaml @@ -31,12 +31,7 @@ metadata: spec: definition: title: "Azure CosmosDB Source" - description: |- - Consume Changes from a CosmosDB instance. - - There are two different mechanism of authentication `SHARED_ACCOUNT_KEY` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `SHARED_ACCOUNT_KEY` accountKey property will be needed. - - In case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Identity, Azure Developer CLI, IntelliJ, Azure CLI and Azure Powershell. + description: Consume Changes from a CosmosDB instance. required: - databaseName - containerName
