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/02/03 17:22:05 UTC

[camel-kamelets] branch main updated (b90a583 -> 262011e)

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 b90a583  Support DefaultCredentialProvider in the AWS Kamelets - AWS DDB Streams
     new 9cbfa70  Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2
     new a212fdf  Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2
     new 88a11d9  Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Firehose
     new a6ab7fd  Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Firehose
     new b245fe4  Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2
     new 262011e  Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2

The 6 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-ec2-sink.kamelet.yaml                     | 18 ++++++++++++++----
 kamelets/aws-kinesis-firehose-sink.kamelet.yaml        | 18 ++++++++++++++----
 .../main/resources/kamelets/aws-ec2-sink.kamelet.yaml  | 18 ++++++++++++++----
 .../kamelets/aws-kinesis-firehose-sink.kamelet.yaml    | 18 ++++++++++++++----
 4 files changed, 56 insertions(+), 16 deletions(-)

[camel-kamelets] 02/06: Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2

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 a212fdffa09ad27640e53bfbca94a6a919556c9f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 3 14:08:06 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2
---
 .../main/resources/kamelets/aws-ec2-sink.kamelet.yaml  | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml
index c465ab3..79259e0 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml
@@ -33,12 +33,14 @@ spec:
     description: |-
       Check the status of EC2 instances
 
+      Access Key/Secret Key are the basic method for authenticating to the AWS EC2 Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the EC2 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.
+
       The Kamelet expects the following headers to be set:
 
       - `instanceIds` / `ce-instanceids`: as a comma separated list of EC2 instance ids.
     required:
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -63,6 +65,13 @@ spec:
         description: The AWS region to connect to
         type: string
         example: eu-west-1
+      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:core"
     - "camel:aws2-ec2"
@@ -86,7 +95,8 @@ spec:
       - to:
           uri: "aws2-ec2:ec2-route"
           parameters:
-            accessKey: "{{accessKey}}"
-            secretKey: "{{secretKey}}"
+            accessKey: "{{?accessKey}}"
+            secretKey: "{{?secretKey}}"
             region: "{{region}}"
             operation: "describeInstancesStatus"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"

[camel-kamelets] 01/06: Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2

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 9cbfa70b7c6774769296067a0050900ae49f1e11
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 3 14:07:28 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2
---
 kamelets/aws-ec2-sink.kamelet.yaml | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/kamelets/aws-ec2-sink.kamelet.yaml b/kamelets/aws-ec2-sink.kamelet.yaml
index c465ab3..79259e0 100644
--- a/kamelets/aws-ec2-sink.kamelet.yaml
+++ b/kamelets/aws-ec2-sink.kamelet.yaml
@@ -33,12 +33,14 @@ spec:
     description: |-
       Check the status of EC2 instances
 
+      Access Key/Secret Key are the basic method for authenticating to the AWS EC2 Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the EC2 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.
+
       The Kamelet expects the following headers to be set:
 
       - `instanceIds` / `ce-instanceids`: as a comma separated list of EC2 instance ids.
     required:
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -63,6 +65,13 @@ spec:
         description: The AWS region to connect to
         type: string
         example: eu-west-1
+      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:core"
     - "camel:aws2-ec2"
@@ -86,7 +95,8 @@ spec:
       - to:
           uri: "aws2-ec2:ec2-route"
           parameters:
-            accessKey: "{{accessKey}}"
-            secretKey: "{{secretKey}}"
+            accessKey: "{{?accessKey}}"
+            secretKey: "{{?secretKey}}"
             region: "{{region}}"
             operation: "describeInstancesStatus"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"

[camel-kamelets] 04/06: Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Firehose

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 a6ab7fd408c5ee38c5c5350a8e79f3cca101187a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 3 14:11:20 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Firehose
---
 .../kamelets/aws-kinesis-firehose-sink.kamelet.yaml    | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
index 52a9e64..c349574 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
@@ -32,10 +32,12 @@ spec:
     title: AWS Kinesis Firehose Sink
     description: |-
       Send message to an AWS Kinesis Firehose Stream
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS Kinesis Firehose Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the Kinesis Firehose 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:
       - streamName
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -64,6 +66,13 @@ spec:
         description: The AWS region to connect to
         type: string
         example: eu-west-1
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the Kinesis Firehose 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-kinesis"
     - "camel:kamelet"
@@ -74,6 +83,7 @@ spec:
       - to:
           uri: "aws2-kinesis-firehose:{{streamName}}"
           parameters:
-            accessKey: "{{accessKey}}"
-            secretKey: "{{secretKey}}"
+            accessKey: "{{?accessKey}}"
+            secretKey: "{{?secretKey}}"
             region: "{{region}}"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"

[camel-kamelets] 03/06: Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Firehose

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 88a11d99f5ac028ebb30cf43ac6d9d3553a2c8d9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 3 14:10:20 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Firehose
---
 kamelets/aws-kinesis-firehose-sink.kamelet.yaml | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/kamelets/aws-kinesis-firehose-sink.kamelet.yaml b/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
index 52a9e64..c349574 100644
--- a/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
+++ b/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
@@ -32,10 +32,12 @@ spec:
     title: AWS Kinesis Firehose Sink
     description: |-
       Send message to an AWS Kinesis Firehose Stream
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS Kinesis Firehose Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the Kinesis Firehose 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:
       - streamName
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -64,6 +66,13 @@ spec:
         description: The AWS region to connect to
         type: string
         example: eu-west-1
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the Kinesis Firehose 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-kinesis"
     - "camel:kamelet"
@@ -74,6 +83,7 @@ spec:
       - to:
           uri: "aws2-kinesis-firehose:{{streamName}}"
           parameters:
-            accessKey: "{{accessKey}}"
-            secretKey: "{{secretKey}}"
+            accessKey: "{{?accessKey}}"
+            secretKey: "{{?secretKey}}"
             region: "{{region}}"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"

[camel-kamelets] 06/06: Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2

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 262011e2eb03ef3781b7bda6310dfc1fdb16abe7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 3 18:18:56 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2
---
 .../src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml
index 79259e0..6bfed61 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml
@@ -67,7 +67,7 @@ spec:
         example: eu-west-1
       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.
+        description: Set whether the EC2 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'

[camel-kamelets] 05/06: Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2

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 b245fe4d4762edba9e9559ed20ed4cfbce91b2f1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 3 14:11:42 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2
---
 kamelets/aws-ec2-sink.kamelet.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kamelets/aws-ec2-sink.kamelet.yaml b/kamelets/aws-ec2-sink.kamelet.yaml
index 79259e0..6bfed61 100644
--- a/kamelets/aws-ec2-sink.kamelet.yaml
+++ b/kamelets/aws-ec2-sink.kamelet.yaml
@@ -67,7 +67,7 @@ spec:
         example: eu-west-1
       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.
+        description: Set whether the EC2 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'