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/05 10:32:25 UTC

[camel-kamelets] branch az-sto-cdc created (now e4e005c4)

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

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


      at e4e005c4 Azure Storage Blob CDC: Add RAW to toD accessKey parameter

This branch includes the following new commits:

     new 6f099d25 Azure Storage Blob CDC: Add RAW to toD accessKey parameter
     new e4e005c4 Azure Storage Blob CDC: Add RAW to toD accessKey parameter

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.



[camel-kamelets] 01/02: Azure Storage Blob CDC: Add RAW to toD accessKey parameter

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch az-sto-cdc
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 6f099d25ac7a9426b78ba43ecc4c9357c478850b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 5 10:04:25 2022 +0100

    Azure Storage Blob CDC: Add RAW to toD accessKey parameter
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/azure-storage-blob-cdc-source.kamelet.yaml                   | 3 ++-
 .../resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml     | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/kamelets/azure-storage-blob-cdc-source.kamelet.yaml b/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
index 5636411e..de50695e 100644
--- a/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
+++ b/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
@@ -135,11 +135,12 @@ spec:
                   - set-property:
                       name: azure-storage-blob-blob-name
                       simple: '${exchangeProperty.azure-storage-blob-subject.substring(${exchangeProperty.azure-storage-blob-subject.lastIndexOf("/")}++)}'
+                  - log: "${exchangeProperty.azure-storage-blob-event-type} - ${exchangeProperty.azure-storage-blob-subject} - ${exchangeProperty.azure-storage-blob-blob-name}"
                   - choice:
                       when:
                         - simple: '${exchangeProperty.azure-storage-blob-event-type} == "Microsoft.Storage.BlobCreated" && ${exchangeProperty.azure-storage-blob-subject} contains "{{containerName}}"'
                           steps:
                             - toD: >-
-                                azure-storage-blob:{{accountName}}/{{containerName}}?accessKey={{accessKey}}&operation=getBlob&blobName=${exchangeProperty.azure-storage-blob-blob-name}&credentialType={{credentialType}}
+                                azure-storage-blob:{{accountName}}/{{containerName}}?accessKey=RAW({{accessKey}})&operation=getBlob&blobName=${exchangeProperty.azure-storage-blob-blob-name}&credentialType={{credentialType}}
         - to: 'kamelet:sink'
 
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
index 5636411e..93420e63 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
@@ -135,11 +135,13 @@ spec:
                   - set-property:
                       name: azure-storage-blob-blob-name
                       simple: '${exchangeProperty.azure-storage-blob-subject.substring(${exchangeProperty.azure-storage-blob-subject.lastIndexOf("/")}++)}'
+                  - log: "${exchangeProperty.azure-storage-blob-event-type} - ${exchangeProperty.azure-storage-blob-subject} - ${exchangeProperty.azure-storage-blob-blob-name}"
                   - choice:
                       when:
                         - simple: '${exchangeProperty.azure-storage-blob-event-type} == "Microsoft.Storage.BlobCreated" && ${exchangeProperty.azure-storage-blob-subject} contains "{{containerName}}"'
                           steps:
+                            - log: "Cia {{accessKey}}"
                             - toD: >-
-                                azure-storage-blob:{{accountName}}/{{containerName}}?accessKey={{accessKey}}&operation=getBlob&blobName=${exchangeProperty.azure-storage-blob-blob-name}&credentialType={{credentialType}}
+                                azure-storage-blob:{{accountName}}/{{containerName}}?accessKey=RAW({{accessKey}})&operation=getBlob&blobName=${exchangeProperty.azure-storage-blob-blob-name}&credentialType={{credentialType}}
         - to: 'kamelet:sink'
 


[camel-kamelets] 02/02: Azure Storage Blob CDC: Add RAW to toD accessKey parameter

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch az-sto-cdc
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit e4e005c4465093a0d893a3e45907c1022ea9f749
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 5 11:32:00 2022 +0100

    Azure Storage Blob CDC: Add RAW to toD accessKey parameter
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
index 93420e63..de50695e 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
@@ -140,7 +140,6 @@ spec:
                       when:
                         - simple: '${exchangeProperty.azure-storage-blob-event-type} == "Microsoft.Storage.BlobCreated" && ${exchangeProperty.azure-storage-blob-subject} contains "{{containerName}}"'
                           steps:
-                            - log: "Cia {{accessKey}}"
                             - toD: >-
                                 azure-storage-blob:{{accountName}}/{{containerName}}?accessKey=RAW({{accessKey}})&operation=getBlob&blobName=${exchangeProperty.azure-storage-blob-blob-name}&credentialType={{credentialType}}
         - to: 'kamelet:sink'