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/03 10:34:02 UTC

[camel-kamelets] branch enum-translate-3.20.x created (now 88cfd9a4)

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

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


      at 88cfd9a4 Convert all the parameters with multiple possible values to enum - AWS Translate

This branch includes the following new commits:

     new 53983ed1 Convert all the parameters with multiple possible values to enum - AWS Translate
     new 88cfd9a4 Convert all the parameters with multiple possible values to enum - AWS Translate

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-kamelets] 01/02: Convert all the parameters with multiple possible values to enum - AWS Translate

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 53983ed1d8708fd855cf00617a5b6789ac6bbf1c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 3 11:30:34 2023 +0100

    Convert all the parameters with multiple possible values to enum - AWS Translate
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/aws-translate-action.kamelet.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/kamelets/aws-translate-action.kamelet.yaml b/kamelets/aws-translate-action.kamelet.yaml
index 3b90884f..cd6850b5 100644
--- a/kamelets/aws-translate-action.kamelet.yaml
+++ b/kamelets/aws-translate-action.kamelet.yaml
@@ -70,9 +70,10 @@ spec:
         example: it
       targetLanguage:
         title: Target Language
-        description: The target language of the translating text. Possible values are ARABIC("ar"), CHINESE_SIMPLIFIED("zh"), CHINESE_TRADITIONAL("zh-TW"), CZECH("cs"), DANISH("da"), DUTCH("nl"), ENGLISH("en"), FINNISH("fi"), FRENCH("fr"), GERMAN("de"), HEBREW("he"), HINDI("hi"), INDONESIAN("id"), ITALIAN("it"), JAPANESE("ja"), KOREAN("ko"), MALAY("ms"), NORWEGIAN("no"), PERSIAN("fa"), POLISH("pl"), PORTUGUESE("pt"), RUSSIAN("ru"), SPANISH("es"), SWEDISH("sv") and TURKISH("tr").
+        description: The target language of the translating text.
         type: string
-        example: en
+        example: it
+        enum: ["ar", "zh", "zh-TW", "cs", "da", "nl", "en", "fi", "fr", "de", "he", "hi", "id", "it", "ja", "ko", "ms", "no", "fa", "pl", "pt", "ru", "es", "sv", "tr"]
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
         description: Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.


[camel-kamelets] 02/02: Convert all the parameters with multiple possible values to enum - AWS Translate

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 88cfd9a46688bb6fc0dfdfeec13d383ae39647ed
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 3 11:31:25 2023 +0100

    Convert all the parameters with multiple possible values to enum - AWS Translate
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/aws-translate-action.kamelet.yaml    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml
index 3b90884f..cd6850b5 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml
@@ -70,9 +70,10 @@ spec:
         example: it
       targetLanguage:
         title: Target Language
-        description: The target language of the translating text. Possible values are ARABIC("ar"), CHINESE_SIMPLIFIED("zh"), CHINESE_TRADITIONAL("zh-TW"), CZECH("cs"), DANISH("da"), DUTCH("nl"), ENGLISH("en"), FINNISH("fi"), FRENCH("fr"), GERMAN("de"), HEBREW("he"), HINDI("hi"), INDONESIAN("id"), ITALIAN("it"), JAPANESE("ja"), KOREAN("ko"), MALAY("ms"), NORWEGIAN("no"), PERSIAN("fa"), POLISH("pl"), PORTUGUESE("pt"), RUSSIAN("ru"), SPANISH("es"), SWEDISH("sv") and TURKISH("tr").
+        description: The target language of the translating text.
         type: string
-        example: en
+        example: it
+        enum: ["ar", "zh", "zh-TW", "cs", "da", "nl", "en", "fi", "fr", "de", "he", "hi", "id", "it", "ja", "ko", "ms", "no", "fa", "pl", "pt", "ru", "es", "sv", "tr"]
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
         description: Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.