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/09 13:08:31 UTC

[camel-kamelets] branch final-enum-3.20.x created (now 28391533)

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

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


      at 28391533 Convert all the parameters with multiple possible values to enum - XJ kamelets

This branch includes the following new commits:

     new 7dd028d3 Convert all the parameters with multiple possible values to enum - Infinispan Source
     new 619f5678 Convert all the parameters with multiple possible values to enum - Infinispan Source
     new e9577258 Convert all the parameters with multiple possible values to enum - Jolt Action
     new 8c6684f6 Convert all the parameters with multiple possible values to enum - Jolt Action
     new 9ace235f Convert all the parameters with multiple possible values to enum - MongoDB Sink
     new 8aa00656 Convert all the parameters with multiple possible values to enum - MongoDB Sink
     new b3b5d71a Convert all the parameters with multiple possible values to enum - Pulsar Sink
     new 418a8916 Convert all the parameters with multiple possible values to enum - Pulsar Sink
     new b7bc89ac Convert all the parameters with multiple possible values to enum - Pulsar Source
     new 8b81726e Convert all the parameters with multiple possible values to enum - Pulsar Source
     new 214d58dc Convert all the parameters with multiple possible values to enum - Salesforce Source
     new 596c6f2e Convert all the parameters with multiple possible values to enum - Salesforce Source
     new b34a1e88 Convert all the parameters with multiple possible values to enum - SFTP Sink
     new 8794ab08 Convert all the parameters with multiple possible values to enum - SFTP Sink
     new c95a4ef3 Convert all the parameters with multiple possible values to enum - XJ kamelets
     new 28391533 Convert all the parameters with multiple possible values to enum - XJ kamelets

The 16 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] 13/16: Convert all the parameters with multiple possible values to enum - SFTP Sink

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

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

commit b34a1e881dea90bb55295fa10f21ebd87f6280bc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 14:03:03 2023 +0100

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

diff --git a/kamelets/sftp-sink.kamelet.yaml b/kamelets/sftp-sink.kamelet.yaml
index 1a8d7192..9220027c 100644
--- a/kamelets/sftp-sink.kamelet.yaml
+++ b/kamelets/sftp-sink.kamelet.yaml
@@ -77,9 +77,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).


[camel-kamelets] 10/16: Convert all the parameters with multiple possible values to enum - Pulsar Source

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

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

commit 8b81726e14d4f9cec5e6629b2af20a70b92b2f97
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 13:55:41 2023 +0100

    Convert all the parameters with multiple possible values to enum - Pulsar Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/pulsar-sink.kamelet.yaml   |  2 +-
 .../src/main/resources/kamelets/pulsar-source.kamelet.yaml | 14 +++++++++-----
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml
index 5a402488..900056d3 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml
@@ -51,7 +51,7 @@ spec:
         type: string
       topicType:
         title: Topic Type
-        description: "The topic type. Possible values are persistent or non-persistent."
+        description: "The topic type."
         type: string 
         enum: ["persistent", "non-persistent"]
       namespaceName:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/pulsar-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/pulsar-source.kamelet.yaml
index 90a5853a..591e2b07 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/pulsar-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/pulsar-source.kamelet.yaml
@@ -51,8 +51,9 @@ spec:
         type: string
       topicType:
         title: Topic Type
-        description: "The topic type. Possible values are persistent or non-persistent."
-        type: string  
+        description: "The topic type."
+        type: string
+        enum: ["persistent", "non-persistent"]
       namespaceName:
         title: Pulsar Namespace Name
         description: The Pulsar Namespace Name
@@ -118,9 +119,10 @@ spec:
           - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
       subscriptionInitialPosition:
         title: Subscription Initial Position
-        description: "Control the initial position in the topic of a newly created subscription. Default is latest message. Possible values are EARLIEST or LATEST."
+        description: "Control the initial position in the topic of a newly created subscription. Default is latest message."
         type: string
         default: LATEST
+        enum: ["EARLIEST", "LATEST"]
       subscriptionName:
         title: Subscription Name
         description: "Name of the subscription to use."
@@ -128,14 +130,16 @@ spec:
         default: subs
       subscriptionTopicsMode:
         title: Subscription Topics Mode
-        description: "Determines to which topics this consumer should be subscribed to - Persistent, Non-Persistent, or both. Only used with pattern subscriptions.Possible values are PersistentOnly, NonPersistentOnly, or AllTopics."
+        description: "Determines to which topics this consumer should be subscribed to - Persistent, Non-Persistent, or both. Only used with pattern subscriptions."
         type: string
         default: PersistentOnly
+        enum: ["PersistentOnly", "NonPersistentOnly", "AllTopics"]
       subscriptionType:
         title: Subscription Type
-        description: "Type of the subscription. Possible values are EXCLUSIVE, SHARED, FAILOVER, KEY_SHARED."
+        description: "Type of the subscription."
         type: string
         default: EXCLUSIVE
+        enum: ["EXCLUSIVE", "SHARED", "FAILOVER", "KEY_SHARED"]
       topicsPattern:
         title: Topic Pattern
         description: "Whether the topic is a pattern (regular expression) that allows the consumer to subscribe to all matching topics in the namespace."


[camel-kamelets] 15/16: Convert all the parameters with multiple possible values to enum - XJ kamelets

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

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

commit c95a4ef325c4ba357a9fda2a2e1594616586db80
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 14:05:10 2023 +0100

    Convert all the parameters with multiple possible values to enum - XJ kamelets
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/xj-identity-action.kamelet.yaml | 3 ++-
 kamelets/xj-template-action.kamelet.yaml | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/kamelets/xj-identity-action.kamelet.yaml b/kamelets/xj-identity-action.kamelet.yaml
index f13d61ee..c469f9ad 100644
--- a/kamelets/xj-identity-action.kamelet.yaml
+++ b/kamelets/xj-identity-action.kamelet.yaml
@@ -37,8 +37,9 @@ spec:
     properties:
       direction:
         title: Direction
-        description: The transform direction, possible values are XML2JSON or JSON2XML
+        description: The transform direction.
         type: string
+        enum: ["XML2JSON", "JSON2XML"]
   dependencies:
   - "camel:xj"
   - "camel:kamelet"
diff --git a/kamelets/xj-template-action.kamelet.yaml b/kamelets/xj-template-action.kamelet.yaml
index c364bdc7..bcb1918b 100644
--- a/kamelets/xj-template-action.kamelet.yaml
+++ b/kamelets/xj-template-action.kamelet.yaml
@@ -38,8 +38,9 @@ spec:
     properties:
       direction:
         title: Direction
-        description: The transform direction, possible values are XML2JSON or JSON2XML
+        description: The transform direction.
         type: string
+        enum: ["XML2JSON", "JSON2XML"]
       template:
         title: Template
         description: The inline template to apply a transformation through template.


[camel-kamelets] 11/16: Convert all the parameters with multiple possible values to enum - Salesforce Source

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

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

commit 214d58dc765bcf0cbc5b6e4bd5a69f3bd6ccf179
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 13:59:32 2023 +0100

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

diff --git a/kamelets/salesforce-source.kamelet.yaml b/kamelets/salesforce-source.kamelet.yaml
index 44c319ca..446b5eb6 100644
--- a/kamelets/salesforce-source.kamelet.yaml
+++ b/kamelets/salesforce-source.kamelet.yaml
@@ -57,9 +57,10 @@ spec:
         default: https://login.salesforce.com
       notifyForFields:
         title: Notify For Fields
-        description: Notify for fields. Possible values are ALL, REFERENCED, SELECT, or WHERE.
+        description: Notify for fields.
         type: string
         default: ALL
+        enum: [ "ALL", "REFERENCED", "SELECT", "WHERE"]
       clientId:
         title: Consumer Key
         description: The Salesforce application consumer key.


[camel-kamelets] 07/16: Convert all the parameters with multiple possible values to enum - Pulsar Sink

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

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

commit b3b5d71a808adececc7ff3c381b755a4fc923a3f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 11:02:55 2023 +0100

    Convert all the parameters with multiple possible values to enum - Pulsar Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/pulsar-sink.kamelet.yaml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/kamelets/pulsar-sink.kamelet.yaml b/kamelets/pulsar-sink.kamelet.yaml
index 0851c03b..5a402488 100644
--- a/kamelets/pulsar-sink.kamelet.yaml
+++ b/kamelets/pulsar-sink.kamelet.yaml
@@ -52,7 +52,8 @@ spec:
       topicType:
         title: Topic Type
         description: "The topic type. Possible values are persistent or non-persistent."
-        type: string  
+        type: string 
+        enum: ["persistent", "non-persistent"]
       namespaceName:
         title: Pulsar Namespace Name
         description: The Pulsar Namespace Name
@@ -97,7 +98,7 @@ spec:
           - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
       compressionType:
         title: Compression Type
-        description: "Compression type to use. Possible values are NONE, LZ4, ZLIB, ZSTD, or SNAPPY."
+        description: "Compression type to use."
         type: string
         default: "NONE"
         x-descriptors:
@@ -106,6 +107,7 @@ spec:
           - 'urn:alm:descriptor:com.tectonic.ui:select:ZLIB'
           - 'urn:alm:descriptor:com.tectonic.ui:select:ZSTD'
           - 'urn:alm:descriptor:com.tectonic.ui:select:SNAPPY'
+        enum: ["ONE", "LZ4", "ZLIB", "ZSTD", "SNAPPY"]
       initialSequenceId:
         title: Initial SequenceId
         description: "The first message published will have a sequence Id of initialSequenceId 1."
@@ -130,13 +132,14 @@ spec:
         default: 50000
       messageRoutingMode:
         title: Message Routing Mode
-        description: "Message Routing Mode to use. Possible values are SinglePartition, RoundRobinPartition, CustomPartition"
+        description: "Message Routing Mode to use."
         type: string
         default: "RoundRobinPartition"
         x-descriptors:
           - 'urn:alm:descriptor:com.tectonic.ui:select:SinglePartition'
           - 'urn:alm:descriptor:com.tectonic.ui:select:RoundRobinPartition'
           - 'urn:alm:descriptor:com.tectonic.ui:select:CustomPartition'
+        enum: ["SinglePartition", "RoundRobinPartition", "CustomPartition"]
       producerName:
         title: Producer Name
         description: "Name of the producer. If unset, lets Pulsar select a unique identifier."


[camel-kamelets] 02/16: Convert all the parameters with multiple possible values to enum - Infinispan Source

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

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

commit 619f567859098acbd9f92c41ccbb2f34e8aafa04
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 10:44:43 2023 +0100

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/infinispan-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/infinispan-source.kamelet.yaml
index 8745267c..3771dc13 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/infinispan-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/infinispan-source.kamelet.yaml
@@ -84,10 +84,11 @@ spec:
         default: "infinispan"
       eventTypes:
         title: Infinispan Cluster Name
-        description: Specifies the set of event types to register by the consumer. Multiple event can be separated by comma without spaces. The possible event types are CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER
+        description: Specifies the set of event types to register by the consumer. Multiple event can be separated by comma without spaces.
         type: string
         example: "CLIENT_CACHE_ENTRY_CREATED,CLIENT_CACHE_ENTRY_MODIFIED"
         default: "CLIENT_CACHE_ENTRY_CREATED,CLIENT_CACHE_ENTRY_MODIFIED,CLIENT_CACHE_ENTRY_REMOVED,CLIENT_CACHE_ENTRY_EXPIRED,CLIENT_CACHE_FAILOVER"
+        enum: ["CLIENT_CACHE_ENTRY_CREATED", "CLIENT_CACHE_ENTRY_MODIFIED", "CLIENT_CACHE_ENTRY_REMOVED", "CLIENT_CACHE_ENTRY_EXPIRED", "CLIENT_CACHE_FAILOVER"]
   dependencies:
     - "camel:kamelet"
     - "camel:core"


[camel-kamelets] 03/16: Convert all the parameters with multiple possible values to enum - Jolt Action

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

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

commit e95772587e799f44e9bf481116eef537055bc547
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 10:49:56 2023 +0100

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

diff --git a/kamelets/jolt-transformation-action.kamelet.yaml b/kamelets/jolt-transformation-action.kamelet.yaml
index d7b0b27a..fc972b2d 100644
--- a/kamelets/jolt-transformation-action.kamelet.yaml
+++ b/kamelets/jolt-transformation-action.kamelet.yaml
@@ -43,9 +43,10 @@ spec:
         pattern: "^(http|https|file|classpath)://.*"
       transform:
         title: Transform DSL
-        description: Specifies the Transform DSL of the endpoint resource. If none is specified Chainr will be used. Possible values are Chainr, Shiftr, Defaultr, Removr and Sortr.
+        description: Specifies the Transform DSL of the endpoint resource. If none is specified Chainr will be used. 
         type: string
         default: "Chainr"
+        enum: ["Chainr", "Shiftr", "Defaultr", "Removr", "Sortr"]
   dependencies:
   - "camel:jolt"
   - "camel:kamelet"


[camel-kamelets] 04/16: Convert all the parameters with multiple possible values to enum - Jolt Action

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

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

commit 8c6684f637a61030482e5f001f5a99143cfb165e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 10:51:12 2023 +0100

    Convert all the parameters with multiple possible values to enum - Jolt Action
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../main/resources/kamelets/jolt-transformation-action.kamelet.yaml    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml
index d7b0b27a..fc972b2d 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml
@@ -43,9 +43,10 @@ spec:
         pattern: "^(http|https|file|classpath)://.*"
       transform:
         title: Transform DSL
-        description: Specifies the Transform DSL of the endpoint resource. If none is specified Chainr will be used. Possible values are Chainr, Shiftr, Defaultr, Removr and Sortr.
+        description: Specifies the Transform DSL of the endpoint resource. If none is specified Chainr will be used. 
         type: string
         default: "Chainr"
+        enum: ["Chainr", "Shiftr", "Defaultr", "Removr", "Sortr"]
   dependencies:
   - "camel:jolt"
   - "camel:kamelet"


[camel-kamelets] 09/16: Convert all the parameters with multiple possible values to enum - Pulsar Source

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

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

commit b7bc89ace5a8cc5d79a88d469c8062f70ab34e6e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 13:54:49 2023 +0100

    Convert all the parameters with multiple possible values to enum - Pulsar Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/pulsar-sink.kamelet.yaml   |  2 +-
 kamelets/pulsar-source.kamelet.yaml | 14 +++++++++-----
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/kamelets/pulsar-sink.kamelet.yaml b/kamelets/pulsar-sink.kamelet.yaml
index 5a402488..900056d3 100644
--- a/kamelets/pulsar-sink.kamelet.yaml
+++ b/kamelets/pulsar-sink.kamelet.yaml
@@ -51,7 +51,7 @@ spec:
         type: string
       topicType:
         title: Topic Type
-        description: "The topic type. Possible values are persistent or non-persistent."
+        description: "The topic type."
         type: string 
         enum: ["persistent", "non-persistent"]
       namespaceName:
diff --git a/kamelets/pulsar-source.kamelet.yaml b/kamelets/pulsar-source.kamelet.yaml
index 90a5853a..591e2b07 100644
--- a/kamelets/pulsar-source.kamelet.yaml
+++ b/kamelets/pulsar-source.kamelet.yaml
@@ -51,8 +51,9 @@ spec:
         type: string
       topicType:
         title: Topic Type
-        description: "The topic type. Possible values are persistent or non-persistent."
-        type: string  
+        description: "The topic type."
+        type: string
+        enum: ["persistent", "non-persistent"]
       namespaceName:
         title: Pulsar Namespace Name
         description: The Pulsar Namespace Name
@@ -118,9 +119,10 @@ spec:
           - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
       subscriptionInitialPosition:
         title: Subscription Initial Position
-        description: "Control the initial position in the topic of a newly created subscription. Default is latest message. Possible values are EARLIEST or LATEST."
+        description: "Control the initial position in the topic of a newly created subscription. Default is latest message."
         type: string
         default: LATEST
+        enum: ["EARLIEST", "LATEST"]
       subscriptionName:
         title: Subscription Name
         description: "Name of the subscription to use."
@@ -128,14 +130,16 @@ spec:
         default: subs
       subscriptionTopicsMode:
         title: Subscription Topics Mode
-        description: "Determines to which topics this consumer should be subscribed to - Persistent, Non-Persistent, or both. Only used with pattern subscriptions.Possible values are PersistentOnly, NonPersistentOnly, or AllTopics."
+        description: "Determines to which topics this consumer should be subscribed to - Persistent, Non-Persistent, or both. Only used with pattern subscriptions."
         type: string
         default: PersistentOnly
+        enum: ["PersistentOnly", "NonPersistentOnly", "AllTopics"]
       subscriptionType:
         title: Subscription Type
-        description: "Type of the subscription. Possible values are EXCLUSIVE, SHARED, FAILOVER, KEY_SHARED."
+        description: "Type of the subscription."
         type: string
         default: EXCLUSIVE
+        enum: ["EXCLUSIVE", "SHARED", "FAILOVER", "KEY_SHARED"]
       topicsPattern:
         title: Topic Pattern
         description: "Whether the topic is a pattern (regular expression) that allows the consumer to subscribe to all matching topics in the namespace."


[camel-kamelets] 12/16: Convert all the parameters with multiple possible values to enum - Salesforce Source

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

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

commit 596c6f2e47392bd912e7a5f5bedde72881b4074b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 14:01:39 2023 +0100

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
index 44c319ca..446b5eb6 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml
@@ -57,9 +57,10 @@ spec:
         default: https://login.salesforce.com
       notifyForFields:
         title: Notify For Fields
-        description: Notify for fields. Possible values are ALL, REFERENCED, SELECT, or WHERE.
+        description: Notify for fields.
         type: string
         default: ALL
+        enum: [ "ALL", "REFERENCED", "SELECT", "WHERE"]
       clientId:
         title: Consumer Key
         description: The Salesforce application consumer key.


[camel-kamelets] 05/16: Convert all the parameters with multiple possible values to enum - MongoDB Sink

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

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

commit 9ace235f414d8870660d6780ba3590f693fc7e64
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 10:56:33 2023 +0100

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

diff --git a/kamelets/mongodb-sink.kamelet.yaml b/kamelets/mongodb-sink.kamelet.yaml
index 0eb28514..2ce4225b 100644
--- a/kamelets/mongodb-sink.kamelet.yaml
+++ b/kamelets/mongodb-sink.kamelet.yaml
@@ -69,8 +69,9 @@ spec:
         type: string
       writeConcern:
         title: Write Concern
-        description: The level of acknowledgment requested from MongoDB for write operations. Possible values are ACKNOWLEDGED, W1, W2, W3, UNACKNOWLEDGED, JOURNALED, or MAJORITY.
+        description: The level of acknowledgment requested from MongoDB for write operations.
         type: string
+        enum: ["ACKNOWLEDGED", "W1", "W2", "W3", "UNACKNOWLEDGED", "JOURNALED", "MAJORITY"]
       createCollection:
         title: Collection
         description: Create a collection during initialization if it doesn't exist.


[camel-kamelets] 06/16: Convert all the parameters with multiple possible values to enum - MongoDB Sink

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

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

commit 8aa0065692f2fc2cc23914d9d743c0c1db60b10b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 10:57:27 2023 +0100

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml
index 0eb28514..2ce4225b 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml
@@ -69,8 +69,9 @@ spec:
         type: string
       writeConcern:
         title: Write Concern
-        description: The level of acknowledgment requested from MongoDB for write operations. Possible values are ACKNOWLEDGED, W1, W2, W3, UNACKNOWLEDGED, JOURNALED, or MAJORITY.
+        description: The level of acknowledgment requested from MongoDB for write operations.
         type: string
+        enum: ["ACKNOWLEDGED", "W1", "W2", "W3", "UNACKNOWLEDGED", "JOURNALED", "MAJORITY"]
       createCollection:
         title: Collection
         description: Create a collection during initialization if it doesn't exist.


[camel-kamelets] 08/16: Convert all the parameters with multiple possible values to enum - Pulsar Sink

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

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

commit 418a89160665fb648046600b522e40f90c1d88e3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 11:03:35 2023 +0100

    Convert all the parameters with multiple possible values to enum - Pulsar Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/pulsar-sink.kamelet.yaml         | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml
index 0851c03b..5a402488 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml
@@ -52,7 +52,8 @@ spec:
       topicType:
         title: Topic Type
         description: "The topic type. Possible values are persistent or non-persistent."
-        type: string  
+        type: string 
+        enum: ["persistent", "non-persistent"]
       namespaceName:
         title: Pulsar Namespace Name
         description: The Pulsar Namespace Name
@@ -97,7 +98,7 @@ spec:
           - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
       compressionType:
         title: Compression Type
-        description: "Compression type to use. Possible values are NONE, LZ4, ZLIB, ZSTD, or SNAPPY."
+        description: "Compression type to use."
         type: string
         default: "NONE"
         x-descriptors:
@@ -106,6 +107,7 @@ spec:
           - 'urn:alm:descriptor:com.tectonic.ui:select:ZLIB'
           - 'urn:alm:descriptor:com.tectonic.ui:select:ZSTD'
           - 'urn:alm:descriptor:com.tectonic.ui:select:SNAPPY'
+        enum: ["ONE", "LZ4", "ZLIB", "ZSTD", "SNAPPY"]
       initialSequenceId:
         title: Initial SequenceId
         description: "The first message published will have a sequence Id of initialSequenceId 1."
@@ -130,13 +132,14 @@ spec:
         default: 50000
       messageRoutingMode:
         title: Message Routing Mode
-        description: "Message Routing Mode to use. Possible values are SinglePartition, RoundRobinPartition, CustomPartition"
+        description: "Message Routing Mode to use."
         type: string
         default: "RoundRobinPartition"
         x-descriptors:
           - 'urn:alm:descriptor:com.tectonic.ui:select:SinglePartition'
           - 'urn:alm:descriptor:com.tectonic.ui:select:RoundRobinPartition'
           - 'urn:alm:descriptor:com.tectonic.ui:select:CustomPartition'
+        enum: ["SinglePartition", "RoundRobinPartition", "CustomPartition"]
       producerName:
         title: Producer Name
         description: "Name of the producer. If unset, lets Pulsar select a unique identifier."


[camel-kamelets] 16/16: Convert all the parameters with multiple possible values to enum - XJ kamelets

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

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

commit 28391533cac1a84389c0049f6c3e1a42f3c9f00a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 14:05:47 2023 +0100

    Convert all the parameters with multiple possible values to enum - XJ kamelets
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/xj-identity-action.kamelet.yaml        | 3 ++-
 .../src/main/resources/kamelets/xj-template-action.kamelet.yaml        | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/xj-identity-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/xj-identity-action.kamelet.yaml
index f13d61ee..c469f9ad 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/xj-identity-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/xj-identity-action.kamelet.yaml
@@ -37,8 +37,9 @@ spec:
     properties:
       direction:
         title: Direction
-        description: The transform direction, possible values are XML2JSON or JSON2XML
+        description: The transform direction.
         type: string
+        enum: ["XML2JSON", "JSON2XML"]
   dependencies:
   - "camel:xj"
   - "camel:kamelet"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml
index c364bdc7..bcb1918b 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/xj-template-action.kamelet.yaml
@@ -38,8 +38,9 @@ spec:
     properties:
       direction:
         title: Direction
-        description: The transform direction, possible values are XML2JSON or JSON2XML
+        description: The transform direction.
         type: string
+        enum: ["XML2JSON", "JSON2XML"]
       template:
         title: Template
         description: The inline template to apply a transformation through template.


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

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

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

commit 7dd028d36a25df80a2a00ff83e08c7cbca34cf77
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 10:38:35 2023 +0100

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

diff --git a/kamelets/infinispan-source.kamelet.yaml b/kamelets/infinispan-source.kamelet.yaml
index 8745267c..3771dc13 100644
--- a/kamelets/infinispan-source.kamelet.yaml
+++ b/kamelets/infinispan-source.kamelet.yaml
@@ -84,10 +84,11 @@ spec:
         default: "infinispan"
       eventTypes:
         title: Infinispan Cluster Name
-        description: Specifies the set of event types to register by the consumer. Multiple event can be separated by comma without spaces. The possible event types are CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER
+        description: Specifies the set of event types to register by the consumer. Multiple event can be separated by comma without spaces.
         type: string
         example: "CLIENT_CACHE_ENTRY_CREATED,CLIENT_CACHE_ENTRY_MODIFIED"
         default: "CLIENT_CACHE_ENTRY_CREATED,CLIENT_CACHE_ENTRY_MODIFIED,CLIENT_CACHE_ENTRY_REMOVED,CLIENT_CACHE_ENTRY_EXPIRED,CLIENT_CACHE_FAILOVER"
+        enum: ["CLIENT_CACHE_ENTRY_CREATED", "CLIENT_CACHE_ENTRY_MODIFIED", "CLIENT_CACHE_ENTRY_REMOVED", "CLIENT_CACHE_ENTRY_EXPIRED", "CLIENT_CACHE_FAILOVER"]
   dependencies:
     - "camel:kamelet"
     - "camel:core"


[camel-kamelets] 14/16: Convert all the parameters with multiple possible values to enum - SFTP Sink

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

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

commit 8794ab08794619546866cedfeae81be20c4de096
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 14:03:59 2023 +0100

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml
index 1a8d7192..9220027c 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml
@@ -77,9 +77,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).