This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 0.9.x in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 0fde1f3f9bd45a3fc916e7ae5ce358b6e524c2ec Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Mar 10 10:02:14 2023 +0100 SFTP, FTP Source and Sink - Adding autoCreate parameter Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- kamelets/ftp-sink.kamelet.yaml | 8 ++++++++ kamelets/ftp-source.kamelet.yaml | 8 ++++++++ kamelets/sftp-sink.kamelet.yaml | 4 ++-- kamelets/sftp-source.kamelet.yaml | 4 ++-- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/kamelets/ftp-sink.kamelet.yaml b/kamelets/ftp-sink.kamelet.yaml index ab2f4ef3..9b13d2e6 100644 --- a/kamelets/ftp-sink.kamelet.yaml +++ b/kamelets/ftp-sink.kamelet.yaml @@ -89,6 +89,13 @@ spec: default: false 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" @@ -116,3 +123,4 @@ spec: passiveMode: "{{passiveMode}}" fileExist: "{{fileExist}}" binary: "{{binary}}" + autoCreate: "{{autoCreate}}" diff --git a/kamelets/ftp-source.kamelet.yaml b/kamelets/ftp-source.kamelet.yaml index 4cd78b7a..69f3b34f 100644 --- a/kamelets/ftp-source.kamelet.yaml +++ b/kamelets/ftp-source.kamelet.yaml @@ -94,6 +94,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" @@ -107,6 +114,7 @@ spec: recursive: "{{recursive}}" idempotent: "{{idempotent}}" binary: "{{binary}}" + autoCreate: "{{autoCreate}}" steps: - set-header: name: file diff --git a/kamelets/sftp-sink.kamelet.yaml b/kamelets/sftp-sink.kamelet.yaml index ba56cffb..b9b91aba 100644 --- a/kamelets/sftp-sink.kamelet.yaml +++ b/kamelets/sftp-sink.kamelet.yaml @@ -89,7 +89,7 @@ spec: default: false x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' - autocreate: + autoCreate: title: Autocreate Missing Directories description: Automatically create the directory the files should be written to. type: boolean @@ -123,4 +123,4 @@ spec: passiveMode: "{{passiveMode}}" fileExist: "{{fileExist}}" binary: "{{binary}}" - autocreate: "{{autocreate}}" + autoCreate: "{{autoCreate}}" diff --git a/kamelets/sftp-source.kamelet.yaml b/kamelets/sftp-source.kamelet.yaml index c0b4c4ed..28112a15 100644 --- a/kamelets/sftp-source.kamelet.yaml +++ b/kamelets/sftp-source.kamelet.yaml @@ -101,7 +101,7 @@ spec: default: false x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' - autocreate: + autoCreate: title: Autocreate Missing Directories description: Automatically create starting directory. type: boolean @@ -122,7 +122,7 @@ spec: idempotent: "{{idempotent}}" ignoreFileNotFoundOrPermissionError: "{{ignoreFileNotFoundOrPermissionError}}" binary: "{{binary}}" - autocreate: "{{autocreate}}" + autoCreate: "{{autoCreate}}" steps: - set-header: name: file