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/04 13:15:34 UTC
[camel-kamelets] branch 735-cont created (now ed6bf68)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch 735-cont
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git.
at ed6bf68 Support DefaultCredentialProvider in the AWS Kamelets - AWS Lambda
This branch includes the following new commits:
new c47b091 Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
new 5a5e951 Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
new 8003bb0 Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
new 961af1e Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Source
new 13668dc Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Source
new 3e05829 Support DefaultCredentialProvider in the AWS Kamelets - AWS Lambda
new ed6bf68 Support DefaultCredentialProvider in the AWS Kamelets - AWS Lambda
The 7 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] 06/07: Support DefaultCredentialProvider in the AWS Kamelets - AWS Lambda
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 735-cont
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 3e05829d9191e277368d2c0c6a474419533a489d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:11:28 2022 +0100
Support DefaultCredentialProvider in the AWS Kamelets - AWS Lambda
---
kamelets/aws-lambda-sink.kamelet.yaml | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/kamelets/aws-lambda-sink.kamelet.yaml b/kamelets/aws-lambda-sink.kamelet.yaml
index 88061b1..f201cb5 100644
--- a/kamelets/aws-lambda-sink.kamelet.yaml
+++ b/kamelets/aws-lambda-sink.kamelet.yaml
@@ -31,11 +31,13 @@ spec:
definition:
title: AWS Lambda Sink
description: |-
- Send a payload to an AWS Lambda function
+ Send a payload to an AWS Lambda function.
+
+ Access Key/Secret Key are the basic method for authenticating to the AWS Lambda Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+
+ When using a default Credentials Provider the Lambda 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:
- function
- - 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-lambda"
- "camel:kamelet"
@@ -74,6 +83,7 @@ spec:
- to:
uri: "aws2-lambda:{{function}}"
parameters:
- accessKey: "{{accessKey}}"
- secretKey: "{{secretKey}}"
+ accessKey: "{{?accessKey}}"
+ secretKey: "{{?secretKey}}"
region: "{{region}}"
+ useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 02/07: Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 735-cont
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 5a5e951d8f9e953bb8707c38c7eb6f54c9bbaad8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:00:28 2022 +0100
Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
---
kamelets/aws-kinesis-sink.kamelet.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kamelets/aws-kinesis-sink.kamelet.yaml b/kamelets/aws-kinesis-sink.kamelet.yaml
index 4b704b8..bfbea53 100644
--- a/kamelets/aws-kinesis-sink.kamelet.yaml
+++ b/kamelets/aws-kinesis-sink.kamelet.yaml
@@ -125,7 +125,7 @@ spec:
- to:
uri: "aws2-kinesis:{{stream}}"
parameters:
- secretKey: "{{secretKey}}"
- accessKey: "{{accessKey}}"
+ secretKey: "{{?secretKey}}"
+ accessKey: "{{?accessKey}}"
region: "{{region}}"
useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 04/07: Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Source
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 735-cont
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 961af1eb13a0d197fe328ef9462fe92a6554622c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:02:17 2022 +0100
Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Source
---
kamelets/aws-kinesis-source.kamelet.yaml | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/kamelets/aws-kinesis-source.kamelet.yaml b/kamelets/aws-kinesis-source.kamelet.yaml
index 4db12ac..09b5df9 100644
--- a/kamelets/aws-kinesis-source.kamelet.yaml
+++ b/kamelets/aws-kinesis-source.kamelet.yaml
@@ -32,10 +32,12 @@ spec:
title: "AWS Kinesis Source"
description: |-
Receive data from AWS Kinesis.
+
+ Access Key/Secret Key are the basic method for authenticating to the AWS Kinesis Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+
+ When using a default Credentials Provider the Kinesis 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:
- stream
- - 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
types:
out:
mediaType: application/json
@@ -75,9 +84,10 @@ spec:
from:
uri: aws2-kinesis:{{stream}}
parameters:
- secretKey: "{{secretKey}}"
- accessKey: "{{accessKey}}"
+ secretKey: "{{?secretKey}}"
+ accessKey: "{{?accessKey}}"
region: "{{region}}"
+ useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
steps:
- marshal:
json:
[camel-kamelets] 03/07: Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 735-cont
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 8003bb0830823b6c6aeedaefe7a535d8c305c628
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:01:08 2022 +0100
Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
---
.../resources/kamelets/aws-kinesis-sink.kamelet.yaml | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml
index dc5cb58..bfbea53 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml
@@ -33,6 +33,10 @@ spec:
description: |-
Send data to AWS Kinesis.
+ Access Key/Secret Key are the basic method for authenticating to the AWS Kinesis Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+
+ When using a default Credentials Provider the Kinesis 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 header:
- `partition` / `ce-partition`: to set the Kinesis partition key
@@ -46,8 +50,6 @@ spec:
This header is optional.
required:
- stream
- - accessKey
- - secretKey
- region
type: object
properties:
@@ -76,6 +78,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:core"
- "camel:aws2-kinesis"
@@ -116,6 +125,7 @@ spec:
- to:
uri: "aws2-kinesis:{{stream}}"
parameters:
- secretKey: "{{secretKey}}"
- accessKey: "{{accessKey}}"
+ secretKey: "{{?secretKey}}"
+ accessKey: "{{?accessKey}}"
region: "{{region}}"
+ useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 05/07: Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Source
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 735-cont
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 13668dce899a843af202150910042bba270895eb
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:06:36 2022 +0100
Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Source
---
.../resources/kamelets/aws-kinesis-source.kamelet.yaml | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
index 4db12ac..09b5df9 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
@@ -32,10 +32,12 @@ spec:
title: "AWS Kinesis Source"
description: |-
Receive data from AWS Kinesis.
+
+ Access Key/Secret Key are the basic method for authenticating to the AWS Kinesis Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+
+ When using a default Credentials Provider the Kinesis 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:
- stream
- - 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
types:
out:
mediaType: application/json
@@ -75,9 +84,10 @@ spec:
from:
uri: aws2-kinesis:{{stream}}
parameters:
- secretKey: "{{secretKey}}"
- accessKey: "{{accessKey}}"
+ secretKey: "{{?secretKey}}"
+ accessKey: "{{?accessKey}}"
region: "{{region}}"
+ useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
steps:
- marshal:
json:
[camel-kamelets] 07/07: Support DefaultCredentialProvider in the AWS Kamelets - AWS Lambda
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 735-cont
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit ed6bf683c406e26846fd0c0b153985e9d167d821
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:11:56 2022 +0100
Support DefaultCredentialProvider in the AWS Kamelets - AWS Lambda
---
.../resources/kamelets/aws-lambda-sink.kamelet.yaml | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml
index 88061b1..f201cb5 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml
@@ -31,11 +31,13 @@ spec:
definition:
title: AWS Lambda Sink
description: |-
- Send a payload to an AWS Lambda function
+ Send a payload to an AWS Lambda function.
+
+ Access Key/Secret Key are the basic method for authenticating to the AWS Lambda Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+
+ When using a default Credentials Provider the Lambda 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:
- function
- - 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-lambda"
- "camel:kamelet"
@@ -74,6 +83,7 @@ spec:
- to:
uri: "aws2-lambda:{{function}}"
parameters:
- accessKey: "{{accessKey}}"
- secretKey: "{{secretKey}}"
+ accessKey: "{{?accessKey}}"
+ secretKey: "{{?secretKey}}"
region: "{{region}}"
+ useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 01/07: Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 735-cont
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit c47b091d02a9e97aaee92f8393794d4e3af1d71e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 13:59:33 2022 +0100
Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
---
kamelets/aws-kinesis-sink.kamelet.yaml | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/kamelets/aws-kinesis-sink.kamelet.yaml b/kamelets/aws-kinesis-sink.kamelet.yaml
index dc5cb58..4b704b8 100644
--- a/kamelets/aws-kinesis-sink.kamelet.yaml
+++ b/kamelets/aws-kinesis-sink.kamelet.yaml
@@ -33,6 +33,10 @@ spec:
description: |-
Send data to AWS Kinesis.
+ Access Key/Secret Key are the basic method for authenticating to the AWS Kinesis Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+
+ When using a default Credentials Provider the Kinesis 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 header:
- `partition` / `ce-partition`: to set the Kinesis partition key
@@ -46,8 +50,6 @@ spec:
This header is optional.
required:
- stream
- - accessKey
- - secretKey
- region
type: object
properties:
@@ -76,6 +78,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:core"
- "camel:aws2-kinesis"
@@ -119,3 +128,4 @@ spec:
secretKey: "{{secretKey}}"
accessKey: "{{accessKey}}"
region: "{{region}}"
+ useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"