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/13 11:59:45 UTC
(camel-kamelets) branch main updated (37b1f7ab -> e419bb0d)
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 37b1f7ab Kamelets Catalog - Make the description a one liner - AWS CloudWatch Sink
new 5d80c285 Kamelets Catalog - Make the description a one liner - AWS DDB Sink
new 939fc3fa Kamelets Catalog - Make the description a one liner - AWS DDB Streams Source
new 42774fe8 Kamelets Catalog - Make the description a one liner - AWS DDB Streams Source
new e419bb0d Kamelets Catalog - Make the description a one liner - AWS EC2 Sink
The 4 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:
...cription.adoc => aws-ddb-sink-description.adoc} | 30 ++++++++++++++--------
...doc => aws-ddb-streams-source-description.adoc} | 2 +-
...cription.adoc => aws-ec2-sink-description.adoc} | 8 +++++-
kamelets/aws-ddb-sink.kamelet.yaml | 20 +--------------
kamelets/aws-ddb-streams-source.kamelet.yaml | 7 +----
kamelets/aws-ec2-sink.kamelet.yaml | 11 +-------
.../resources/kamelets/aws-ddb-sink.kamelet.yaml | 20 +--------------
.../kamelets/aws-ddb-streams-source.kamelet.yaml | 7 +----
.../resources/kamelets/aws-ec2-sink.kamelet.yaml | 11 +-------
9 files changed, 33 insertions(+), 83 deletions(-)
copy docs/modules/ROOT/partials/{aws-cloudwatch-sink-description.adoc => aws-ddb-sink-description.adoc} (50%)
copy docs/modules/ROOT/partials/{aws-bedrock-text-sink-description.adoc => aws-ddb-streams-source-description.adoc} (95%)
copy docs/modules/ROOT/partials/{aws-bedrock-agent-runtime-sink-description.adoc => aws-ec2-sink-description.adoc} (84%)
(camel-kamelets) 01/04: Kamelets Catalog - Make the description a one liner - AWS DDB Sink
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 5d80c2856cb84bdfb5915b1c21eddc2e6104ad5f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 13 12:16:34 2025 +0100
Kamelets Catalog - Make the description a one liner - AWS DDB Sink
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../ROOT/partials/aws-ddb-sink-description.adoc | 39 ++++++++++++++++++++++
kamelets/aws-ddb-sink.kamelet.yaml | 20 +----------
.../resources/kamelets/aws-ddb-sink.kamelet.yaml | 20 +----------
3 files changed, 41 insertions(+), 38 deletions(-)
diff --git a/docs/modules/ROOT/partials/aws-ddb-sink-description.adoc b/docs/modules/ROOT/partials/aws-ddb-sink-description.adoc
new file mode 100644
index 00000000..c5dd934a
--- /dev/null
+++ b/docs/modules/ROOT/partials/aws-ddb-sink-description.adoc
@@ -0,0 +1,39 @@
+== AWS DynamoDB 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
+
+This Kamelet expects a JSON-formatted body and it must include the primary key values that define the DynamoDB item. The mapping between the JSON fields and table attribute values is done by key. For example, for '{"username":"oscerd", "city":"Rome"}' input, the Kamelet inserts or update an item in the specified AWS DynamoDB table and sets the values for the 'username' and 'city' attributes.
+
+For PutItem operation the Json body defines all item attributes.
+For DeleteItem operation the Json body defines only the primary key attributes that identify the item to delete.
+For UpdateItem operation the Json body defines both key attributes to identify the item to be updated and all item attributes tht get updated on the item.
+
+The given Json body can use "operation", "key" and "item" as top level properties that will be mapped to respective attribute value maps.
+
+[source,json]
+----
+ {
+ "operation": "PutItem"
+ "key": {},
+ "item": {}
+ }
+----
diff --git a/kamelets/aws-ddb-sink.kamelet.yaml b/kamelets/aws-ddb-sink.kamelet.yaml
index 0cb5da20..42335de4 100644
--- a/kamelets/aws-ddb-sink.kamelet.yaml
+++ b/kamelets/aws-ddb-sink.kamelet.yaml
@@ -31,25 +31,7 @@ metadata:
spec:
definition:
title: "AWS DynamoDB Sink"
- description: |-
- Send data to Amazon DynamoDB. The sent data inserts, updates, or deletes an item on the specified AWS DynamoDB table.
-
- The basic authentication method for the AWS DynamoDB 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 DynamoDB client loads the credentials through this provider and doesn't use the basic authentication method.
-
- This Kamelet expects a JSON-formatted body and it must include the primary key values that define the DynamoDB item. The mapping between the JSON fields and table attribute values is done by key. For example, for '{"username":"oscerd", "city":"Rome"}' input, the Kamelet inserts or update an item in the specified AWS DynamoDB table and sets the values for the 'username' and 'city' attributes.
-
- For PutItem operation the Json body defines all item attributes.
- For DeleteItem operation the Json body defines only the primary key attributes that identify the item to delete.
- For UpdateItem operation the Json body defines both key attributes to identify the item to be updated and all item attributes tht get updated on the item.
-
- The given Json body can use "operation", "key" and "item" as top level properties that will be mapped to respective attribute value maps.
- {
- "operation": "PutItem"
- "key": {},
- "item": {}
- }
+ description: Send data to Amazon DynamoDB. The sent data inserts, updates, or deletes an item on the specified AWS DynamoDB table.
required:
- table
- region
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
index 0cb5da20..42335de4 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
@@ -31,25 +31,7 @@ metadata:
spec:
definition:
title: "AWS DynamoDB Sink"
- description: |-
- Send data to Amazon DynamoDB. The sent data inserts, updates, or deletes an item on the specified AWS DynamoDB table.
-
- The basic authentication method for the AWS DynamoDB 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 DynamoDB client loads the credentials through this provider and doesn't use the basic authentication method.
-
- This Kamelet expects a JSON-formatted body and it must include the primary key values that define the DynamoDB item. The mapping between the JSON fields and table attribute values is done by key. For example, for '{"username":"oscerd", "city":"Rome"}' input, the Kamelet inserts or update an item in the specified AWS DynamoDB table and sets the values for the 'username' and 'city' attributes.
-
- For PutItem operation the Json body defines all item attributes.
- For DeleteItem operation the Json body defines only the primary key attributes that identify the item to delete.
- For UpdateItem operation the Json body defines both key attributes to identify the item to be updated and all item attributes tht get updated on the item.
-
- The given Json body can use "operation", "key" and "item" as top level properties that will be mapped to respective attribute value maps.
- {
- "operation": "PutItem"
- "key": {},
- "item": {}
- }
+ description: Send data to Amazon DynamoDB. The sent data inserts, updates, or deletes an item on the specified AWS DynamoDB table.
required:
- table
- region
(camel-kamelets) 03/04: Kamelets Catalog - Make the description a one liner - AWS DDB Streams Source
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 42774fe8352d0035193f4faff7917b0446e2462e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 13 12:44:17 2025 +0100
Kamelets Catalog - Make the description a one liner - AWS DDB Streams Source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../partials/aws-ddb-streams-source-description.adoc | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/docs/modules/ROOT/partials/aws-ddb-streams-source-description.adoc b/docs/modules/ROOT/partials/aws-ddb-streams-source-description.adoc
new file mode 100644
index 00000000..3dffe885
--- /dev/null
+++ b/docs/modules/ROOT/partials/aws-ddb-streams-source-description.adoc
@@ -0,0 +1,20 @@
+== AWS DynamoDB Streams 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]
(camel-kamelets) 04/04: Kamelets Catalog - Make the description a one liner - AWS EC2 Sink
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 e419bb0daae84b1acece7870ce24921d67329438
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 13 12:56:45 2025 +0100
Kamelets Catalog - Make the description a one liner - AWS EC2 Sink
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../ROOT/partials/aws-ec2-sink-description.adoc | 26 ++++++++++++++++++++++
kamelets/aws-ec2-sink.kamelet.yaml | 11 +--------
.../resources/kamelets/aws-ec2-sink.kamelet.yaml | 11 +--------
3 files changed, 28 insertions(+), 20 deletions(-)
diff --git a/docs/modules/ROOT/partials/aws-ec2-sink-description.adoc b/docs/modules/ROOT/partials/aws-ec2-sink-description.adoc
new file mode 100644
index 00000000..11bc3842
--- /dev/null
+++ b/docs/modules/ROOT/partials/aws-ec2-sink-description.adoc
@@ -0,0 +1,26 @@
+== AWS EC2 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]
+
+=== Required Headers
+
+The Kamelet expects the following headers to be set:
+
+- `instanceIds` / `ce-instanceids`: as a comma separated list of EC2 instance ids.
diff --git a/kamelets/aws-ec2-sink.kamelet.yaml b/kamelets/aws-ec2-sink.kamelet.yaml
index 08caaaf1..ba280c22 100644
--- a/kamelets/aws-ec2-sink.kamelet.yaml
+++ b/kamelets/aws-ec2-sink.kamelet.yaml
@@ -31,16 +31,7 @@ metadata:
spec:
definition:
title: AWS EC2 Sink
- 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 provides 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.
+ description: Check the status of EC2 instances
required:
- region
type: object
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 08caaaf1..ba280c22 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
@@ -31,16 +31,7 @@ metadata:
spec:
definition:
title: AWS EC2 Sink
- 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 provides 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.
+ description: Check the status of EC2 instances
required:
- region
type: object
(camel-kamelets) 02/04: Kamelets Catalog - Make the description a one liner - AWS DDB Streams Source
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 939fc3fa7bc3df4bd314b831d9e28932d2da90f6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 13 12:29:36 2025 +0100
Kamelets Catalog - Make the description a one liner - AWS DDB Streams Source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/aws-ddb-streams-source.kamelet.yaml | 7 +------
.../main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml | 7 +------
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/kamelets/aws-ddb-streams-source.kamelet.yaml b/kamelets/aws-ddb-streams-source.kamelet.yaml
index d4148b57..318b7d7f 100644
--- a/kamelets/aws-ddb-streams-source.kamelet.yaml
+++ b/kamelets/aws-ddb-streams-source.kamelet.yaml
@@ -31,12 +31,7 @@ metadata:
spec:
definition:
title: "AWS DynamoDB Streams Source"
- description: |-
- Receive events from Amazon DynamoDB Streams.
-
- The basic authentication method for the AWS DynamoDB Streams 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 DynamoDB Streams client loads the credentials through this provider and doesn't use the basic authentication method.
+ description: Receive events from Amazon DynamoDB Streams.
required:
- table
- region
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
index d4148b57..318b7d7f 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
@@ -31,12 +31,7 @@ metadata:
spec:
definition:
title: "AWS DynamoDB Streams Source"
- description: |-
- Receive events from Amazon DynamoDB Streams.
-
- The basic authentication method for the AWS DynamoDB Streams 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 DynamoDB Streams client loads the credentials through this provider and doesn't use the basic authentication method.
+ description: Receive events from Amazon DynamoDB Streams.
required:
- table
- region