From b6a778aafc488fe61579bd87d8b63642824ba035 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 23 Nov 2021 11:53:27 +0100 Subject: [PATCH 1/5] Do not use kamelet-reify anymore - Infinispan Source --- infinispan-source.kamelet.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/infinispan-source.kamelet.yaml b/infinispan-source.kamelet.yaml index 63b6fae17..5cd284c79 100644 --- a/infinispan-source.kamelet.yaml +++ b/infinispan-source.kamelet.yaml @@ -80,13 +80,15 @@ spec: description: Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER type: string dependencies: - - "mvn:org.apache.camel.k:camel-k-kamelet-reify" - "camel:kamelet" - "camel:core" - "camel:infinispan" flow: + beans: + - name: local-infinispan + type: "#class:org.apache.camel.component.infinispan.InfinispanComponent" from: - uri: "kamelet-reify:infinispan:{{cacheName}}" + uri: "{{local-infinispan}}:{{cacheName}}" parameters: hosts: "{{hosts}}" secure: "{{secure}}" From eac5cc671cd3b65072869cc59761b1f4f73a826a Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 23 Nov 2021 11:55:07 +0100 Subject: [PATCH 2/5] Do not use kamelet-reify anymore - Infinispan Source --- .../main/resources/kamelets/infinispan-source.kamelet.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 63b6fae17..5cd284c79 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 @@ -80,13 +80,15 @@ spec: description: Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER type: string dependencies: - - "mvn:org.apache.camel.k:camel-k-kamelet-reify" - "camel:kamelet" - "camel:core" - "camel:infinispan" flow: + beans: + - name: local-infinispan + type: "#class:org.apache.camel.component.infinispan.InfinispanComponent" from: - uri: "kamelet-reify:infinispan:{{cacheName}}" + uri: "{{local-infinispan}}:{{cacheName}}" parameters: hosts: "{{hosts}}" secure: "{{secure}}" From 6778b5dd65799b17b7f99c4a2dc6ba64b252bd17 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 23 Nov 2021 11:55:26 +0100 Subject: [PATCH 3/5] Regen and docs --- docs/modules/ROOT/pages/aws-s3-streaming-upload-sink.adoc | 4 ++-- docs/modules/ROOT/pages/azure-storage-queue-source.adoc | 2 +- docs/modules/ROOT/pages/couchbase-sink.adoc | 2 +- docs/modules/ROOT/pages/infinispan-source.adoc | 1 - docs/modules/ROOT/pages/throttle-action.adoc | 4 ++-- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/modules/ROOT/pages/aws-s3-streaming-upload-sink.adoc b/docs/modules/ROOT/pages/aws-s3-streaming-upload-sink.adoc index c8e682bff..655aa52fd 100644 --- a/docs/modules/ROOT/pages/aws-s3-streaming-upload-sink.adoc +++ b/docs/modules/ROOT/pages/aws-s3-streaming-upload-sink.adoc @@ -20,8 +20,8 @@ The following table summarizes the configuration options available for the `aws- | *region {empty}* *| AWS Region| The AWS region to connect to.| string| | `"eu-west-1"` | *secretKey {empty}* *| Secret Key| The secret key obtained from AWS.| string| | | autoCreateBucket| Autocreate Bucket| Setting the autocreation of the S3 bucket bucketName.| boolean| `false`| -| batchMessageNumber| Batch Message Number| The number of messages composing a batch in streaming upload mode| int| `10`| -| batchSize| Batch Size| The batch size (in bytes) in streaming upload mode| int| `"1000000"`| +| batchMessageNumber| Batch Message Number| The number of messages composing a batch in streaming upload mode| integer| `10`| +| batchSize| Batch Size| The batch size (in bytes) in streaming upload mode| integer| `"1000000"`| | namingStrategy| Naming Strategy| The naming strategy to use in streaming upload mode. There are 2 enums and the value can be one of progressive, random| string| `"progressive"`| | restartingPolicy| Restarting Policy| The restarting policy to use in streaming upload mode. There are 2 enums and the value can be one of override, lastPart| string| `"lastPart"`| | streamingUploadMode| Streaming Upload Mode| Setting the Streaming Upload Mode| boolean| `true`| diff --git a/docs/modules/ROOT/pages/azure-storage-queue-source.adoc b/docs/modules/ROOT/pages/azure-storage-queue-source.adoc index 40eedce2c..01ec71b10 100644 --- a/docs/modules/ROOT/pages/azure-storage-queue-source.adoc +++ b/docs/modules/ROOT/pages/azure-storage-queue-source.adoc @@ -17,7 +17,7 @@ The following table summarizes the configuration options available for the `azur | *accessKey {empty}* *| Access Key| The Azure Storage Queue access Key.| string| | | *accountName {empty}* *| Account Name| The Azure Storage Queue account name.| string| | | *queueName {empty}* *| Queue Name| The Azure Storage Queue container name.| string| | -| maxMessages| Maximum Messages| 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.| int| `1`| +| maxMessages| Maximum Messages| 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.| integer| `1`| |=== NOTE: Fields marked with an asterisk ({empty}*) are mandatory. diff --git a/docs/modules/ROOT/pages/couchbase-sink.adoc b/docs/modules/ROOT/pages/couchbase-sink.adoc index 422610914..9449fd0e5 100644 --- a/docs/modules/ROOT/pages/couchbase-sink.adoc +++ b/docs/modules/ROOT/pages/couchbase-sink.adoc @@ -18,7 +18,7 @@ The following table summarizes the configuration options available for the `couc | *couchbaseHostname {empty}* *| Hostname| The hostname to use| string| | | *protocol {empty}* *| Protocol| The protocol to use| string| | | autoStartId| Auto Start Id| Auto Start Id or not| boolean| `true`| -| couchbasePort| Port| The port to use| int| `8091`| +| couchbasePort| Port| The port to use| integer| `8091`| | password| Password| Password to connect to Couchbase.| string| | | startingId| Starting Id| The starting id| long| `1`| | username| Username| Username to connect to Couchbase.| string| | diff --git a/docs/modules/ROOT/pages/infinispan-source.adoc b/docs/modules/ROOT/pages/infinispan-source.adoc index 449380a5a..b0f64b582 100644 --- a/docs/modules/ROOT/pages/infinispan-source.adoc +++ b/docs/modules/ROOT/pages/infinispan-source.adoc @@ -32,7 +32,6 @@ NOTE: Fields marked with an asterisk ({empty}*) are mandatory. At runtime, the `infinispan-source` Kamelet relies upon the presence of the following dependencies: -- mvn:org.apache.camel.k:camel-k-kamelet-reify - camel:kamelet - camel:core - camel:infinispan diff --git a/docs/modules/ROOT/pages/throttle-action.adoc b/docs/modules/ROOT/pages/throttle-action.adoc index b1f729e51..8c6acb0f4 100644 --- a/docs/modules/ROOT/pages/throttle-action.adoc +++ b/docs/modules/ROOT/pages/throttle-action.adoc @@ -6,7 +6,7 @@ *Support Level for this Kamelet is: "Preview"* -The Throttl action allows to ensure that a specific sink does not get overloaded. +The Throttle action allows to ensure that a specific sink does not get overloaded. == Configuration Options @@ -14,7 +14,7 @@ The following table summarizes the configuration options available for the `thro [width="100%",cols="2,^2,3,^2,^2,^3",options="header"] |=== | Property| Name| Description| Type| Default| Example -| *messages {empty}* *| Messages Number| The number of messages to send in the time period set| int| | `10` +| *messages {empty}* *| Messages Number| The number of messages to send in the time period set| integer| | `10` | timePeriod| Time Period| Sets the time period during which the maximum request count is valid for, in milliseconds| string| `"1000"`| |=== From ab3490975e0a865671becb6c002bab078dc0d4cf Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 23 Nov 2021 12:22:05 +0100 Subject: [PATCH 4/5] Do not use kamelet-reify anymore - Infinispan Source --- infinispan-source.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infinispan-source.kamelet.yaml b/infinispan-source.kamelet.yaml index 5cd284c79..7fd38ba79 100644 --- a/infinispan-source.kamelet.yaml +++ b/infinispan-source.kamelet.yaml @@ -86,7 +86,7 @@ spec: flow: beans: - name: local-infinispan - type: "#class:org.apache.camel.component.infinispan.InfinispanComponent" + type: "#class:org.apache.camel.component.infinispan.remote.InfinispanRemoteComponent" from: uri: "{{local-infinispan}}:{{cacheName}}" parameters: From a5734fb337e026954a15388d197aec46819164e4 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 23 Nov 2021 12:22:33 +0100 Subject: [PATCH 5/5] Do not use kamelet-reify anymore - Infinispan Source --- .../src/main/resources/kamelets/infinispan-source.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5cd284c79..7fd38ba79 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 @@ -86,7 +86,7 @@ spec: flow: beans: - name: local-infinispan - type: "#class:org.apache.camel.component.infinispan.InfinispanComponent" + type: "#class:org.apache.camel.component.infinispan.remote.InfinispanRemoteComponent" from: uri: "{{local-infinispan}}:{{cacheName}}" parameters: