From 42a4ba273d9fbded75dbbb392ea4953fa66693b2 Mon Sep 17 00:00:00 2001 From: Andrea Tarocchi Date: Fri, 13 May 2022 11:08:55 +0200 Subject: [PATCH] fix #924 kamelets heve wrong type for properteries. --- kamelets/aws-ddb-streams-source.kamelet.yaml | 2 +- kamelets/aws-kinesis-source.kamelet.yaml | 2 +- kamelets/aws-redshift-source.kamelet.yaml | 2 +- kamelets/aws-s3-source.kamelet.yaml | 2 +- .../aws-s3-streaming-upload-sink.kamelet.yaml | 4 ++-- kamelets/aws-sqs-source.kamelet.yaml | 2 +- kamelets/azure-servicebus-sink.kamelet.yaml | 2 +- kamelets/azure-servicebus-source.kamelet.yaml | 6 +++--- kamelets/couchbase-sink.kamelet.yaml | 2 +- kamelets/infinispan-sink.kamelet.yaml | 6 +++--- kamelets/infinispan-source.kamelet.yaml | 6 +++--- kamelets/pulsar-sink.kamelet.yaml | 12 +++++------ kamelets/pulsar-source.kamelet.yaml | 12 +++++------ kamelets/websocket-source.kamelet.yaml | 20 ++++++++++++++----- kamelets/xj-identity-action.kamelet.yaml | 2 +- kamelets/xj-template-action.kamelet.yaml | 2 +- .../aws-ddb-streams-source.kamelet.yaml | 2 +- .../kamelets/aws-kinesis-source.kamelet.yaml | 2 +- .../kamelets/aws-redshift-source.kamelet.yaml | 2 +- .../kamelets/aws-s3-source.kamelet.yaml | 2 +- .../aws-s3-streaming-upload-sink.kamelet.yaml | 4 ++-- .../kamelets/aws-sqs-source.kamelet.yaml | 2 +- .../azure-servicebus-sink.kamelet.yaml | 2 +- .../azure-servicebus-source.kamelet.yaml | 6 +++--- .../kamelets/couchbase-sink.kamelet.yaml | 2 +- .../kamelets/infinispan-sink.kamelet.yaml | 6 +++--- .../kamelets/infinispan-source.kamelet.yaml | 6 +++--- .../kamelets/pulsar-sink.kamelet.yaml | 12 +++++------ .../kamelets/pulsar-source.kamelet.yaml | 12 +++++------ .../kamelets/websocket-source.kamelet.yaml | 20 ++++++++++++++----- .../kamelets/xj-identity-action.kamelet.yaml | 2 +- .../kamelets/xj-template-action.kamelet.yaml | 2 +- 32 files changed, 94 insertions(+), 74 deletions(-) diff --git a/kamelets/aws-ddb-streams-source.kamelet.yaml b/kamelets/aws-ddb-streams-source.kamelet.yaml index c1709e85b..a542a19a6 100644 --- a/kamelets/aws-ddb-streams-source.kamelet.yaml +++ b/kamelets/aws-ddb-streams-source.kamelet.yaml @@ -92,7 +92,7 @@ spec: delay: title: Delay description: Milliseconds before the next poll from database - type: long + type: integer default: 500 types: out: diff --git a/kamelets/aws-kinesis-source.kamelet.yaml b/kamelets/aws-kinesis-source.kamelet.yaml index 4ffbea0aa..a40f7850a 100644 --- a/kamelets/aws-kinesis-source.kamelet.yaml +++ b/kamelets/aws-kinesis-source.kamelet.yaml @@ -87,7 +87,7 @@ spec: delay: title: Delay description: Milliseconds before the next poll of the selected stream - type: long + type: integer default: 500 types: out: diff --git a/kamelets/aws-redshift-source.kamelet.yaml b/kamelets/aws-redshift-source.kamelet.yaml index 9bb86db79..86c7d1122 100644 --- a/kamelets/aws-redshift-source.kamelet.yaml +++ b/kamelets/aws-redshift-source.kamelet.yaml @@ -80,7 +80,7 @@ spec: delay: title: Delay description: Milliseconds before the next poll from database - type: long + type: integer default: 500 types: out: diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml index a2da44330..19eee1025 100644 --- a/kamelets/aws-s3-source.kamelet.yaml +++ b/kamelets/aws-s3-source.kamelet.yaml @@ -103,7 +103,7 @@ spec: delay: title: Delay description: Milliseconds before the next poll of the selected bucket - type: long + type: integer default: 500 dependencies: - "camel:aws2-s3" diff --git a/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml b/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml index e50df794d..bd45752ea 100644 --- a/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml +++ b/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml @@ -95,11 +95,11 @@ spec: title: Batch Size description: The batch size (in bytes) in streaming upload mode type: integer - default: '1000000' + default: 1000000 streamingUploadTimeout: title: Streaming Upload Timeout description: While streaming upload mode is true, this option set the timeout to complete upload - type: long + type: integer namingStrategy: title: Naming Strategy description: The naming strategy to use in streaming upload mode. There are 2 enums and the value can be one of progressive, random diff --git a/kamelets/aws-sqs-source.kamelet.yaml b/kamelets/aws-sqs-source.kamelet.yaml index 238a35495..caf79b8f3 100644 --- a/kamelets/aws-sqs-source.kamelet.yaml +++ b/kamelets/aws-sqs-source.kamelet.yaml @@ -127,7 +127,7 @@ spec: delay: title: Delay description: Milliseconds before the next poll of the selected stream - type: long + type: integer default: 500 dependencies: - "camel:aws2-sqs" diff --git a/kamelets/azure-servicebus-sink.kamelet.yaml b/kamelets/azure-servicebus-sink.kamelet.yaml index 1527ab4a4..566b8b069 100644 --- a/kamelets/azure-servicebus-sink.kamelet.yaml +++ b/kamelets/azure-servicebus-sink.kamelet.yaml @@ -40,7 +40,7 @@ spec: topicOrQueueName: title: Topic Or Queue Name description: Topic Or Queue Name for the Azure Servicebus instance - type: String + type: string connectionString: title: Connection String description: Connection String for Azure Servicebus instance diff --git a/kamelets/azure-servicebus-source.kamelet.yaml b/kamelets/azure-servicebus-source.kamelet.yaml index b202fe78f..aec0bd83c 100644 --- a/kamelets/azure-servicebus-source.kamelet.yaml +++ b/kamelets/azure-servicebus-source.kamelet.yaml @@ -42,7 +42,7 @@ spec: topicOrQueueName: title: Topic Or Queue Name description: Topic Or Queue Name for the Azure Servicebus instance - type: String + type: string connectionString: title: Connection String description: Connection String for Azure Servicebus instance @@ -54,12 +54,12 @@ spec: serviceBusReceiveMode: title: Servicebus Receive Mode description: Sets the receive mode for the receiver, possible values are PEEK_LOCK and RECEIVE_AND_DELETE - type: String + type: string default: PEEK_LOCK subscriptionName: title: Subscription Name description: Sets the name of the subscription in the topic to listen to. This parameter is mandatory in case of topic. - type: String + type: string types: out: mediaType: application/octet-stream diff --git a/kamelets/couchbase-sink.kamelet.yaml b/kamelets/couchbase-sink.kamelet.yaml index 7b94e040c..e3ad8b7b7 100644 --- a/kamelets/couchbase-sink.kamelet.yaml +++ b/kamelets/couchbase-sink.kamelet.yaml @@ -71,7 +71,7 @@ spec: startingId: title: Starting Id description: The starting id - type: long + type: integer default: 1 autoStartId: title: Auto Start Id diff --git a/kamelets/infinispan-sink.kamelet.yaml b/kamelets/infinispan-sink.kamelet.yaml index f58127d8c..a7235ea1d 100644 --- a/kamelets/infinispan-sink.kamelet.yaml +++ b/kamelets/infinispan-sink.kamelet.yaml @@ -47,11 +47,11 @@ spec: cacheName: title: Cache Name description: The name of the Infinispan cache to use - type: String + type: string hosts: title: Hosts description: Specifies the host of the cache on Infinispan instance - type: String + type: string secure: title: Secure description: If the Infinispan instance is secured or not @@ -76,7 +76,7 @@ spec: saslMechanism: title: SASL Mechanism description: The SASL Mechanism to use - type: String + type: string default: "DIGEST-MD5" securityRealm: title: Security Realm diff --git a/kamelets/infinispan-source.kamelet.yaml b/kamelets/infinispan-source.kamelet.yaml index 531501626..449fa2d5d 100644 --- a/kamelets/infinispan-source.kamelet.yaml +++ b/kamelets/infinispan-source.kamelet.yaml @@ -41,11 +41,11 @@ spec: cacheName: title: Cache Name description: The name of the Infinispan cache to use - type: String + type: string hosts: title: Hosts description: Specifies the host of the cache on Infinispan instance - type: String + type: string secure: title: Secure description: If the Infinispan instance is secured or not @@ -70,7 +70,7 @@ spec: saslMechanism: title: SASL Mechanism description: The SASL Mechanism to use - type: String + type: string default: "DIGEST-MD5" securityRealm: title: Security Realm diff --git a/kamelets/pulsar-sink.kamelet.yaml b/kamelets/pulsar-sink.kamelet.yaml index d56680f25..e167649c0 100644 --- a/kamelets/pulsar-sink.kamelet.yaml +++ b/kamelets/pulsar-sink.kamelet.yaml @@ -81,12 +81,12 @@ spec: batchingMaxMessages: title: Batching Maximum Messages description: "The maximum size to batch messages." - type: int + type: integer default: 1000 batchingMaxPublishDelayMicros: title: Batching Maximum Publish Delay in Microsecond description: "The maximum time period within which the messages sent will be batched if batchingEnabled is true." - type: long + type: integer default: 1000 blockIfQueueFull: title: Block If Queue Full @@ -109,7 +109,7 @@ spec: initialSequenceId: title: Initial SequenceId description: "The first message published will have a sequence Id of initialSequenceId 1." - type: long + type: integer default: -1 lazyStartProducer: title: Number Of Consumer Threads @@ -121,12 +121,12 @@ spec: maxPendingMessages: title: Maximum Pending Messages description: "Size of the pending massages queue. When the queue is full, by default, any further sends will fail unless blockIfQueueFull=true." - type: int + type: integer default: 1000 maxPendingMessagesAcrossPartitions: title: Maximum Pending Messages Across Partitions description: "The maximum number of pending messages for partitioned topics. The maxPendingMessages value will be reduced if (number of partitions maxPendingMessages) exceeds this value. Partitioned topics have a pending message queue for each partition." - type: int + type: integer default: 50000 messageRoutingMode: title: Message Routing Mode @@ -144,7 +144,7 @@ spec: sendTimeoutMs: title: Send Timeout in Milliseconds description: "Send timeout in milliseconds." - type: int + type: integer default: 30000 type: object template: diff --git a/kamelets/pulsar-source.kamelet.yaml b/kamelets/pulsar-source.kamelet.yaml index 6caa30b0e..434b52e46 100644 --- a/kamelets/pulsar-source.kamelet.yaml +++ b/kamelets/pulsar-source.kamelet.yaml @@ -77,20 +77,20 @@ spec: consumerQueueSize: title: Consumer Queue Size description: Size of the consumer queue - type: int + type: integer default: 10 deadLetterTopic: title: Dead Letter Topic description: "Name of the topic where the messages which fail maxRedeliverCount times will be sent. Note: if not set, default topic name will be topicName-subscriptionName-DLQ." - type: int + type: integer maxRedeliverCount: title: Maximum Redelivery Count description: "Maximum number of times that a message will be redelivered before being sent to the dead letter queue. If this value is not set, no Dead Letter Policy will be created." - type: int + type: integer negativeAckRedeliveryDelayMicros: title: Negative Ack Redelivery Delay in Microseconds description: "Set the negative acknowledgement delay." - type: long + type: integer default: 60000000 messageListener: title: Message Listener @@ -102,12 +102,12 @@ spec: numberOfConsumers: title: Number Of Consumers description: "Number of consumers." - type: int + type: integer default: 1 numberOfConsumerThreads: title: Number Of Consumer Threads description: "Number of threads to receive and handle messages when using a separate thread pool." - type: int + type: integer default: 1 readCompacted: title: Read Compacted diff --git a/kamelets/websocket-source.kamelet.yaml b/kamelets/websocket-source.kamelet.yaml index 63578132b..55f4b40c2 100644 --- a/kamelets/websocket-source.kamelet.yaml +++ b/kamelets/websocket-source.kamelet.yaml @@ -40,12 +40,16 @@ spec: bridgeErrorHandler: title: Bridge Rrror Handler description: Allows for bridging the consumer to the Camel routing Error Handler - type: bool + type: boolean + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:checkbox default: false sessionSupport: title: Session Support description: Whether to enable session support which enables HttpSession for each http request. - type: bool + type: boolean + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:checkbox default: false subprotocol: title: Subprotocol @@ -55,7 +59,9 @@ spec: lazyStartProducer: title: Lazy Start Producer description: Whether the producer should be started lazy (on the first message). - type: bool + type: boolean + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:checkbox default: false sendTimeout: title: Send Timeout @@ -80,7 +86,9 @@ spec: crossOriginFilterOn: title: Cross Origin Filter description: Whether to enable CORS. - type: bool + type: boolean + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:checkbox default: false filterPath: title: Filter Path @@ -90,7 +98,9 @@ spec: enableJmx: title: Filter Path description: Enable JMX support. - type: bool + type: boolean + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:checkbox default: false dependencies: - "camel:kamelet" diff --git a/kamelets/xj-identity-action.kamelet.yaml b/kamelets/xj-identity-action.kamelet.yaml index 35045e05c..d86a5eb37 100644 --- a/kamelets/xj-identity-action.kamelet.yaml +++ b/kamelets/xj-identity-action.kamelet.yaml @@ -38,7 +38,7 @@ spec: direction: title: Direction description: The transform direction, possible values are XML2JSON or JSON2XML - type: String + type: string dependencies: - "camel:xj" - "camel:kamelet" diff --git a/kamelets/xj-template-action.kamelet.yaml b/kamelets/xj-template-action.kamelet.yaml index 229699100..fb03509a7 100644 --- a/kamelets/xj-template-action.kamelet.yaml +++ b/kamelets/xj-template-action.kamelet.yaml @@ -39,7 +39,7 @@ spec: direction: title: Direction description: The transform direction, possible values are XML2JSON or JSON2XML - type: String + type: string template: title: Template description: The inline template to apply a transformation through template. diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml index c1709e85b..a542a19a6 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml @@ -92,7 +92,7 @@ spec: delay: title: Delay description: Milliseconds before the next poll from database - type: long + type: integer default: 500 types: out: diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml index 4ffbea0aa..a40f7850a 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml @@ -87,7 +87,7 @@ spec: delay: title: Delay description: Milliseconds before the next poll of the selected stream - type: long + type: integer default: 500 types: out: diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml index 9bb86db79..86c7d1122 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml @@ -80,7 +80,7 @@ spec: delay: title: Delay description: Milliseconds before the next poll from database - type: long + type: integer default: 500 types: out: diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml index a2da44330..19eee1025 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml @@ -103,7 +103,7 @@ spec: delay: title: Delay description: Milliseconds before the next poll of the selected bucket - type: long + type: integer default: 500 dependencies: - "camel:aws2-s3" diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml index e50df794d..bd45752ea 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml @@ -95,11 +95,11 @@ spec: title: Batch Size description: The batch size (in bytes) in streaming upload mode type: integer - default: '1000000' + default: 1000000 streamingUploadTimeout: title: Streaming Upload Timeout description: While streaming upload mode is true, this option set the timeout to complete upload - type: long + type: integer namingStrategy: title: Naming Strategy description: The naming strategy to use in streaming upload mode. There are 2 enums and the value can be one of progressive, random diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml index 238a35495..caf79b8f3 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml @@ -127,7 +127,7 @@ spec: delay: title: Delay description: Milliseconds before the next poll of the selected stream - type: long + type: integer default: 500 dependencies: - "camel:aws2-sqs" diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-sink.kamelet.yaml index 1527ab4a4..566b8b069 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-sink.kamelet.yaml @@ -40,7 +40,7 @@ spec: topicOrQueueName: title: Topic Or Queue Name description: Topic Or Queue Name for the Azure Servicebus instance - type: String + type: string connectionString: title: Connection String description: Connection String for Azure Servicebus instance diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml index b202fe78f..aec0bd83c 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml @@ -42,7 +42,7 @@ spec: topicOrQueueName: title: Topic Or Queue Name description: Topic Or Queue Name for the Azure Servicebus instance - type: String + type: string connectionString: title: Connection String description: Connection String for Azure Servicebus instance @@ -54,12 +54,12 @@ spec: serviceBusReceiveMode: title: Servicebus Receive Mode description: Sets the receive mode for the receiver, possible values are PEEK_LOCK and RECEIVE_AND_DELETE - type: String + type: string default: PEEK_LOCK subscriptionName: title: Subscription Name description: Sets the name of the subscription in the topic to listen to. This parameter is mandatory in case of topic. - type: String + type: string types: out: mediaType: application/octet-stream diff --git a/library/camel-kamelets/src/main/resources/kamelets/couchbase-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/couchbase-sink.kamelet.yaml index 7b94e040c..e3ad8b7b7 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/couchbase-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/couchbase-sink.kamelet.yaml @@ -71,7 +71,7 @@ spec: startingId: title: Starting Id description: The starting id - type: long + type: integer default: 1 autoStartId: title: Auto Start Id diff --git a/library/camel-kamelets/src/main/resources/kamelets/infinispan-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/infinispan-sink.kamelet.yaml index f58127d8c..a7235ea1d 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/infinispan-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/infinispan-sink.kamelet.yaml @@ -47,11 +47,11 @@ spec: cacheName: title: Cache Name description: The name of the Infinispan cache to use - type: String + type: string hosts: title: Hosts description: Specifies the host of the cache on Infinispan instance - type: String + type: string secure: title: Secure description: If the Infinispan instance is secured or not @@ -76,7 +76,7 @@ spec: saslMechanism: title: SASL Mechanism description: The SASL Mechanism to use - type: String + type: string default: "DIGEST-MD5" securityRealm: title: Security Realm 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 531501626..449fa2d5d 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 @@ -41,11 +41,11 @@ spec: cacheName: title: Cache Name description: The name of the Infinispan cache to use - type: String + type: string hosts: title: Hosts description: Specifies the host of the cache on Infinispan instance - type: String + type: string secure: title: Secure description: If the Infinispan instance is secured or not @@ -70,7 +70,7 @@ spec: saslMechanism: title: SASL Mechanism description: The SASL Mechanism to use - type: String + type: string default: "DIGEST-MD5" securityRealm: title: Security Realm 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 d56680f25..e167649c0 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 @@ -81,12 +81,12 @@ spec: batchingMaxMessages: title: Batching Maximum Messages description: "The maximum size to batch messages." - type: int + type: integer default: 1000 batchingMaxPublishDelayMicros: title: Batching Maximum Publish Delay in Microsecond description: "The maximum time period within which the messages sent will be batched if batchingEnabled is true." - type: long + type: integer default: 1000 blockIfQueueFull: title: Block If Queue Full @@ -109,7 +109,7 @@ spec: initialSequenceId: title: Initial SequenceId description: "The first message published will have a sequence Id of initialSequenceId 1." - type: long + type: integer default: -1 lazyStartProducer: title: Number Of Consumer Threads @@ -121,12 +121,12 @@ spec: maxPendingMessages: title: Maximum Pending Messages description: "Size of the pending massages queue. When the queue is full, by default, any further sends will fail unless blockIfQueueFull=true." - type: int + type: integer default: 1000 maxPendingMessagesAcrossPartitions: title: Maximum Pending Messages Across Partitions description: "The maximum number of pending messages for partitioned topics. The maxPendingMessages value will be reduced if (number of partitions maxPendingMessages) exceeds this value. Partitioned topics have a pending message queue for each partition." - type: int + type: integer default: 50000 messageRoutingMode: title: Message Routing Mode @@ -144,7 +144,7 @@ spec: sendTimeoutMs: title: Send Timeout in Milliseconds description: "Send timeout in milliseconds." - type: int + type: integer default: 30000 type: object template: 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 6caa30b0e..434b52e46 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 @@ -77,20 +77,20 @@ spec: consumerQueueSize: title: Consumer Queue Size description: Size of the consumer queue - type: int + type: integer default: 10 deadLetterTopic: title: Dead Letter Topic description: "Name of the topic where the messages which fail maxRedeliverCount times will be sent. Note: if not set, default topic name will be topicName-subscriptionName-DLQ." - type: int + type: integer maxRedeliverCount: title: Maximum Redelivery Count description: "Maximum number of times that a message will be redelivered before being sent to the dead letter queue. If this value is not set, no Dead Letter Policy will be created." - type: int + type: integer negativeAckRedeliveryDelayMicros: title: Negative Ack Redelivery Delay in Microseconds description: "Set the negative acknowledgement delay." - type: long + type: integer default: 60000000 messageListener: title: Message Listener @@ -102,12 +102,12 @@ spec: numberOfConsumers: title: Number Of Consumers description: "Number of consumers." - type: int + type: integer default: 1 numberOfConsumerThreads: title: Number Of Consumer Threads description: "Number of threads to receive and handle messages when using a separate thread pool." - type: int + type: integer default: 1 readCompacted: title: Read Compacted diff --git a/library/camel-kamelets/src/main/resources/kamelets/websocket-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/websocket-source.kamelet.yaml index 63578132b..55f4b40c2 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/websocket-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/websocket-source.kamelet.yaml @@ -40,12 +40,16 @@ spec: bridgeErrorHandler: title: Bridge Rrror Handler description: Allows for bridging the consumer to the Camel routing Error Handler - type: bool + type: boolean + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:checkbox default: false sessionSupport: title: Session Support description: Whether to enable session support which enables HttpSession for each http request. - type: bool + type: boolean + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:checkbox default: false subprotocol: title: Subprotocol @@ -55,7 +59,9 @@ spec: lazyStartProducer: title: Lazy Start Producer description: Whether the producer should be started lazy (on the first message). - type: bool + type: boolean + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:checkbox default: false sendTimeout: title: Send Timeout @@ -80,7 +86,9 @@ spec: crossOriginFilterOn: title: Cross Origin Filter description: Whether to enable CORS. - type: bool + type: boolean + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:checkbox default: false filterPath: title: Filter Path @@ -90,7 +98,9 @@ spec: enableJmx: title: Filter Path description: Enable JMX support. - type: bool + type: boolean + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:checkbox default: false dependencies: - "camel:kamelet" 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 35045e05c..d86a5eb37 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 @@ -38,7 +38,7 @@ spec: direction: title: Direction description: The transform direction, possible values are XML2JSON or JSON2XML - type: String + type: string 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 229699100..fb03509a7 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 @@ -39,7 +39,7 @@ spec: direction: title: Direction description: The transform direction, possible values are XML2JSON or JSON2XML - type: String + type: string template: title: Template description: The inline template to apply a transformation through template.