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

[camel-kamelets] branch main updated (6deac31d -> b328e9c0)

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

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


    from 6deac31d Cassandra Kamelets: add extraTypesCodec parameter - Skip validation until 3.21.0 will be released
     new f10eb285 Convert all the parameters with multiple possible values to enum - AWS Translate
     new b328e9c0 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.


Summary of changes:
 kamelets/aws-translate-action.kamelet.yaml                           | 5 +++--
 .../src/main/resources/kamelets/aws-translate-action.kamelet.yaml    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)


[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 main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit b328e9c0b2fc2a3331e88a54e56256f451cc1a53
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 de3232ef..db91242a 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.


[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 main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit f10eb28580c62544941c7c5b4786060ff7f30008
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 de3232ef..db91242a 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.