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:58:52 UTC
[camel-kamelets] branch 0.7.x updated (ccb5203 -> 2c8256c)
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 ccb5203 Support DefaultCredentialProvider in the AWS Kamelets - AWS EC2
new a1fdaef Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
new 5a32921 Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
new a3304a2 Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Sink
new 1a24793 Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Source
new f13263e Support DefaultCredentialProvider in the AWS Kamelets - AWS Kinesis Source
new 87f5540 Support DefaultCredentialProvider in the AWS Kamelets - AWS Lambda
new c07e4f5 Support DefaultCredentialProvider in the AWS Kamelets - AWS Lambda
new 2c8256c Regen
The 8 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-kinesis-sink.kamelet.yaml | 18 ++++++++++++++----
kamelets/aws-kinesis-source.kamelet.yaml | 18 ++++++++++++++----
kamelets/aws-lambda-sink.kamelet.yaml | 20 +++++++++++++++-----
.../kamelets/aws-cloudwatch-sink.kamelet.yaml | 1 +
.../resources/kamelets/aws-ec2-sink.kamelet.yaml | 1 +
.../resources/kamelets/aws-kinesis-sink.kamelet.yaml | 19 +++++++++++++++----
.../kamelets/aws-kinesis-source.kamelet.yaml | 18 ++++++++++++++----
.../resources/kamelets/aws-lambda-sink.kamelet.yaml | 20 +++++++++++++++-----
.../main/resources/kamelets/aws-s3-sink.kamelet.yaml | 1 +
.../kamelets/aws-secrets-manager-sink.kamelet.yaml | 1 +
.../resources/kamelets/aws-ses-sink.kamelet.yaml | 1 +
.../resources/kamelets/aws-sns-sink.kamelet.yaml | 1 +
.../kamelets/azure-storage-queue-sink.kamelet.yaml | 1 +
.../resources/kamelets/caffeine-action.kamelet.yaml | 1 +
.../resources/kamelets/dns-dig-action.kamelet.yaml | 1 +
.../resources/kamelets/dns-ip-action.kamelet.yaml | 1 +
.../kamelets/dns-lookup-action.kamelet.yaml | 1 +
.../resources/kamelets/dropbox-sink.kamelet.yaml | 1 +
.../kamelets/elasticsearch-index-sink.kamelet.yaml | 1 +
.../kamelets/google-storage-sink.kamelet.yaml | 1 +
.../kamelets/kafka-not-secured-sink.kamelet.yaml | 1 +
.../main/resources/kamelets/kafka-sink.kamelet.yaml | 1 +
.../main/resources/kamelets/minio-sink.kamelet.yaml | 1 +
.../resources/kamelets/mongodb-sink.kamelet.yaml | 1 +
.../resources/kamelets/telegram-sink.kamelet.yaml | 1 +
.../resources/kamelets/wttrin-source.kamelet.yaml | 1 +
26 files changed, 107 insertions(+), 26 deletions(-)
[camel-kamelets] 01/08: 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit a1fdaefe19b8eb588abcfa810d1874e24d17e6af
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 ef525e9..aae747a 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}}"
[camel-kamelets] 04/08: 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 1a24793944c8ae03f94e5c88bda3278d33cf4da9
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 f36432c..6f2bd82 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] 08/08: Regen
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 2c8256c64ec83777256c1d902011bf90c04a414a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:17:52 2022 +0100
Regen
---
.../src/main/resources/kamelets/aws-cloudwatch-sink.kamelet.yaml | 1 +
.../camel-kamelets/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml | 1 +
.../src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml | 1 +
.../camel-kamelets/src/main/resources/kamelets/aws-s3-sink.kamelet.yaml | 1 +
.../src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml | 1 +
.../camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml | 1 +
.../camel-kamelets/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml | 1 +
.../src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml | 1 +
.../src/main/resources/kamelets/caffeine-action.kamelet.yaml | 1 +
.../src/main/resources/kamelets/dns-dig-action.kamelet.yaml | 1 +
.../src/main/resources/kamelets/dns-ip-action.kamelet.yaml | 1 +
.../src/main/resources/kamelets/dns-lookup-action.kamelet.yaml | 1 +
.../camel-kamelets/src/main/resources/kamelets/dropbox-sink.kamelet.yaml | 1 +
.../src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml | 1 +
.../src/main/resources/kamelets/google-storage-sink.kamelet.yaml | 1 +
.../src/main/resources/kamelets/kafka-not-secured-sink.kamelet.yaml | 1 +
.../camel-kamelets/src/main/resources/kamelets/kafka-sink.kamelet.yaml | 1 +
.../camel-kamelets/src/main/resources/kamelets/minio-sink.kamelet.yaml | 1 +
.../camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml | 1 +
.../src/main/resources/kamelets/telegram-sink.kamelet.yaml | 1 +
.../src/main/resources/kamelets/wttrin-source.kamelet.yaml | 1 +
21 files changed, 21 insertions(+)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-cloudwatch-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-cloudwatch-sink.kamelet.yaml
index f4cabc0..50aa7b1 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-cloudwatch-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-cloudwatch-sink.kamelet.yaml
@@ -86,6 +86,7 @@ spec:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
dependencies:
+ - "camel:core"
- "camel:aws2-cw"
- "camel:kamelet"
template:
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 f73d9b2..fae288e 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
@@ -73,6 +73,7 @@ spec:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
dependencies:
+ - "camel:core"
- "camel:aws2-ec2"
- "camel:kamelet"
template:
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 e27a6a2..6e91a07 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
@@ -86,6 +86,7 @@ spec:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
dependencies:
+ - "camel:core"
- "camel:aws2-kinesis"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-sink.kamelet.yaml
index acced26..19dbae2 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-sink.kamelet.yaml
@@ -87,6 +87,7 @@ spec:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
dependencies:
+ - "camel:core"
- "camel:aws2-s3"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
index b5b5b35..9a4addd 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
@@ -66,6 +66,7 @@ spec:
type: string
example: eu-west-1
dependencies:
+ - "camel:core"
- "camel:aws-secrets-manager"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
index 631e1ee..1330b4e 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
@@ -77,6 +77,7 @@ spec:
type: string
example: eu-west-1
dependencies:
+ - "camel:core"
- "camel:aws2-ses"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml
index a247023..aea855f 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml
@@ -76,6 +76,7 @@ spec:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
dependencies:
+ - "camel:core"
- "camel:aws2-sns"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml
index cb0af30..37b4d22 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml
@@ -65,6 +65,7 @@ spec:
- urn:alm:descriptor:com.tectonic.ui:password
- urn:camel:group:credentials
dependencies:
+ - "camel:core"
- "camel:azure-storage-queue"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/caffeine-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/caffeine-action.kamelet.yaml
index d92eef7..e60cc67 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/caffeine-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/caffeine-action.kamelet.yaml
@@ -51,6 +51,7 @@ spec:
type: string
default: caffeine-cache
dependencies:
+ - "camel:core"
- "camel:caffeine"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/dns-dig-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/dns-dig-action.kamelet.yaml
index a57afea..ad32300 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/dns-dig-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/dns-dig-action.kamelet.yaml
@@ -43,6 +43,7 @@ spec:
If the dns-type header won't be set, the DNS Type A will be used.
type: object
dependencies:
+ - "camel:core"
- "camel:dns"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/dns-ip-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/dns-ip-action.kamelet.yaml
index 8ef7011..c7769ae 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/dns-ip-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/dns-ip-action.kamelet.yaml
@@ -39,6 +39,7 @@ spec:
If the header won't be set the body will be used as domain to look for.
type: object
dependencies:
+ - "camel:core"
- "camel:dns"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/dns-lookup-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/dns-lookup-action.kamelet.yaml
index 372c15d..ed11d48 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/dns-lookup-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/dns-lookup-action.kamelet.yaml
@@ -42,6 +42,7 @@ spec:
out:
mediaType: application/json
dependencies:
+ - "camel:core"
- "camel:jackson"
- "camel:dns"
- "camel:kamelet"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/dropbox-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/dropbox-sink.kamelet.yaml
index e841b63..e84428d 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/dropbox-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/dropbox-sink.kamelet.yaml
@@ -68,6 +68,7 @@ spec:
type: string
default: add
dependencies:
+ - "camel:core"
- "camel:dropbox"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml
index 2b24b7c..c1e6836 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml
@@ -88,6 +88,7 @@ spec:
in:
mediaType: application/json
dependencies:
+ - "camel:core"
- "camel:jackson"
- "camel:kamelet"
- "camel:elasticsearch-rest"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-storage-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-storage-sink.kamelet.yaml
index ec9f091..313ba8a 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/google-storage-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/google-storage-sink.kamelet.yaml
@@ -60,6 +60,7 @@ spec:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
dependencies:
+ - "camel:core"
- "camel:kamelet"
- "camel:google-storage"
- "camel:jackson"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-sink.kamelet.yaml
index 0c6dd48..b153742 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-sink.kamelet.yaml
@@ -53,6 +53,7 @@ spec:
description: Comma separated list of Kafka Broker URLs
type: string
dependencies:
+ - "camel:core"
- "camel:kafka"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-sink.kamelet.yaml
index 93ca411..13c54e7 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-sink.kamelet.yaml
@@ -79,6 +79,7 @@ spec:
- urn:alm:descriptor:com.tectonic.ui:password
- urn:camel:group:credentials
dependencies:
+ - "camel:core"
- "camel:kafka"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/minio-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/minio-sink.kamelet.yaml
index 6f46a2a..204bc69 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/minio-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/minio-sink.kamelet.yaml
@@ -77,6 +77,7 @@ spec:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
dependencies:
+ - "camel:core"
- "camel:minio"
- "camel:kamelet"
template:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml
index 8d8ce71..aa3cc74 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml
@@ -84,6 +84,7 @@ spec:
in:
mediaType: application/json
dependencies:
+ - "camel:core"
- "camel:kamelet"
- "camel:mongodb"
- "camel:jackson"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/telegram-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/telegram-sink.kamelet.yaml
index be5a967..fa4d7a9 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/telegram-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/telegram-sink.kamelet.yaml
@@ -64,6 +64,7 @@ spec:
out:
mediaType: application/json
dependencies:
+ - "camel:core"
- "camel:jackson"
- "camel:kamelet"
- "camel:telegram"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/wttrin-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/wttrin-source.kamelet.yaml
index 5f6409d..31aa3a1 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/wttrin-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/wttrin-source.kamelet.yaml
@@ -58,6 +58,7 @@ spec:
out:
mediaType: application/json
dependencies:
+ - "camel:core"
- "camel:http"
- "camel:jackson"
- "camel:jsonpath"
[camel-kamelets] 06/08: 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 87f554050f884f674019d640a2ca82117e43d2d0
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 f71a5ec..9db1c2e 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] 05/08: 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit f13263e704481a49182f52212f7a80c604a45894
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 f36432c..6f2bd82 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] 02/08: 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 5a32921ad537be191cd2b3b0ae962c091edc619f
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 aae747a..6e91a07 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] 07/08: 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit c07e4f56cd02a8a7551b75b02117535500c39b0c
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 f71a5ec..9db1c2e 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] 03/08: 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit a3304a24bf62f5fba8d9d6533ed40145f091de4a
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 710fa10..e27a6a2 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:aws2-kinesis"
- "camel:kamelet"
@@ -115,6 +124,7 @@ spec:
- to:
uri: "aws2-kinesis:{{stream}}"
parameters:
- secretKey: "{{secretKey}}"
- accessKey: "{{accessKey}}"
+ secretKey: "{{?secretKey}}"
+ accessKey: "{{?accessKey}}"
region: "{{region}}"
+ useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"