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:58 UTC

[camel-kamelets] 01/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 28f311579753ad44da81a6db8e05ac5bfe7fde11
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue May 23 15:20:06 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/kamelets/azure-storage-blob-source.kamelet.yaml b/kamelets/azure-storage-blob-source.kamelet.yaml
index 4114c75f..c1f09c80 100644
--- a/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/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: