Skip to content

Commit

Permalink
fix: use the right json schema type for integers (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Nov 22, 2021
1 parent fc18dd5 commit 8187e83
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions aws-s3-streaming-upload-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ spec:
batchMessageNumber:
title: Batch Message Number
description: The number of messages composing a batch in streaming upload mode
type: int
type: integer
default: 10
batchSize:
title: Batch Size
description: The batch size (in bytes) in streaming upload mode
type: int
type: integer
default: '1000000'
streamingUploadTimeout:
title: Streaming Upload Timeout
Expand Down
2 changes: 1 addition & 1 deletion azure-storage-queue-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
maxMessages:
title: Maximum Messages
description: Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned. By default it will consider 1 message to be retrieved, the allowed range is 1 to 32 messages.
type: int
type: integer
default: 1
dependencies:
- "camel:azure-storage-queue"
Expand Down
2 changes: 1 addition & 1 deletion couchbase-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
couchbasePort:
title: Port
description: The port to use
type: int
type: integer
default: 8091
bucket:
title: Bucket
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ spec:
batchMessageNumber:
title: Batch Message Number
description: The number of messages composing a batch in streaming upload mode
type: int
type: integer
default: 10
batchSize:
title: Batch Size
description: The batch size (in bytes) in streaming upload mode
type: int
type: integer
default: '1000000'
streamingUploadTimeout:
title: Streaming Upload Timeout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
maxMessages:
title: Maximum Messages
description: Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned. By default it will consider 1 message to be retrieved, the allowed range is 1 to 32 messages.
type: int
type: integer
default: 1
dependencies:
- "camel:azure-storage-queue"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
couchbasePort:
title: Port
description: The port to use
type: int
type: integer
default: 8091
bucket:
title: Bucket
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ metadata:
spec:
definition:
title: "Throttle Action"
description: "The Throttl action allows to ensure that a specific sink does not get overloaded."
description: "The Throttle action allows to ensure that a specific sink does not get overloaded."
required:
- messages
properties:
messages:
title: Messages Number
description: The number of messages to send in the time period set
type: int
type: integer
example: 10
timePeriod:
title: Time Period
Expand Down
4 changes: 2 additions & 2 deletions throttle-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ metadata:
spec:
definition:
title: "Throttle Action"
description: "The Throttl action allows to ensure that a specific sink does not get overloaded."
description: "The Throttle action allows to ensure that a specific sink does not get overloaded."
required:
- messages
properties:
messages:
title: Messages Number
description: The number of messages to send in the time period set
type: int
type: integer
example: 10
timePeriod:
title: Time Period
Expand Down

0 comments on commit 8187e83

Please sign in to comment.