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/10 08:53:33 UTC
[camel-kamelets] 04/08: 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 ftp-autocreate
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit d2f68b43c148cd14040f7b650d26d2409006a391
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 10 09:45:47 2023 +0100
SFTP sink - Add autocreate option for consistency with the source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/sftp-sink.kamelet.yaml | 4 ++--
kamelets/sftp-source.kamelet.yaml | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kamelets/sftp-sink.kamelet.yaml b/kamelets/sftp-sink.kamelet.yaml
index bdc5ccc6..77b26a70 100644
--- a/kamelets/sftp-sink.kamelet.yaml
+++ b/kamelets/sftp-sink.kamelet.yaml
@@ -114,7 +114,7 @@ spec:
default: true
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
@@ -154,4 +154,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 bb8b2453..cee95381 100644
--- a/kamelets/sftp-source.kamelet.yaml
+++ b/kamelets/sftp-source.kamelet.yaml
@@ -152,7 +152,7 @@ spec:
idempotent: "{{idempotent}}"
ignoreFileNotFoundOrPermissionError: "{{ignoreFileNotFoundOrPermissionError}}"
binary: "{{binary}}"
- autocreate: "{{autocreate}}"
+ autoCreate: "{{autoCreate}}"
steps:
- set-body:
simple: "${body.getBody()}"