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:49 UTC

[camel-kamelets] 04/04: Convert all the parameters with multiple possible values to enum - FTPS 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 d812637124a738f569a20f37874e695c3e3768ef
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 8 12:03:54 2023 +0100

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/ftps-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/ftps-sink.kamelet.yaml
index 3a9b60ef..ab6efa81 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/ftps-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/ftps-sink.kamelet.yaml
@@ -79,9 +79,10 @@ spec:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
       fileExist:
         title: File Existence
-        description: "Specifies how the Kamelet behaves if the file already exists. Possible values are Override, Append, Fail, or Ignore."
+        description: "Specifies how the Kamelet behaves if the file already exists."
         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).