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/06 17:34:32 UTC

[camel-kamelets] branch translate-source-language-3.20.x created (now 52af347d)

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

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


      at 52af347d Convert all the parameters with multiple possible values to enum - AWS Translate

This branch includes the following new commits:

     new 017166e9 Convert all the parameters with multiple possible values to enum - AWS Translate
     new 52af347d 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 translate-source-language-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 017166e991c0895838a8b6f47a55073342a73b60
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 6 18:32:40 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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kamelets/aws-translate-action.kamelet.yaml b/kamelets/aws-translate-action.kamelet.yaml
index cd6850b5..88622287 100644
--- a/kamelets/aws-translate-action.kamelet.yaml
+++ b/kamelets/aws-translate-action.kamelet.yaml
@@ -65,9 +65,10 @@ spec:
         enum: ["ap-south-1", "eu-south-1", "us-gov-east-1", "me-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-northeast-2", "ap-northeast-1", "me-south-1", "sa-east-1", "ap-east-1", "cn-north-1", "us-gov-west-1", "ap-southeast-1", "ap-southeast-2", "us-iso-east-1", "ap-southeast-3", "us-east-1", "us-east-2", "cn-northwest-1", "us-isob-east-1", "aws-global", "a [...]
       sourceLanguage:
         title: Source Language
-        description: The source 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 source language of the translating text.
         type: string
         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"]
       targetLanguage:
         title: Target Language
         description: The target language of the translating text.


[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 translate-source-language-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 52af347de50c1e024959f15612e1a309b02a5bd5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 6 18:33:22 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      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 cd6850b5..88622287 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
@@ -65,9 +65,10 @@ spec:
         enum: ["ap-south-1", "eu-south-1", "us-gov-east-1", "me-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-northeast-2", "ap-northeast-1", "me-south-1", "sa-east-1", "ap-east-1", "cn-north-1", "us-gov-west-1", "ap-southeast-1", "ap-southeast-2", "us-iso-east-1", "ap-southeast-3", "us-east-1", "us-east-2", "cn-northwest-1", "us-isob-east-1", "aws-global", "a [...]
       sourceLanguage:
         title: Source Language
-        description: The source 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 source language of the translating text.
         type: string
         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"]
       targetLanguage:
         title: Target Language
         description: The target language of the translating text.