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/05/23 14:06:59 UTC
[camel-kamelets] 02/06: Bean: Use properties instead of property with key and value - Azure Storage Blob Source
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 1475
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 8a9447d9cca3785785b036c20689fcbefd44af8c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue May 23 15:21:10 2023 +0200
Bean: Use properties instead of property with key and value - Azure Storage Blob Source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../kamelets/azure-storage-blob-source.kamelet.yaml | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
index 4114c75f..c1f09c80 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
@@ -82,15 +82,11 @@ spec:
beans:
- name: duplicateHeaders
type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
- property:
- - key: prefix
- value: 'CamelAzureStorageBlob'
- - key: renamingPrefix
- value: 'azure.storage.blob.'
- - key: mode
- value: 'filtering'
- - key: selectedHeaders
- value: 'CamelAzureStorageBlobETag,CamelAzureStorageBlobBlobSize'
+ properties:
+ prefix: 'CamelAzureStorageBlob'
+ renamingPrefix: 'azure.storage.blob.'
+ mode: 'filtering'
+ selectedHeaders: 'CamelAzureStorageBlobETag,CamelAzureStorageBlobBlobSize'
from:
uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
parameters: