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/02/09 13:08:45 UTC

[camel-kamelets] 14/16: Convert all the parameters with multiple possible values to enum - SFTP Sink

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

acosentino pushed a commit to branch final-enum-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 8794ab08794619546866cedfeae81be20c4de096
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 14:03:59 2023 +0100

    Convert all the parameters with multiple possible values to enum - SFTP Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 1a8d7192..9220027c 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
@@ -77,9 +77,10 @@ spec:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
       fileExist:
         title: File Existence
-        description: How to behave in case of file already existent. There are 4 enums. Possible values are Override, Append, Fail, or Ignore.
+        description: How to behave in case of file already existent.
         type: string
         default: Override
+        enum: ["Override", "Append", "Fail", "Ignore"]
       binary:
         title: Binary
         description: Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false).