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 09:14:53 UTC

[camel-kamelets] 02/04: FTPS Source - Add autoCreate parameter

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch ftps-autoCreate
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit dd527f65d09d7c08a3da4aa904eaeadd7e58dbf1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 10 10:11:44 2023 +0100

    FTPS Source - Add autoCreate parameter
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/ftps-source.kamelet.yaml          | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/ftps-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/ftps-source.kamelet.yaml
index 75d232f9..79808748 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/ftps-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/ftps-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