From 72d8692aa64fba53dd97f693afaa09866f7ac3a3 Mon Sep 17 00:00:00 2001 From: Luca Burgazzoli Date: Mon, 22 Nov 2021 09:35:00 +0100 Subject: [PATCH] fix: use the right json schema type for integers --- aws-s3-streaming-upload-sink.kamelet.yaml | 4 ++-- azure-storage-queue-source.kamelet.yaml | 2 +- couchbase-sink.kamelet.yaml | 2 +- .../kamelets/aws-s3-streaming-upload-sink.kamelet.yaml | 4 ++-- .../kamelets/azure-storage-queue-source.kamelet.yaml | 2 +- .../src/main/resources/kamelets/couchbase-sink.kamelet.yaml | 2 +- .../src/main/resources/kamelets/throttle-action.kamelet.yaml | 4 ++-- throttle-action.kamelet.yaml | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/aws-s3-streaming-upload-sink.kamelet.yaml b/aws-s3-streaming-upload-sink.kamelet.yaml index ded18efe6..831cab6f2 100644 --- a/aws-s3-streaming-upload-sink.kamelet.yaml +++ b/aws-s3-streaming-upload-sink.kamelet.yaml @@ -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 diff --git a/azure-storage-queue-source.kamelet.yaml b/azure-storage-queue-source.kamelet.yaml index 626d5f421..b5c8dab37 100644 --- a/azure-storage-queue-source.kamelet.yaml +++ b/azure-storage-queue-source.kamelet.yaml @@ -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" diff --git a/couchbase-sink.kamelet.yaml b/couchbase-sink.kamelet.yaml index e0b97f103..a227fbdb3 100644 --- a/couchbase-sink.kamelet.yaml +++ b/couchbase-sink.kamelet.yaml @@ -32,7 +32,7 @@ spec: couchbasePort: title: Port description: The port to use - type: int + type: integer default: 8091 bucket: title: Bucket 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 ded18efe6..831cab6f2 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 @@ -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 diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml index 626d5f421..b5c8dab37 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml @@ -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" 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 e0b97f103..a227fbdb3 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 @@ -32,7 +32,7 @@ spec: couchbasePort: title: Port description: The port to use - type: int + type: integer default: 8091 bucket: title: Bucket diff --git a/library/camel-kamelets/src/main/resources/kamelets/throttle-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/throttle-action.kamelet.yaml index a49b30fbe..8c7424cdb 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/throttle-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/throttle-action.kamelet.yaml @@ -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 diff --git a/throttle-action.kamelet.yaml b/throttle-action.kamelet.yaml index a49b30fbe..8c7424cdb 100644 --- a/throttle-action.kamelet.yaml +++ b/throttle-action.kamelet.yaml @@ -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