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/03/09 11:12:14 UTC

[camel-kamelets] 03/07: SFTP sink - Add autocreate option for consistency with the source

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

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

commit b496f49adacb3dbfcc287550b858aab3f9ea7a78
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 9 11:40:16 2023 +0100

    SFTP sink - Add autocreate option for consistency with the source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/sftp-sink.kamelet.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/kamelets/sftp-sink.kamelet.yaml b/kamelets/sftp-sink.kamelet.yaml
index e63f0db6..c31dff9a 100644
--- a/kamelets/sftp-sink.kamelet.yaml
+++ b/kamelets/sftp-sink.kamelet.yaml
@@ -114,6 +114,13 @@ spec:
         default: true
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+      autocreate:
+        title: Autocreate Missing Directories
+        description: Automatically create the directory the files should be written to.
+        type: boolean
+        default: true
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
   dependencies:
     - "camel:ftp"
     - "camel:core"
@@ -147,3 +154,4 @@ spec:
             passiveMode: "{{passiveMode}}"
             fileExist: "{{fileExist}}"
             binary: "{{binary}}"
+            autocreate: "{{autocreate}}"