diff --git a/kamelets/infinispan-source.kamelet.yaml b/kamelets/infinispan-source.kamelet.yaml index 8745267c4..3771dc137 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" diff --git a/kamelets/jolt-transformation-action.kamelet.yaml b/kamelets/jolt-transformation-action.kamelet.yaml index d7b0b27a6..fc972b2d6 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" diff --git a/kamelets/mongodb-sink.kamelet.yaml b/kamelets/mongodb-sink.kamelet.yaml index 0eb285146..2ce4225b8 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. diff --git a/kamelets/pulsar-sink.kamelet.yaml b/kamelets/pulsar-sink.kamelet.yaml index 0851c03b3..900056d3d 100644 --- a/kamelets/pulsar-sink.kamelet.yaml +++ b/kamelets/pulsar-sink.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 @@ -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." diff --git a/kamelets/pulsar-source.kamelet.yaml b/kamelets/pulsar-source.kamelet.yaml index 90a5853a4..591e2b070 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." diff --git a/kamelets/salesforce-source.kamelet.yaml b/kamelets/salesforce-source.kamelet.yaml index 44c319ca6..446b5eb6f 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. diff --git a/kamelets/sftp-sink.kamelet.yaml b/kamelets/sftp-sink.kamelet.yaml index 1a8d7192a..9220027cb 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). diff --git a/kamelets/xj-identity-action.kamelet.yaml b/kamelets/xj-identity-action.kamelet.yaml index f13d61eed..c469f9ada 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 c364bdc7f..bcb1918bc 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. 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 8745267c4..3771dc137 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" 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 d7b0b27a6..fc972b2d6 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" 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 0eb285146..2ce4225b8 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. 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 0851c03b3..900056d3d 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,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 @@ -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." 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 90a5853a4..591e2b070 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." 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 44c319ca6..446b5eb6f 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. 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 1a8d7192a..9220027cb 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). 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 f13d61eed..c469f9ada 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 c364bdc7f..bcb1918bc 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.