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

[camel-kamelets] branch final-enum-3.x created (now 96f85158)

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

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


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

This branch includes the following new commits:

     new 80dd8e6d Convert all the parameters with multiple possible values to enum - Infinispan Source
     new 7e7e50dd Convert all the parameters with multiple possible values to enum - Infinispan Source
     new 9ed14aa2 Convert all the parameters with multiple possible values to enum - Jolt Action
     new 0641558d Convert all the parameters with multiple possible values to enum - Jolt Action
     new 2927bc10 Convert all the parameters with multiple possible values to enum - MongoDB Sink
     new ae7a2164 Convert all the parameters with multiple possible values to enum - MongoDB Sink
     new 9aa8805b Convert all the parameters with multiple possible values to enum - Pulsar Sink
     new 7cf674fc Convert all the parameters with multiple possible values to enum - Pulsar Sink
     new 7252bb41 Convert all the parameters with multiple possible values to enum - Pulsar Source
     new 1b54df9c Convert all the parameters with multiple possible values to enum - Pulsar Source
     new 76464333 Convert all the parameters with multiple possible values to enum - Salesforce Source
     new 5397900c Convert all the parameters with multiple possible values to enum - Salesforce Source
     new ca0100fa Convert all the parameters with multiple possible values to enum - SFTP Sink
     new 350c09f3 Convert all the parameters with multiple possible values to enum - SFTP Sink
     new 686117b8 Convert all the parameters with multiple possible values to enum - XJ kamelets
     new 96f85158 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 686117b83d559d16b9442c898e832df5aa22072a
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 44a6ad3e..e1e79506 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 7471a02c..d4a74320 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 76464333f8f28c5e82735167fa9846112706612c
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 9feb9174..37ca0312 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 80dd8e6d9dd66e2a671edc8c3c94f8975f0d5a60
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 8a44885a..338f09af 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 0641558d859aeff286192d56ef499b636b8c25df
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 c5578e1c..dfc6917e 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 350c09f39e606381c5a1aa1c3f2974d693c1c234
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 155159bc..975bc0b4 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).


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

commit 9aa8805b089f150790cf3dda67f2c65c56487261
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 aacb5988..b757a3e8 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 2927bc101552cf8b322933457feb95e65bcbe25a
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 bd757c41..7f668f96 100644
--- a/kamelets/mongodb-sink.kamelet.yaml
+++ b/kamelets/mongodb-sink.kamelet.yaml
@@ -83,8 +83,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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 7e7e50ddbb8fc081c8b3862047c4f712715f134c
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 8a44885a..338f09af 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit ae7a2164939adf29d1341cade07299801641f7b2
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 bd757c41..7f668f96 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
@@ -83,8 +83,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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 7252bb41c1c7abc4a18a112ead8183ebcd4f6478
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 b757a3e8..2ca69da6 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 09b352ba..44a907b8 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 96f8515849f7dcfa34f977d859397505e05c29b3
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 44a6ad3e..e1e79506 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 7471a02c..d4a74320 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 9ed14aa20debc4680dcd98bb6da2b22dfdc93d35
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 c5578e1c..dfc6917e 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 1b54df9c87814be4d30b3206aabfd2ee13fcc193
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 b757a3e8..2ca69da6 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 09b352ba..44a907b8 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 7cf674fcd18dc0e4d8b26ed8d00c0fa65f2748da
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 aacb5988..b757a3e8 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit ca0100faeb33e58c276618fd5739110882c83062
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 155159bc..975bc0b4 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] 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.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 5397900c9fe8b840742244be12fa9f9d7f0adf09
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 9feb9174..37ca0312 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.