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 6b75b56f6d221cf9f6460339338cf1efcddd7222
Author: Andrea Cosentino <[email protected]>
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:

Reply via email to