You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by va...@apache.org on 2021/11/22 10:28:14 UTC
[camel-kamelets] branch main updated: fix: use the right json schema type for integers (#575)
This is an automated email from the ASF dual-hosted git repository.
valdar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new 8187e83 fix: use the right json schema type for integers (#575)
8187e83 is described below
commit 8187e8333a342afb25cf9d98282b9b8d0326555f
Author: Luca Burgazzoli <lb...@users.noreply.github.com>
AuthorDate: Mon Nov 22 11:28:09 2021 +0100
fix: use the right json schema type for integers (#575)
---
aws-s3-streaming-upload-sink.kamelet.yaml | 4 ++--
azure-storage-queue-source.kamelet.yaml | 2 +-
couchbase-sink.kamelet.yaml | 2 +-
.../main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml | 4 ++--
.../main/resources/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 ded18ef..831cab6 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 626d5f4..b5c8dab 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 e0b97f1..a227fbd 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 ded18ef..831cab6 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 626d5f4..b5c8dab 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 e0b97f1..a227fbd 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 a49b30f..8c7424c 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 a49b30f..8c7424c 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