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 10:44:38 UTC
[camel-kamelets] 04/06: 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 autocreate-sftp
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit f3ca796a846220034b044d181976e1b982bec136
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 a3fe9c9f..bdc5ccc6 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}}"