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/12/14 09:33:14 UTC

[camel-kamelets] branch main updated (04c498ba -> 2759f20e)

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 04c498ba Updated CHANGELOG.md
     new 9a4ff84b Camel Google Pubsub headers names changed in Camel 3.20.0
     new 2759f20e Camel Google Pubsub headers names changed in Camel 3.20.0

The 2 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/google-storage-cdc-source.kamelet.yaml                  | 9 +++------
 .../resources/kamelets/google-storage-cdc-source.kamelet.yaml    | 9 +++------
 2 files changed, 6 insertions(+), 12 deletions(-)


[camel-kamelets] 01/02: Camel Google Pubsub headers names changed in Camel 3.20.0

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 9a4ff84b26f02ae72d0532f2047b4973cb9927b1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 14 10:23:25 2022 +0100

    Camel Google Pubsub headers names changed in Camel 3.20.0
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/google-storage-cdc-source.kamelet.yaml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/kamelets/google-storage-cdc-source.kamelet.yaml b/kamelets/google-storage-cdc-source.kamelet.yaml
index 1a1b45d0..ecdca3db 100644
--- a/kamelets/google-storage-cdc-source.kamelet.yaml
+++ b/kamelets/google-storage-cdc-source.kamelet.yaml
@@ -108,18 +108,15 @@ spec:
             when:
               - simple: '${properties:getObject:true}'
                 steps:
-                  - set-header:
-                      name: attributesStorage
-                      simple: ${headers.CamelGooglePubsub.Attributes}
                   - set-property:
                       name: google-storage-event-type
-                      simple: "${headers.attributesStorage[eventType]}"
+                      simple: "${headers.CamelGooglePubsubAttributes[eventType]}"
                   - set-property:
                       name: google-storage-object-id
-                      simple: "${headers.attributesStorage[objectId]}"
+                      simple: "${headers.CamelGooglePubsubAttributes[objectId]}"
                   - set-property:
                       name: google-storage-bucket-id
-                      simple: "${headers.attributesStorage[bucketId]}"
+                      simple: "${headers.CamelGooglePubsubAttributes[bucketId]}"
                   - choice:
                       when:
                         - simple: '${exchangeProperty.google-storage-event-type} == "OBJECT_FINALIZE" && ${exchangeProperty.google-storage-bucket-id} == "{{bucketNameOrArn}}"'


[camel-kamelets] 02/02: Camel Google Pubsub headers names changed in Camel 3.20.0

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 2759f20e9f85102341370b86ddb5bacfd68ea917
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 14 10:24:20 2022 +0100

    Camel Google Pubsub headers names changed in Camel 3.20.0
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../resources/kamelets/google-storage-cdc-source.kamelet.yaml    | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml
index 1a1b45d0..ecdca3db 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml
@@ -108,18 +108,15 @@ spec:
             when:
               - simple: '${properties:getObject:true}'
                 steps:
-                  - set-header:
-                      name: attributesStorage
-                      simple: ${headers.CamelGooglePubsub.Attributes}
                   - set-property:
                       name: google-storage-event-type
-                      simple: "${headers.attributesStorage[eventType]}"
+                      simple: "${headers.CamelGooglePubsubAttributes[eventType]}"
                   - set-property:
                       name: google-storage-object-id
-                      simple: "${headers.attributesStorage[objectId]}"
+                      simple: "${headers.CamelGooglePubsubAttributes[objectId]}"
                   - set-property:
                       name: google-storage-bucket-id
-                      simple: "${headers.attributesStorage[bucketId]}"
+                      simple: "${headers.CamelGooglePubsubAttributes[bucketId]}"
                   - choice:
                       when:
                         - simple: '${exchangeProperty.google-storage-event-type} == "OBJECT_FINALIZE" && ${exchangeProperty.google-storage-bucket-id} == "{{bucketNameOrArn}}"'