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/06/16 10:28:34 UTC
[camel-kamelets] 04/06: FTP/SFTP/FTPS Source Kamelets: Add Delete option for FTPS
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 1507
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit c72aa7c120692c1d3ed3ab3bae7bd39ccca20747
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jun 16 12:18:18 2023 +0200
FTP/SFTP/FTPS Source Kamelets: Add Delete option for FTPS
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 79808748..e246b64a 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
@@ -102,6 +102,13 @@ spec:
default: true
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ delete:
+ title: Delete
+ description: If true, the file will be deleted after it is processed successfully.
+ type: boolean
+ default: false
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
dependencies:
- "camel:ftp"
- "camel:core"
@@ -116,6 +123,7 @@ spec:
idempotent: "{{idempotent}}"
binary: "{{binary}}"
autoCreate: "{{autoCreate}}"
+ delete: "{{delete}}"
steps:
- set-header:
name: file