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 2021/07/20 12:32:21 UTC

[camel-kamelets] 01/05: Added IgnoreBody parameter to AWS S3 Source Kamelet

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

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

commit 95cac3dc9dcda33be0ef3ce8f594f2515ae52873
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jul 20 14:26:15 2021 +0200

    Added IgnoreBody parameter to AWS S3 Source Kamelet
---
 aws-s3-source.kamelet.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/aws-s3-source.kamelet.yaml b/aws-s3-source.kamelet.yaml
index a94a882..a7df07c 100644
--- a/aws-s3-source.kamelet.yaml
+++ b/aws-s3-source.kamelet.yaml
@@ -71,6 +71,13 @@ spec:
         description: The AWS S3 bucket prefix to consider while searching
         type: string
         example: 'folder/'
+      ignoreBody:
+        title: Ignore Body
+        description: If it is true, the S3 Object Body will be ignored completely, if it is set to false the S3 Object will be put in the body. Setting this to true, will override any behavior defined by includeBody option.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:aws2-s3"
     - "camel:kamelet"
@@ -83,6 +90,7 @@ spec:
         accessKey: "{{accessKey}}"
         region: "{{region}}"
         includeBody: "{{includeBody}}"
+        includeBody: "{{ignoreBody}}"
         deleteAfterRead: "{{deleteAfterRead}}"
         prefix: "{{?prefix}}"
       steps: