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 2022/10/13 08:02:38 UTC

[camel-kamelets] branch main updated (e181e511 -> 13880643)

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

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


    from e181e511 Switch Azure Storage Blob Source from timer producer style to a pure consumer
     new ddeda31e Duplicate some of headers with a different name - Azure Storage Blob Source
     new 6c827196 Duplicate some of headers with a different name - Azure Storage Blob Source
     new 6cbeda13 Duplicate some of headers with a different name - Azure Storage Blob Source
     new cd239c4c Duplicate some of headers with a different name - Azure Storage Blob Source
     new a89fcdac Duplicate some of headers with a different name - Azure Storage Blob Source
     new 13880643 Duplicate some of headers with a different name - Azure Storage Blob Source

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 kamelets/azure-storage-blob-source.kamelet.yaml         | 17 +++++++++++++++++
 .../kamelets/azure-storage-blob-source.kamelet.yaml     | 17 +++++++++++++++++
 2 files changed, 34 insertions(+)


[camel-kamelets] 02/06: Duplicate some of headers with a different name - Azure Storage Blob Source

Posted by ac...@apache.org.
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 6c827196ffa720af0c9e6c2729431657f6f3aa2a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 13 09:35:27 2022 +0200

    Duplicate some of headers with a different name - Azure Storage Blob Source
---
 kamelets/azure-storage-blob-source.kamelet.yaml             |  4 +++-
 .../kamelets/azure-storage-blob-source.kamelet.yaml         | 13 +++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/kamelets/azure-storage-blob-source.kamelet.yaml b/kamelets/azure-storage-blob-source.kamelet.yaml
index 57fe7e1f..15b9d070 100644
--- a/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/kamelets/azure-storage-blob-source.kamelet.yaml
@@ -70,7 +70,7 @@ spec:
     - "github:apache.camel-kamelets:camel-kamelets-utils:main-SNAPSHOT"
   template:
     beans:
-      - name: renameHeaders
+      - name: duplicateHeaders
         type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
         property:
           - key: prefix
@@ -87,6 +87,8 @@ spec:
         accessKey: "{{accessKey}}"
         credentialType: "{{credentialType}}"
       steps:
+        - process:
+            ref: "{{duplicateHeaders}}"
         - to: "kamelet:sink"
         - to:
             uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
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 14eee2fb..57fe7e1f 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
@@ -67,7 +67,20 @@ spec:
     - "camel:core"
     - "camel:jsonpath"
     - "camel:timer"
+    - "github:apache.camel-kamelets:camel-kamelets-utils:main-SNAPSHOT"
   template:
+    beans:
+      - name: renameHeaders
+        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,CamelAzureStorageBlobCreationTime,CamelAzureStorageBlobLastModified,CamelAzureStorageBlobBlobSize'
     from:
       uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
       parameters:


[camel-kamelets] 04/06: Duplicate some of headers with a different name - Azure Storage Blob Source

Posted by ac...@apache.org.
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 cd239c4c4bceaa699ca5aed595998785a79423a3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 13 09:50:02 2022 +0200

    Duplicate some of headers with a different name - Azure Storage Blob Source
---
 .../src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 15b9d070..77f0096e 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
@@ -80,7 +80,7 @@ spec:
           - key: mode
             value: 'filtering'
           - key: selectedHeaders
-            value: 'CamelAzureStorageBlobETag,CamelAzureStorageBlobCreationTime,CamelAzureStorageBlobLastModified,CamelAzureStorageBlobBlobSize'
+            value: 'CamelAzureStorageBlobETag,CamelAzureStorageBlobBlobSize'
     from:
       uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
       parameters:


[camel-kamelets] 05/06: Duplicate some of headers with a different name - Azure Storage Blob Source

Posted by ac...@apache.org.
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 a89fcdac9c69775945bf8c7ad7f16653677f047d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 13 09:51:27 2022 +0200

    Duplicate some of headers with a different name - Azure Storage Blob Source
---
 kamelets/azure-storage-blob-source.kamelet.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kamelets/azure-storage-blob-source.kamelet.yaml b/kamelets/azure-storage-blob-source.kamelet.yaml
index 77f0096e..32c0691d 100644
--- a/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/kamelets/azure-storage-blob-source.kamelet.yaml
@@ -32,6 +32,8 @@ spec:
     title: "Azure Storage Blob Source"
     description: |-
       Consume files from Azure Storage Blob.
+
+      Two headers will be duplicated with different names for clarity at sink level, CamelAzureStorageBlobETag will be duplicated into azure.storage.blob.e.tag and CamelAzureStorageBlobBlobSize will be duplicated in azure.storage.blob.blob.size
     required:
       - accountName
       - containerName


[camel-kamelets] 06/06: Duplicate some of headers with a different name - Azure Storage Blob Source

Posted by ac...@apache.org.
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 138806436d11642c3df8fb94a1745ab269844739
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 13 09:54:54 2022 +0200

    Duplicate some of headers with a different name - Azure Storage Blob Source
---
 .../src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml  | 2 ++
 1 file changed, 2 insertions(+)

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 77f0096e..32c0691d 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
@@ -32,6 +32,8 @@ spec:
     title: "Azure Storage Blob Source"
     description: |-
       Consume files from Azure Storage Blob.
+
+      Two headers will be duplicated with different names for clarity at sink level, CamelAzureStorageBlobETag will be duplicated into azure.storage.blob.e.tag and CamelAzureStorageBlobBlobSize will be duplicated in azure.storage.blob.blob.size
     required:
       - accountName
       - containerName


[camel-kamelets] 03/06: Duplicate some of headers with a different name - Azure Storage Blob Source

Posted by ac...@apache.org.
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 6cbeda133935a88191ca8c2cdf036659336b6c4e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 13 09:49:07 2022 +0200

    Duplicate some of headers with a different name - Azure Storage Blob Source
---
 kamelets/azure-storage-blob-source.kamelet.yaml                       | 2 +-
 .../main/resources/kamelets/azure-storage-blob-source.kamelet.yaml    | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/kamelets/azure-storage-blob-source.kamelet.yaml b/kamelets/azure-storage-blob-source.kamelet.yaml
index 15b9d070..77f0096e 100644
--- a/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/kamelets/azure-storage-blob-source.kamelet.yaml
@@ -80,7 +80,7 @@ spec:
           - key: mode
             value: 'filtering'
           - key: selectedHeaders
-            value: 'CamelAzureStorageBlobETag,CamelAzureStorageBlobCreationTime,CamelAzureStorageBlobLastModified,CamelAzureStorageBlobBlobSize'
+            value: 'CamelAzureStorageBlobETag,CamelAzureStorageBlobBlobSize'
     from:
       uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
       parameters:
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 57fe7e1f..15b9d070 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
@@ -70,7 +70,7 @@ spec:
     - "github:apache.camel-kamelets:camel-kamelets-utils:main-SNAPSHOT"
   template:
     beans:
-      - name: renameHeaders
+      - name: duplicateHeaders
         type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
         property:
           - key: prefix
@@ -87,6 +87,8 @@ spec:
         accessKey: "{{accessKey}}"
         credentialType: "{{credentialType}}"
       steps:
+        - process:
+            ref: "{{duplicateHeaders}}"
         - to: "kamelet:sink"
         - to:
             uri: "azure-storage-blob:{{accountName}}/{{containerName}}"


[camel-kamelets] 01/06: Duplicate some of headers with a different name - Azure Storage Blob Source

Posted by ac...@apache.org.
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 ddeda31eecd29f0821d78f22701170b71b149a93
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 12 18:04:52 2022 +0200

    Duplicate some of headers with a different name - Azure Storage Blob Source
---
 kamelets/azure-storage-blob-source.kamelet.yaml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/kamelets/azure-storage-blob-source.kamelet.yaml b/kamelets/azure-storage-blob-source.kamelet.yaml
index 14eee2fb..57fe7e1f 100644
--- a/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/kamelets/azure-storage-blob-source.kamelet.yaml
@@ -67,7 +67,20 @@ spec:
     - "camel:core"
     - "camel:jsonpath"
     - "camel:timer"
+    - "github:apache.camel-kamelets:camel-kamelets-utils:main-SNAPSHOT"
   template:
+    beans:
+      - name: renameHeaders
+        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,CamelAzureStorageBlobCreationTime,CamelAzureStorageBlobLastModified,CamelAzureStorageBlobBlobSize'
     from:
       uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
       parameters: