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:11 UTC

[camel-kamelets] branch 0.9.x-sftp created (now 6aed983e)

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

acosentino pushed a change to branch 0.9.x-sftp
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


      at 6aed983e SFTP Kamelets: Regen

This branch includes the following new commits:

     new 87c0ea8b SFTP source - it creates a new folder (if doesn't exist) instead of throwing an exception
     new 6cb3a46d SFTP sink - Add autocreate for consistency with SFTP source
     new 6aed983e SFTP Kamelets: Regen

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-kamelets] 01/03: SFTP source - it creates a new folder (if doesn't exist) instead of throwing an exception

Posted by ac...@apache.org.
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


[camel-kamelets] 03/03: SFTP Kamelets: Regen

Posted by ac...@apache.org.
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 6aed983e756775866198ed3482204ead70415328
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 9 12:47:50 2023 +0100

    SFTP Kamelets: Regen
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/sftp-sink.kamelet.yaml            | 8 ++++++++
 .../src/main/resources/kamelets/sftp-source.kamelet.yaml          | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml
index e716c3a2..ba56cffb 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/sftp-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/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml
index c7829ec0..c0b4c4ed 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/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


[camel-kamelets] 02/03: SFTP sink - Add autocreate for consistency with SFTP source

Posted by ac...@apache.org.
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 6cb3a46d5d801bec78bb8964604f13e713226b94
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 9 12:47:08 2023 +0100

    SFTP sink - Add autocreate for consistency with SFTP source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/sftp-sink.kamelet.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/kamelets/sftp-sink.kamelet.yaml b/kamelets/sftp-sink.kamelet.yaml
index e716c3a2..ba56cffb 100644
--- a/kamelets/sftp-sink.kamelet.yaml
+++ b/kamelets/sftp-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}}"