Skip to content

Commit

Permalink
FTP/SFTP/FTPS Source Kamelets: Add Delete option for SFTP
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Jun 16, 2023
1 parent 49b0515 commit 313794d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,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"
Expand All @@ -153,6 +160,7 @@ spec:
ignoreFileNotFoundOrPermissionError: "{{ignoreFileNotFoundOrPermissionError}}"
binary: "{{binary}}"
autoCreate: "{{autoCreate}}"
delete: "{{delete}}"
steps:
- set-body:
simple: "${body.getBody()}"
Expand Down

0 comments on commit 313794d

Please sign in to comment.