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:15 UTC

[camel-kamelets] 04/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 b5c33f5b1473fb42e1217cafa633299bdfb9f522
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 9 11:41:50 2023 +0100

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml
index e63f0db6..c31dff9a 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/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}}"