You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2021/04/09 09:31:16 UTC

[camel-kamelets] branch master updated (61a9fc2 -> b681ee3)

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

nferraro pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git.


    from 61a9fc2  chore: add headers to telegram-source for symmetry with sink
     new 8426712  FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least try to convert to inputstream - FTP Kamelet
     new 6942b00  FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least convert to inputStream - FTP Kamelet
     new b681ee3  FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least try to convert to inputstream - FTP Kamelet

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.


Summary of changes:
 ftp-source.kamelet.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

[camel-kamelets] 03/03: FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least try to convert to inputstream - FTP Kamelet

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b681ee34deaf7c6917e7da392f8de6970e665a6e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Apr 8 18:48:26 2021 +0200

    FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least try to convert to inputstream - FTP Kamelet
---
 ftp-source.kamelet.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ftp-source.kamelet.yaml b/ftp-source.kamelet.yaml
index 169e42c..5affce7 100644
--- a/ftp-source.kamelet.yaml
+++ b/ftp-source.kamelet.yaml
@@ -67,4 +67,6 @@ spec:
         recursive: "{{recursive}}"
         idempotent: "{{idempotent}}"
       steps:
+      - convert-body-to:
+          type: "java.io.InputStream"
       - to: "kamelet:sink"

[camel-kamelets] 02/03: FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least convert to inputStream - FTP Kamelet

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 6942b007187d1f8fb5b28c84a4cb2141dd2a50ce
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Apr 8 18:12:21 2021 +0200

    FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least convert to inputStream - FTP Kamelet
---
 ftp-source.kamelet.yaml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/ftp-source.kamelet.yaml b/ftp-source.kamelet.yaml
index 756d33a..169e42c 100644
--- a/ftp-source.kamelet.yaml
+++ b/ftp-source.kamelet.yaml
@@ -53,6 +53,11 @@ spec:
         description: If a directory, will look for files in all the sub-directories as well.
         type: boolean
         default: false
+      idempotent:
+        title: Idempotency
+        description: Skip already processed files.
+        type: boolean
+        default: true        
   flow:
     from:
       uri: "ftp:{{username}}@{{host}}:{{port}}/{{directoryName}}"
@@ -60,6 +65,6 @@ spec:
         password: "{{password}}"
         passiveMode: "{{passiveMode}}"
         recursive: "{{recursive}}"
-        idempotent: "true"
+        idempotent: "{{idempotent}}"
       steps:
       - to: "kamelet:sink"

[camel-kamelets] 01/03: FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least try to convert to inputstream - FTP Kamelet

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 84267120bc565880fe3270987749d5f66582a776
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Apr 8 18:07:36 2021 +0200

    FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at least try to convert to inputstream - FTP Kamelet
    
    Related to #121
---
 ftp-source.kamelet.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ftp-source.kamelet.yaml b/ftp-source.kamelet.yaml
index ce8c935..756d33a 100644
--- a/ftp-source.kamelet.yaml
+++ b/ftp-source.kamelet.yaml
@@ -60,7 +60,6 @@ spec:
         password: "{{password}}"
         passiveMode: "{{passiveMode}}"
         recursive: "{{recursive}}"
+        idempotent: "true"
       steps:
-      - convert-body-to:
-          type: "java.lang.String"
       - to: "kamelet:sink"