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/06 07:40:33 UTC

[camel-kamelets] branch main updated (f346401d -> 012c973b)

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 f346401d Add a bean to duplicate headers and better understanding the source of an exchange
     new 8cb3493d Use filtering as mode for duplicating headers bean in AWS S3 Source
     new b7f149d1 Use filtering as mode for duplicating headers bean in AWS S3 Source
     new 3f1bd8e1 Use filtering as mode for duplicating headers bean in AWS S3 Source
     new 012c973b Use filtering as mode for duplicating headers bean in AWS S3 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/aws-s3-source.kamelet.yaml                                 | 6 ++++++
 .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml          | 6 ++++++
 2 files changed, 12 insertions(+)


[camel-kamelets] 03/04: Use filtering as mode for duplicating headers bean in AWS S3 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 3f1bd8e1ac1b991f5081ec8e001d7d4788187a6f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 6 09:37:06 2022 +0200

    Use filtering as mode for duplicating headers bean in AWS S3 Source
---
 kamelets/aws-s3-source.kamelet.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml
index ac4e6c0e..6ab2bca4 100644
--- a/kamelets/aws-s3-source.kamelet.yaml
+++ b/kamelets/aws-s3-source.kamelet.yaml
@@ -19,6 +19,8 @@ spec:
       The basic authentication method for the S3 service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider.
       
       If you use the default credentials provider, the S3 client loads the credentials through this provider and doesn't use the basic authentication method.
+
+      Two headers will be duplicated with different names for clarity at sink level, CamelAwsS3Key will be duplicated into aws.s3.key and CamelAwsS3BucketName will be duplicated in aws.s3.bucket.name
     required:
       - bucketNameOrArn
       - region


[camel-kamelets] 04/04: Use filtering as mode for duplicating headers bean in AWS S3 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 012c973b8d952d0346f8bfb39d1e92ae61e7cb1c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 6 09:39:18 2022 +0200

    Use filtering as mode for duplicating headers bean in AWS S3 Source
---
 .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml              | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
index ac4e6c0e..6ab2bca4 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
@@ -19,6 +19,8 @@ spec:
       The basic authentication method for the S3 service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider.
       
       If you use the default credentials provider, the S3 client loads the credentials through this provider and doesn't use the basic authentication method.
+
+      Two headers will be duplicated with different names for clarity at sink level, CamelAwsS3Key will be duplicated into aws.s3.key and CamelAwsS3BucketName will be duplicated in aws.s3.bucket.name
     required:
       - bucketNameOrArn
       - region


[camel-kamelets] 02/04: Use filtering as mode for duplicating headers bean in AWS S3 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 b7f149d1f37a9feeda28af2c752d90afb78f236e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 6 09:28:00 2022 +0200

    Use filtering as mode for duplicating headers bean in AWS S3 Source
---
 .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml            | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
index 2428c285..ac4e6c0e 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
@@ -119,6 +119,10 @@ spec:
             value: 'CamelAwsS3'
           - key: renamingPrefix
             value: 'aws.s3.'
+          - key: mode
+            value: 'filtering'
+          - key: selectedHeaders
+            value: 'CamelAwsS3Key,CamelAwsS3BucketName'
     from:
       uri: "aws2-s3:{{bucketNameOrArn}}"
       parameters:


[camel-kamelets] 01/04: Use filtering as mode for duplicating headers bean in AWS S3 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 8cb3493d3a8230d8ebfe29662447bab28480f46f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 6 09:25:12 2022 +0200

    Use filtering as mode for duplicating headers bean in AWS S3 Source
---
 kamelets/aws-s3-source.kamelet.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml
index 2428c285..ac4e6c0e 100644
--- a/kamelets/aws-s3-source.kamelet.yaml
+++ b/kamelets/aws-s3-source.kamelet.yaml
@@ -119,6 +119,10 @@ spec:
             value: 'CamelAwsS3'
           - key: renamingPrefix
             value: 'aws.s3.'
+          - key: mode
+            value: 'filtering'
+          - key: selectedHeaders
+            value: 'CamelAwsS3Key,CamelAwsS3BucketName'
     from:
       uri: "aws2-s3:{{bucketNameOrArn}}"
       parameters: