You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by cd...@apache.org on 2023/08/23 09:35:00 UTC

[camel-kamelets] 02/05: fix(aws2-ddb): Fix AWS2 DDB sink Kamelet

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

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

commit 319739272304d99c7a410c04b4e90b8df988d32d
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Wed Aug 23 10:30:57 2023 +0200

    fix(aws2-ddb): Fix AWS2 DDB sink Kamelet
    
    Use proper application-json input data type format
---
 kamelets/aws-ddb-sink.kamelet.yaml                                      | 2 +-
 .../src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelets/aws-ddb-sink.kamelet.yaml b/kamelets/aws-ddb-sink.kamelet.yaml
index e3a7696d..e781bff7 100644
--- a/kamelets/aws-ddb-sink.kamelet.yaml
+++ b/kamelets/aws-ddb-sink.kamelet.yaml
@@ -121,7 +121,7 @@ spec:
         type: "#class:org.apache.camel.kamelets.utils.format.DataTypeProcessor"
         properties:
           scheme: 'aws2-ddb'
-          format: 'json'
+          format: 'application-json'
           registry: '#bean:{{dataTypeRegistry}}'
     from:
       uri: "kamelet:source"
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 e3a7696d..e781bff7 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
@@ -121,7 +121,7 @@ spec:
         type: "#class:org.apache.camel.kamelets.utils.format.DataTypeProcessor"
         properties:
           scheme: 'aws2-ddb'
-          format: 'json'
+          format: 'application-json'
           registry: '#bean:{{dataTypeRegistry}}'
     from:
       uri: "kamelet:source"