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 2022/08/02 13:22:19 UTC
[camel-kamelets] branch main updated (f55f6d7c -> cc25946e)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
from f55f6d7c Upgrade to Artemis 2.23.1
new 3c2892b8 SFTP Kamelet Source: Support ignoreFileNotFoundOrPermissionError parameter
new cc25946e SFTP Kamelet Source: Support ignoreFileNotFoundOrPermissionError parameter
The 2 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:
kamelets/sftp-source.kamelet.yaml | 8 ++++++++
.../src/main/resources/kamelets/sftp-source.kamelet.yaml | 8 ++++++++
2 files changed, 16 insertions(+)
[camel-kamelets] 01/02: SFTP Kamelet Source: Support ignoreFileNotFoundOrPermissionError parameter
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 3c2892b890bda4898dace2809033393812a1fa5c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 2 15:17:18 2022 +0200
SFTP Kamelet Source: Support ignoreFileNotFoundOrPermissionError parameter
---
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 bb3efc5f..93f692c3 100644
--- a/kamelets/sftp-source.kamelet.yaml
+++ b/kamelets/sftp-source.kamelet.yaml
@@ -87,6 +87,13 @@ spec:
default: true
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ ignoreFileNotFoundOrPermissionError:
+ title: Ignore File Not Found Or Permission Error
+ description: Whether to ignore when (trying to list files in directories or when downloading a file), which does not exist or due to permission error. By default when a directory or file does not exists or insufficient permission, then an exception is thrown. Setting this option to true allows to ignore that instead.
+ type: boolean
+ default: false
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
dependencies:
- "camel:ftp"
- "camel:core"
@@ -99,6 +106,7 @@ spec:
passiveMode: "{{passiveMode}}"
recursive: "{{recursive}}"
idempotent: "{{idempotent}}"
+ ignoreFileNotFoundOrPermissionError: "{{ignoreFileNotFoundOrPermissionError}}"
steps:
- set-header:
name: file
[camel-kamelets] 02/02: SFTP Kamelet Source: Support ignoreFileNotFoundOrPermissionError parameter
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit cc25946e8bf9e0e1b15f8353e2409b940ceb5c8d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 2 15:17:57 2022 +0200
SFTP Kamelet Source: Support ignoreFileNotFoundOrPermissionError parameter
---
.../src/main/resources/kamelets/sftp-source.kamelet.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
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 bb3efc5f..93f692c3 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
@@ -87,6 +87,13 @@ spec:
default: true
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ ignoreFileNotFoundOrPermissionError:
+ title: Ignore File Not Found Or Permission Error
+ description: Whether to ignore when (trying to list files in directories or when downloading a file), which does not exist or due to permission error. By default when a directory or file does not exists or insufficient permission, then an exception is thrown. Setting this option to true allows to ignore that instead.
+ type: boolean
+ default: false
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
dependencies:
- "camel:ftp"
- "camel:core"
@@ -99,6 +106,7 @@ spec:
passiveMode: "{{passiveMode}}"
recursive: "{{recursive}}"
idempotent: "{{idempotent}}"
+ ignoreFileNotFoundOrPermissionError: "{{ignoreFileNotFoundOrPermissionError}}"
steps:
- set-header:
name: file