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

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

commit e2180fd1a2b5c8dac37b6a56fbc5f4cd3b350821
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Mar 10 10:09:22 2023 +0100

    FTPS Source - Add autoCreate parameter
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 kamelets/ftps-source.kamelet.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/kamelets/ftps-source.kamelet.yaml 
b/kamelets/ftps-source.kamelet.yaml
index 0d6d8982..7a85d0ce 100644
--- a/kamelets/ftps-source.kamelet.yaml
+++ b/kamelets/ftps-source.kamelet.yaml
@@ -95,6 +95,13 @@ spec:
         default: false
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+      autoCreate:
+        title: Autocreate Missing Directories
+        description: Automatically create starting directory.
+        type: boolean
+        default: true
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
   dependencies:
     - "camel:ftp"
     - "camel:core"
@@ -108,6 +115,7 @@ spec:
         recursive: "{{recursive}}"
         idempotent: "{{idempotent}}"
         binary: "{{binary}}"
+        autoCreate: "{{autoCreate}}"
       steps:
       - set-header:
           name: file

Reply via email to