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 2023/04/12 13:04:00 UTC

[camel-kamelets] branch 3.x updated (2b28df2f -> c39273fd)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch 3.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


    from 2b28df2f Fix typo in description of telegram source kamelet
     new 17e91f29 DynamoDB Sink Kamelet: Improved description for put, update and delete item operation
     new c39273fd Regen

The 2 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-ddb-sink.kamelet.yaml                             | 10 ++++++++++
 .../src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml      | 10 ++++++++++
 .../src/main/resources/kamelets/telegram-source.kamelet.yaml   |  2 +-
 3 files changed, 21 insertions(+), 1 deletion(-)


[camel-kamelets] 02/02: Regen

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit c39273fdd6e8e23294551734c352babfe42a4402
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Apr 12 14:58:19 2023 +0200

    Regen
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml      | 10 ++++++++++
 .../src/main/resources/kamelets/telegram-source.kamelet.yaml   |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

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 5778f08c..e9038fd8 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
@@ -39,6 +39,16 @@ spec:
       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 "key" and "item" as top level properties. Both define a Json object that will be mapped to respective attribute value maps
+      {
+          "key": {},
+          "item": {}
+      }
     required:
       - table
       - region
diff --git a/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml
index acf94664..4838d686 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/telegram-source.kamelet.yaml
@@ -45,7 +45,7 @@ spec:
     properties:
       authorizationToken:
         title: Token
-        description: "The token to access your bot on Telegram. You you can obtain it from the Telegram @botfather."
+        description: "The token to access your bot on Telegram. You can obtain it from the Telegram @botfather."
         type: string
         format: password
         x-descriptors:


[camel-kamelets] 01/02: DynamoDB Sink Kamelet: Improved description for put, update and delete item operation

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 17e91f29f22de961d52a2c4ad582f40b0415268a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Apr 12 14:52:06 2023 +0200

    DynamoDB Sink Kamelet: Improved description for put, update and delete item operation
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/aws-ddb-sink.kamelet.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/kamelets/aws-ddb-sink.kamelet.yaml b/kamelets/aws-ddb-sink.kamelet.yaml
index 5778f08c..e9038fd8 100644
--- a/kamelets/aws-ddb-sink.kamelet.yaml
+++ b/kamelets/aws-ddb-sink.kamelet.yaml
@@ -39,6 +39,16 @@ spec:
       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 "key" and "item" as top level properties. Both define a Json object that will be mapped to respective attribute value maps
+      {
+          "key": {},
+          "item": {}
+      }
     required:
       - table
       - region