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 2021/07/27 13:35:52 UTC
[camel-kamelets] branch azure-storage-blob-source-fix created (now
1323a76)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch azure-storage-blob-source-fix
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git.
at 1323a76 Azure Storage Blob Source: Don't use to-d but work through headers
This branch includes the following new commits:
new 0292e01 Azure Storage Blob Source: Don't use to-d but work through headers
new 1323a76 Azure Storage Blob Source: Don't use to-d but work through headers
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] 02/02: Azure Storage Blob Source: Don't use to-d
but work through headers
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch azure-storage-blob-source-fix
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 1323a769628ea2d3c437d3170aec26b15ba8d490
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jul 27 15:35:00 2021 +0200
Azure Storage Blob Source: Don't use to-d but work through headers
---
.../kamelets/azure-storage-blob-source.kamelet.yaml | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
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 3c30be7..c8281da 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
@@ -65,7 +65,21 @@ spec:
- set-property:
name: azureBlobName
simple: ${body.name}
- - to-d: "azure-storage-blob:{{accountName}}/{{containerName}}?accessKey=RAW({{accessKey}})&operation=getBlob&blobName=${exchangeProperty.azureBlobName}"
+ - set-header:
+ name: CamelAzureStorageBlobBlobName
+ simple: ${exchangeProperty.azureBlobName}
+ - to:
+ uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
+ parameters:
+ operation: "getBlob"
+ accessKey: "{{accessKey}}"
- to: "kamelet:sink"
- - to-d: "azure-storage-blob:{{accountName}}/{{containerName}}?accessKey=RAW({{accessKey}})&operation=deleteBlob&blobName=${exchangeProperty.azureBlobName}"
+ - set-header:
+ name: CamelAzureStorageBlobBlobName
+ simple: ${exchangeProperty.azureBlobName}
+ - to:
+ uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
+ parameters:
+ operation: "deleteBlob"
+ accessKey: "{{accessKey}}"
[camel-kamelets] 01/02: Azure Storage Blob Source: Don't use to-d
but work through headers
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch azure-storage-blob-source-fix
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 0292e01a655a45c0878f4b4cee3e7f5a86620339
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jul 27 15:33:30 2021 +0200
Azure Storage Blob Source: Don't use to-d but work through headers
---
azure-storage-blob-source.kamelet.yaml | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/azure-storage-blob-source.kamelet.yaml b/azure-storage-blob-source.kamelet.yaml
index 3c30be7..c8281da 100644
--- a/azure-storage-blob-source.kamelet.yaml
+++ b/azure-storage-blob-source.kamelet.yaml
@@ -65,7 +65,21 @@ spec:
- set-property:
name: azureBlobName
simple: ${body.name}
- - to-d: "azure-storage-blob:{{accountName}}/{{containerName}}?accessKey=RAW({{accessKey}})&operation=getBlob&blobName=${exchangeProperty.azureBlobName}"
+ - set-header:
+ name: CamelAzureStorageBlobBlobName
+ simple: ${exchangeProperty.azureBlobName}
+ - to:
+ uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
+ parameters:
+ operation: "getBlob"
+ accessKey: "{{accessKey}}"
- to: "kamelet:sink"
- - to-d: "azure-storage-blob:{{accountName}}/{{containerName}}?accessKey=RAW({{accessKey}})&operation=deleteBlob&blobName=${exchangeProperty.azureBlobName}"
+ - set-header:
+ name: CamelAzureStorageBlobBlobName
+ simple: ${exchangeProperty.azureBlobName}
+ - to:
+ uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
+ parameters:
+ operation: "deleteBlob"
+ accessKey: "{{accessKey}}"