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:45 UTC
[camel-kamelets] branch 3.20.x updated (93795a4d -> ab7020b8)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch 3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
from 93795a4d Convert all the parameters with multiple possible values to enum - FTPS Source
new b5588e79 Convert all the parameters with multiple possible values to enum - Infinispan Source
new c46490da Convert all the parameters with multiple possible values to enum - Infinispan Source
new bbd037b8 Convert all the parameters with multiple possible values to enum - Jolt Action
new 18440815 Convert all the parameters with multiple possible values to enum - Jolt Action
new bd7e95fb Convert all the parameters with multiple possible values to enum - MongoDB Sink
new 54b92e1d Convert all the parameters with multiple possible values to enum - MongoDB Sink
new 26a9ebbc Convert all the parameters with multiple possible values to enum - Pulsar Sink
new 3936b6f7 Convert all the parameters with multiple possible values to enum - Pulsar Sink
new 5646635e Convert all the parameters with multiple possible values to enum - Pulsar Source
new fef7e5b1 Convert all the parameters with multiple possible values to enum - Pulsar Source
new b9d63e22 Convert all the parameters with multiple possible values to enum - Salesforce Source
new f647ea91 Convert all the parameters with multiple possible values to enum - Salesforce Source
new ead48c2f Convert all the parameters with multiple possible values to enum - SFTP Sink
new 40bef1b3 Convert all the parameters with multiple possible values to enum - SFTP Sink
new bb130a78 Convert all the parameters with multiple possible values to enum - XJ kamelets
new ab7020b8 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit bd7e95fb548e26506822bb6e354f48888f8af8fb
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 5646635e349b6d3f583e3e23039199baffea78bc
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 26a9ebbcc44254244e26d2a5136cc0d4af8594e0
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 54b92e1d3dde6037ffc2f0d04d0269f228950639
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit b9d63e2292bbe6e56401b74673c8d825b4276e94
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit bbd037b82736326bf25f0beeb19ae75f55d59e03
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 40bef1b31d8b4198ac0a4650179eae2bf1cc2c5c
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).
[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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit c46490da7915fdb0146681ca9c82d485fb4cfbd3
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 184408152f62d6fce5e5d38c1ab2e427870ccdae
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 3936b6f7b2034f53fffd05fcfa610bc93b41c7bb
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit ead48c2f2152a9b11af5f51313148449cdaacb92
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit f647ea9189e401da5018302bbff16b1058bf4665
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit fef7e5b1334593ca3311246eb95b3d9a59be9ab0
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit ab7020b8bf204aa44a037f33084bbdf54ca17d2d
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 3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit b5588e7917cb0c0a43a19e6e738bc7b08a894643
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] 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.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit bb130a78693c2b9c0d0b634bfcad1cda0bca2822
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.