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/01/26 17:53:45 UTC

[camel-kamelets] branch 0.7.x updated (e0118d2 -> 1c0692c)

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

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


    from e0118d2  RI table
     new 563ef99  Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
     new 8d13dfc  Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
     new 1c0692c  Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source

The 3 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                  | 20 +++++++++++++++-----
 .../resources/kamelets/aws-s3-source.kamelet.yaml    | 20 +++++++++++++++-----
 2 files changed, 30 insertions(+), 10 deletions(-)

[camel-kamelets] 02/03: Support DefaultCredentialProvider in the AWS Kamelets - 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 8d13dfce1629e5d32ce7886e83fb46631f8eb423
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 25 18:30:04 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
---
 kamelets/aws-s3-source.kamelet.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml
index c2f9548..c487507 100644
--- a/kamelets/aws-s3-source.kamelet.yaml
+++ b/kamelets/aws-s3-source.kamelet.yaml
@@ -14,7 +14,11 @@ spec:
   definition:
     title: "AWS S3 Source"
     description: |-
-      Receive data from AWS S3.
+      Receive data from AWS S3 Bucket.
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS S3 Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the S3 client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
     required:
       - bucketNameOrArn
       - region

[camel-kamelets] 03/03: Support DefaultCredentialProvider in the AWS Kamelets - 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 1c0692c1a585e55b221f44c2d8f20004cb46cb98
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 25 18:39:00 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
---
 .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml          | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 c2f9548..c487507 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
@@ -14,7 +14,11 @@ spec:
   definition:
     title: "AWS S3 Source"
     description: |-
-      Receive data from AWS S3.
+      Receive data from AWS S3 Bucket.
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS S3 Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the S3 client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
     required:
       - bucketNameOrArn
       - region

[camel-kamelets] 01/03: Support DefaultCredentialProvider in the AWS Kamelets - 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 563ef99433259e3f2d4ff7328167731696c3c5f8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 25 18:17:44 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
---
 kamelets/aws-s3-source.kamelet.yaml                        | 14 ++++++++++----
 .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml | 14 ++++++++++----
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml
index 92c022c..c2f9548 100644
--- a/kamelets/aws-s3-source.kamelet.yaml
+++ b/kamelets/aws-s3-source.kamelet.yaml
@@ -17,8 +17,6 @@ spec:
       Receive data from AWS S3.
     required:
       - bucketNameOrArn
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -80,6 +78,13 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:aws2-s3"
     - "camel:kamelet"
@@ -88,12 +93,13 @@ spec:
       uri: "aws2-s3:{{bucketNameOrArn}}"
       parameters:
         autoCreateBucket: "{{autoCreateBucket}}"
-        secretKey: "{{secretKey}}"
-        accessKey: "{{accessKey}}"
+        secretKey: "{{?secretKey}}"
+        accessKey: "{{?accessKey}}"
         region: "{{region}}"
         includeBody: "{{includeBody}}"
         ignoreBody: "{{ignoreBody}}"
         deleteAfterRead: "{{deleteAfterRead}}"
         prefix: "{{?prefix}}"
+        useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
       steps:
       - to: "kamelet:sink"
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 92c022c..c2f9548 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
@@ -17,8 +17,6 @@ spec:
       Receive data from AWS S3.
     required:
       - bucketNameOrArn
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -80,6 +78,13 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:aws2-s3"
     - "camel:kamelet"
@@ -88,12 +93,13 @@ spec:
       uri: "aws2-s3:{{bucketNameOrArn}}"
       parameters:
         autoCreateBucket: "{{autoCreateBucket}}"
-        secretKey: "{{secretKey}}"
-        accessKey: "{{accessKey}}"
+        secretKey: "{{?secretKey}}"
+        accessKey: "{{?accessKey}}"
         region: "{{region}}"
         includeBody: "{{includeBody}}"
         ignoreBody: "{{ignoreBody}}"
         deleteAfterRead: "{{deleteAfterRead}}"
         prefix: "{{?prefix}}"
+        useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
       steps:
       - to: "kamelet:sink"