This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 3.x in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 79dff44c5fe69de43ce2c356a884616c1f7e0d32 Author: Andrea Cosentino <[email protected]> AuthorDate: Fri Mar 10 09:39:53 2023 +0100 FTP source - it creates a new folder (if doesn't exist) instead of throwing an exception Signed-off-by: Andrea Cosentino <[email protected]> --- kamelets/ftp-source.kamelet.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kamelets/ftp-source.kamelet.yaml b/kamelets/ftp-source.kamelet.yaml index ab00a1ed..232a9b45 100644 --- a/kamelets/ftp-source.kamelet.yaml +++ b/kamelets/ftp-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
