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/11 13:04:59 UTC

[camel-kamelets] branch main updated (5711e354 -> 0d1128f2)

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 5711e354 Regen
     new 2d365215 Duplicate some of headers with a different name - Azure Storage Queue Source
     new 68e9d092 Duplicate some of headers with a different name - Azure Storage Queue Source
     new 7b05da34 Duplicate some of headers with a different name - Azure Storage Queue Source
     new 0d1128f2 Duplicate some of headers with a different name - Azure Storage Queue Source

The 4 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-queue-source.kamelet.yaml       | 18 ++++++++++++++++++
 .../kamelets/azure-storage-queue-source.kamelet.yaml   | 18 ++++++++++++++++++
 2 files changed, 36 insertions(+)


[camel-kamelets] 03/04: Duplicate some of headers with a different name - Azure Storage Queue 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 7b05da34bbe0884ab19e8eb67359e94d5f37129a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 11 15:01:32 2022 +0200

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

diff --git a/kamelets/azure-storage-queue-source.kamelet.yaml b/kamelets/azure-storage-queue-source.kamelet.yaml
index 1a5f6a79..eb72ba11 100644
--- a/kamelets/azure-storage-queue-source.kamelet.yaml
+++ b/kamelets/azure-storage-queue-source.kamelet.yaml
@@ -66,6 +66,8 @@ spec:
   dependencies:
     - "camel:azure-storage-queue"
     - "camel:kamelet"
+    - "github:apache.camel-kamelets:camel-kamelets-utils:main-SNAPSHOT"
+    - "camel:core"
   template:
     beans:
       - name: renameHeaders


[camel-kamelets] 04/04: Duplicate some of headers with a different name - Azure Storage Queue 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 0d1128f2e61236c13c11b51f5d10332b4779e114
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 11 15:02:00 2022 +0200

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
index 1a5f6a79..eb72ba11 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
@@ -66,6 +66,8 @@ spec:
   dependencies:
     - "camel:azure-storage-queue"
     - "camel:kamelet"
+    - "github:apache.camel-kamelets:camel-kamelets-utils:main-SNAPSHOT"
+    - "camel:core"
   template:
     beans:
       - name: renameHeaders


[camel-kamelets] 02/04: Duplicate some of headers with a different name - Azure Storage Queue 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 68e9d0928d3f8efc72b2131955386921667cfa54
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 11 14:57:11 2022 +0200

    Duplicate some of headers with a different name - Azure Storage Queue Source
---
 .../main/resources/kamelets/azure-storage-queue-source.kamelet.yaml   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
index 96902ec0..1a5f6a79 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
@@ -32,6 +32,8 @@ spec:
     title: "Azure Storage Queue Source"
     description: |-
       Receive events from Azure Storage queues.
+
+      One header will be duplicated with different names for clarity at sink level, CamelAzureStorageQueueMessageId will be duplicated into azure.storage.queue.message.id
     required:
       - accountName
       - queueName
@@ -76,7 +78,7 @@ spec:
           - key: mode
             value: 'filtering'
           - key: selectedHeaders
-            value: 'CamelAzureStorageQueueMessageId,CamelAzureStorageQueueInsertionTime'
+            value: 'CamelAzureStorageQueueMessageId'
     from:
       uri: "azure-storage-queue://{{accountName}}/{{queueName}}"
       parameters:


[camel-kamelets] 01/04: Duplicate some of headers with a different name - Azure Storage Queue 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 2d3652151c055830e830e4d2379ecd3c6c0e04d4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 11 14:53:40 2022 +0200

    Duplicate some of headers with a different name - Azure Storage Queue Source
---
 kamelets/azure-storage-queue-source.kamelet.yaml         | 16 ++++++++++++++++
 .../kamelets/azure-storage-queue-source.kamelet.yaml     | 14 ++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/kamelets/azure-storage-queue-source.kamelet.yaml b/kamelets/azure-storage-queue-source.kamelet.yaml
index 40a4bf6c..1a5f6a79 100644
--- a/kamelets/azure-storage-queue-source.kamelet.yaml
+++ b/kamelets/azure-storage-queue-source.kamelet.yaml
@@ -32,6 +32,8 @@ spec:
     title: "Azure Storage Queue Source"
     description: |-
       Receive events from Azure Storage queues.
+
+      One header will be duplicated with different names for clarity at sink level, CamelAzureStorageQueueMessageId will be duplicated into azure.storage.queue.message.id
     required:
       - accountName
       - queueName
@@ -65,10 +67,24 @@ spec:
     - "camel:azure-storage-queue"
     - "camel:kamelet"
   template:
+    beans:
+      - name: renameHeaders
+        type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
+        property:
+          - key: prefix
+            value: 'CamelAzureStorageQueue'
+          - key: renamingPrefix
+            value: 'azure.storage.queue.'
+          - key: mode
+            value: 'filtering'
+          - key: selectedHeaders
+            value: 'CamelAzureStorageQueueMessageId'
     from:
       uri: "azure-storage-queue://{{accountName}}/{{queueName}}"
       parameters:
         accessKey: "{{accessKey}}"
         maxMessages: "{{maxMessages}}"
       steps:
+      - process:
+          ref: "{{renameHeaders}}"
       - to: "kamelet:sink"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
index 40a4bf6c..96902ec0 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
@@ -65,10 +65,24 @@ spec:
     - "camel:azure-storage-queue"
     - "camel:kamelet"
   template:
+    beans:
+      - name: renameHeaders
+        type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
+        property:
+          - key: prefix
+            value: 'CamelAzureStorageQueue'
+          - key: renamingPrefix
+            value: 'azure.storage.queue.'
+          - key: mode
+            value: 'filtering'
+          - key: selectedHeaders
+            value: 'CamelAzureStorageQueueMessageId,CamelAzureStorageQueueInsertionTime'
     from:
       uri: "azure-storage-queue://{{accountName}}/{{queueName}}"
       parameters:
         accessKey: "{{accessKey}}"
         maxMessages: "{{maxMessages}}"
       steps:
+      - process:
+          ref: "{{renameHeaders}}"
       - to: "kamelet:sink"