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/08 11:04:46 UTC

[camel-kamelets] 01/04: Convert all the parameters with multiple possible values to enum - FTP Source

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

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

commit f807f377a126811612f32baf7c26d6bbd90efedc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 8 12:01:08 2023 +0100

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

diff --git a/kamelets/ftp-sink.kamelet.yaml b/kamelets/ftp-sink.kamelet.yaml
index c6e9e1fe..d77a664f 100644
--- a/kamelets/ftp-sink.kamelet.yaml
+++ b/kamelets/ftp-sink.kamelet.yaml
@@ -79,9 +79,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).