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:12:34 UTC

[camel-kamelets] branch 3.x updated (9808fd5c -> 655e2e1f)

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

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


    from 9808fd5c Convert all the parameters with multiple possible values to enum - FTPS Source
     new f69165a8 Convert all the parameters with multiple possible values to enum - Infinispan Source
     new 31b732ec Convert all the parameters with multiple possible values to enum - Infinispan Source
     new 47988bf5 Convert all the parameters with multiple possible values to enum - Jolt Action
     new 4b56cf2a Convert all the parameters with multiple possible values to enum - Jolt Action
     new 9d3edec5 Convert all the parameters with multiple possible values to enum - MongoDB Sink
     new ee2d1ce8 Convert all the parameters with multiple possible values to enum - MongoDB Sink
     new bb7d87da Convert all the parameters with multiple possible values to enum - Pulsar Sink
     new 03a6b803 Convert all the parameters with multiple possible values to enum - Pulsar Sink
     new b5820924 Convert all the parameters with multiple possible values to enum - Pulsar Source
     new 7bc29aa3 Convert all the parameters with multiple possible values to enum - Pulsar Source
     new 7dec5ec6 Convert all the parameters with multiple possible values to enum - Salesforce Source
     new e50d666f Convert all the parameters with multiple possible values to enum - Salesforce Source
     new d3783d71 Convert all the parameters with multiple possible values to enum - SFTP Sink
     new e0f8f346 Convert all the parameters with multiple possible values to enum - SFTP Sink
     new 48aaaf4e Convert all the parameters with multiple possible values to enum - XJ kamelets
     new 655e2e1f 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.


Summary of changes:
 kamelets/infinispan-source.kamelet.yaml                    |  3 ++-
 kamelets/jolt-transformation-action.kamelet.yaml           |  3 ++-
 kamelets/mongodb-sink.kamelet.yaml                         |  3 ++-
 kamelets/pulsar-sink.kamelet.yaml                          | 11 +++++++----
 kamelets/pulsar-source.kamelet.yaml                        | 14 +++++++++-----
 kamelets/salesforce-source.kamelet.yaml                    |  3 ++-
 kamelets/sftp-sink.kamelet.yaml                            |  3 ++-
 kamelets/xj-identity-action.kamelet.yaml                   |  3 ++-
 kamelets/xj-template-action.kamelet.yaml                   |  3 ++-
 .../main/resources/kamelets/infinispan-source.kamelet.yaml |  3 ++-
 .../kamelets/jolt-transformation-action.kamelet.yaml       |  3 ++-
 .../src/main/resources/kamelets/mongodb-sink.kamelet.yaml  |  3 ++-
 .../src/main/resources/kamelets/pulsar-sink.kamelet.yaml   | 11 +++++++----
 .../src/main/resources/kamelets/pulsar-source.kamelet.yaml | 14 +++++++++-----
 .../main/resources/kamelets/salesforce-source.kamelet.yaml |  3 ++-
 .../src/main/resources/kamelets/sftp-sink.kamelet.yaml     |  3 ++-
 .../resources/kamelets/xj-identity-action.kamelet.yaml     |  3 ++-
 .../resources/kamelets/xj-template-action.kamelet.yaml     |  3 ++-
 18 files changed, 60 insertions(+), 32 deletions(-)


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

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

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

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

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

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

commit e50d666fd6bbde7d22d7b9e2cbadd28fe2911cc5
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.


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

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

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

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

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

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

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

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

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

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

commit 7dec5ec6938f3907849d40aa17b263b2195c637e
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.