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:48:12 UTC
[camel-kamelets] 01/03: SFTP source - it creates a new folder (if doesn't exist) instead of throwing an exception
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 0.9.x-sftp
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 87c0ea8b1498c000fc98eb7bf3376ee09ff58f88
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 9 12:45:43 2023 +0100
SFTP source - it creates a new folder (if doesn't exist) instead of throwing an exception
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/sftp-source.kamelet.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/kamelets/sftp-source.kamelet.yaml b/kamelets/sftp-source.kamelet.yaml
index c7829ec0..c0b4c4ed 100644
--- a/kamelets/sftp-source.kamelet.yaml
+++ b/kamelets/sftp-source.kamelet.yaml
@@ -101,6 +101,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"
@@ -115,6 +122,7 @@ spec:
idempotent: "{{idempotent}}"
ignoreFileNotFoundOrPermissionError: "{{ignoreFileNotFoundOrPermissionError}}"
binary: "{{binary}}"
+ autocreate: "{{autocreate}}"
steps:
- set-header:
name: file