Skip to content

Commit

Permalink
fix #924 kamelets heve wrong type for properteries.
Browse files Browse the repository at this point in the history
  • Loading branch information
valdar authored and lburgazzoli committed May 13, 2022
1 parent 555bbab commit 42a4ba2
Show file tree
Hide file tree
Showing 32 changed files with 94 additions and 74 deletions.
2 changes: 1 addition & 1 deletion kamelets/aws-ddb-streams-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
delay:
title: Delay
description: Milliseconds before the next poll from database
type: long
type: integer
default: 500
types:
out:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-kinesis-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-redshift-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
delay:
title: Delay
description: Milliseconds before the next poll from database
type: long
type: integer
default: 500
types:
out:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-s3-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kamelets/aws-sqs-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion kamelets/azure-servicebus-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions kamelets/azure-servicebus-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kamelets/couchbase-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
startingId:
title: Starting Id
description: The starting id
type: long
type: integer
default: 1
autoStartId:
title: Auto Start Id
Expand Down
6 changes: 3 additions & 3 deletions kamelets/infinispan-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions kamelets/infinispan-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions kamelets/pulsar-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down
12 changes: 6 additions & 6 deletions kamelets/pulsar-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
20 changes: 15 additions & 5 deletions kamelets/websocket-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion kamelets/xj-identity-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion kamelets/xj-template-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
delay:
title: Delay
description: Milliseconds before the next poll from database
type: long
type: integer
default: 500
types:
out:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
delay:
title: Delay
description: Milliseconds before the next poll from database
type: long
type: integer
default: 500
types:
out:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading

0 comments on commit 42a4ba2

Please sign in to comment.