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 2025/01/14 14:40:19 UTC
(camel-kamelets) branch 2345-5 created (now d979cd3e)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch 2345-5
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
at d979cd3e Kamelets Catalog - Make the description a one liner - AWS Redshift Source
This branch includes the following new commits:
new 6ffb8fa3 Kamelets Catalog - Make the description a one liner - AWS Lambda Sink
new a364ff3a Kamelets Catalog - Make the description a one liner - AWS Redshift Sink
new d979cd3e Kamelets Catalog - Make the description a one liner - AWS Redshift 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.
(camel-kamelets) 02/03: Kamelets Catalog - Make the description a one liner - AWS Redshift Sink
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 2345-5
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit a364ff3a4956427272818eea029083fd92ee7ee7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 14 15:33:11 2025 +0100
Kamelets Catalog - Make the description a one liner - AWS Redshift Sink
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../partials/aws-redshift-sink-description.adoc | 36 ++++++++++++++++++++++
kamelets/aws-redshift-sink.kamelet.yaml | 11 +------
.../kamelets/aws-redshift-sink.kamelet.yaml | 11 +------
3 files changed, 38 insertions(+), 20 deletions(-)
diff --git a/docs/modules/ROOT/partials/aws-redshift-sink-description.adoc b/docs/modules/ROOT/partials/aws-redshift-sink-description.adoc
new file mode 100644
index 00000000..b339cf9a
--- /dev/null
+++ b/docs/modules/ROOT/partials/aws-redshift-sink-description.adoc
@@ -0,0 +1,36 @@
+== AWS Redshift Sink Kamelet Description
+
+=== Authentication methods
+
+In this Kamelet you have the possibility of avoiding the usage of explicit static credentials by specifying the useDefaultCredentialsProvider option and set it to true.
+
+The order of evaluation for Default Credentials Provider is the following:
+
+ - Java system properties - `aws.accessKeyId` and `aws.secretKey`.
+ - Environment variables - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
+ - Web Identity Token from AWS STS.
+ - The shared credentials and config files.
+ - Amazon ECS container credentials - loaded from the Amazon ECS if the environment variable `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` is set.
+ - Amazon EC2 Instance profile credentials.
+
+You have also the possibility of using Profile Credentials Provider, by specifying the useProfileCredentialsProvider option to true and profileCredentialsName to the profile name.
+
+Only one of access key/secret key or default credentials provider could be used
+
+For more information about this you can look at https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials.html[AWS credentials documentation]
+
+=== Expected Data format for sink
+
+The Kamelet expects a JSON-formatted body. Use key:value pairs to map the JSON fields and parameters. For example, here is a query:
+
+[source,sql]
+----
+'INSERT INTO accounts (username,city) VALUES (:#username,:#city)'
+----
+
+Here is example input for the example query:
+
+[source,json]
+----
+'{ "username":"oscerd", "city":"Rome"}'
+----
diff --git a/kamelets/aws-redshift-sink.kamelet.yaml b/kamelets/aws-redshift-sink.kamelet.yaml
index a1f598ae..2f24ee2b 100644
--- a/kamelets/aws-redshift-sink.kamelet.yaml
+++ b/kamelets/aws-redshift-sink.kamelet.yaml
@@ -30,16 +30,7 @@ metadata:
spec:
definition:
title: "AWS Redshift Sink"
- description: |-
- Send data to an AWS Redshift Database.
-
- This Kamelet expects a JSON-formatted body. Use key:value pairs to map the JSON fields and parameters. For example, here is a query:
-
- 'INSERT INTO accounts (username,city) VALUES (:#username,:#city)'
-
- Here is example input for the example query:
-
- '{ "username":"oscerd", "city":"Rome"}'
+ description: Send data to an AWS Redshift Database.
required:
- serverName
- username
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-sink.kamelet.yaml
index a1f598ae..2f24ee2b 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-sink.kamelet.yaml
@@ -30,16 +30,7 @@ metadata:
spec:
definition:
title: "AWS Redshift Sink"
- description: |-
- Send data to an AWS Redshift Database.
-
- This Kamelet expects a JSON-formatted body. Use key:value pairs to map the JSON fields and parameters. For example, here is a query:
-
- 'INSERT INTO accounts (username,city) VALUES (:#username,:#city)'
-
- Here is example input for the example query:
-
- '{ "username":"oscerd", "city":"Rome"}'
+ description: Send data to an AWS Redshift Database.
required:
- serverName
- username
(camel-kamelets) 01/03: Kamelets Catalog - Make the description a one liner - AWS Lambda Sink
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 2345-5
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 6ffb8fa3a961026500c9f7c60cef4df0e6bd3cb9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 14 15:29:30 2025 +0100
Kamelets Catalog - Make the description a one liner - AWS Lambda Sink
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../ROOT/partials/aws-lambda-sink-description.adoc | 20 ++++++++++++++++++++
kamelets/aws-lambda-sink.kamelet.yaml | 7 +------
.../resources/kamelets/aws-lambda-sink.kamelet.yaml | 7 +------
3 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/docs/modules/ROOT/partials/aws-lambda-sink-description.adoc b/docs/modules/ROOT/partials/aws-lambda-sink-description.adoc
new file mode 100644
index 00000000..b96fed38
--- /dev/null
+++ b/docs/modules/ROOT/partials/aws-lambda-sink-description.adoc
@@ -0,0 +1,20 @@
+== AWS Lambda Sink Kamelet Description
+
+=== Authentication methods
+
+In this Kamelet you have the possibility of avoiding the usage of explicit static credentials by specifying the useDefaultCredentialsProvider option and set it to true.
+
+The order of evaluation for Default Credentials Provider is the following:
+
+ - Java system properties - `aws.accessKeyId` and `aws.secretKey`.
+ - Environment variables - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
+ - Web Identity Token from AWS STS.
+ - The shared credentials and config files.
+ - Amazon ECS container credentials - loaded from the Amazon ECS if the environment variable `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` is set.
+ - Amazon EC2 Instance profile credentials.
+
+You have also the possibility of using Profile Credentials Provider, by specifying the useProfileCredentialsProvider option to true and profileCredentialsName to the profile name.
+
+Only one of access key/secret key or default credentials provider could be used
+
+For more information about this you can look at https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials.html[AWS credentials documentation]
diff --git a/kamelets/aws-lambda-sink.kamelet.yaml b/kamelets/aws-lambda-sink.kamelet.yaml
index 1175f6f8..ec6fab40 100644
--- a/kamelets/aws-lambda-sink.kamelet.yaml
+++ b/kamelets/aws-lambda-sink.kamelet.yaml
@@ -31,12 +31,7 @@ metadata:
spec:
definition:
title: AWS Lambda Sink
- description: |-
- Send a payload to an AWS Lambda function.
-
- The basic authentication method for the Lambda 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 Lambda client loads the credentials through this provider and doesn't use the basic authentication method.
+ description: Send a payload to an AWS Lambda function.
required:
- function
- region
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 1175f6f8..ec6fab40 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,12 +31,7 @@ metadata:
spec:
definition:
title: AWS Lambda Sink
- description: |-
- Send a payload to an AWS Lambda function.
-
- The basic authentication method for the Lambda 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 Lambda client loads the credentials through this provider and doesn't use the basic authentication method.
+ description: Send a payload to an AWS Lambda function.
required:
- function
- region
(camel-kamelets) 03/03: Kamelets Catalog - Make the description a one liner - AWS Redshift Source
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 2345-5
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit d979cd3e99e649c113870524c8d77f5efb6fdb32
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 14 15:40:01 2025 +0100
Kamelets Catalog - Make the description a one liner - AWS Redshift Source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../partials/aws-redshift-source-description.adoc | 20 ++++++++++++++++++++
kamelets/aws-redshift-source.kamelet.yaml | 3 +--
.../kamelets/aws-redshift-source.kamelet.yaml | 3 +--
3 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/docs/modules/ROOT/partials/aws-redshift-source-description.adoc b/docs/modules/ROOT/partials/aws-redshift-source-description.adoc
new file mode 100644
index 00000000..0887558b
--- /dev/null
+++ b/docs/modules/ROOT/partials/aws-redshift-source-description.adoc
@@ -0,0 +1,20 @@
+== AWS Redshift Source Kamelet Description
+
+=== Authentication methods
+
+In this Kamelet you have the possibility of avoiding the usage of explicit static credentials by specifying the useDefaultCredentialsProvider option and set it to true.
+
+The order of evaluation for Default Credentials Provider is the following:
+
+ - Java system properties - `aws.accessKeyId` and `aws.secretKey`.
+ - Environment variables - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
+ - Web Identity Token from AWS STS.
+ - The shared credentials and config files.
+ - Amazon ECS container credentials - loaded from the Amazon ECS if the environment variable `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` is set.
+ - Amazon EC2 Instance profile credentials.
+
+You have also the possibility of using Profile Credentials Provider, by specifying the useProfileCredentialsProvider option to true and profileCredentialsName to the profile name.
+
+Only one of access key/secret key or default credentials provider could be used
+
+For more information about this you can look at https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials.html[AWS credentials documentation]
diff --git a/kamelets/aws-redshift-source.kamelet.yaml b/kamelets/aws-redshift-source.kamelet.yaml
index 2a3ee809..8e1b4932 100644
--- a/kamelets/aws-redshift-source.kamelet.yaml
+++ b/kamelets/aws-redshift-source.kamelet.yaml
@@ -30,8 +30,7 @@ metadata:
spec:
definition:
title: "AWS Redshift Source"
- description: |-
- Query data from an AWS RedShift Database.
+ description: Query data from an AWS RedShift Database.
required:
- serverName
- username
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml
index 2a3ee809..8e1b4932 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml
@@ -30,8 +30,7 @@ metadata:
spec:
definition:
title: "AWS Redshift Source"
- description: |-
- Query data from an AWS RedShift Database.
+ description: Query data from an AWS RedShift Database.
required:
- serverName
- username