From 91368a9acbe9333daad3dcca36b2a9be0de876dc Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Thu, 30 Sep 2021 14:18:20 +0200 Subject: [PATCH 1/3] Google Sheets Source Kamelet: introducing repeatCount optional parameter --- google-sheets-source.kamelet.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/google-sheets-source.kamelet.yaml b/google-sheets-source.kamelet.yaml index 655003537..cfc2d479c 100644 --- a/google-sheets-source.kamelet.yaml +++ b/google-sheets-source.kamelet.yaml @@ -66,6 +66,10 @@ spec: description: Milliseconds before the next poll type: integer default: 500 + repeatCount: + title: Repeat Count + description: Specifies a maximum limit of number of fires + type: integer applicationName: title: Application name description: Google Sheets application name @@ -104,6 +108,7 @@ spec: applicationName: "{{applicationName}}" splitResults: "{{splitResults}}" range: "{{range}}" + repeatCount: "{{?repeatCount}}" steps: - marshal: json: {} From a47b9b9a96b398e2eb999191037bbec618905b74 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Thu, 30 Sep 2021 14:19:54 +0200 Subject: [PATCH 2/3] Google Sheets Source Kamelet: introducing repeatCount optional parameter --- .../resources/kamelets/google-sheets-source.kamelet.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-sheets-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-sheets-source.kamelet.yaml index 655003537..cfc2d479c 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/google-sheets-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/google-sheets-source.kamelet.yaml @@ -66,6 +66,10 @@ spec: description: Milliseconds before the next poll type: integer default: 500 + repeatCount: + title: Repeat Count + description: Specifies a maximum limit of number of fires + type: integer applicationName: title: Application name description: Google Sheets application name @@ -104,6 +108,7 @@ spec: applicationName: "{{applicationName}}" splitResults: "{{splitResults}}" range: "{{range}}" + repeatCount: "{{?repeatCount}}" steps: - marshal: json: {} From 096670dcad64daab9fd8eb0cdc77a8c8090a488e Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Thu, 30 Sep 2021 14:20:07 +0200 Subject: [PATCH 3/3] Google Sheets Source Kamelet: introducing repeatCount optional parameter --- docs/modules/ROOT/pages/google-sheets-source.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/modules/ROOT/pages/google-sheets-source.adoc b/docs/modules/ROOT/pages/google-sheets-source.adoc index 299ac5265..e25e437da 100644 --- a/docs/modules/ROOT/pages/google-sheets-source.adoc +++ b/docs/modules/ROOT/pages/google-sheets-source.adoc @@ -22,6 +22,7 @@ The following table summarizes the configuration options available for the `goog | *spreadsheetId {empty}* *| Spreadsheet ID| The Spreadsheet ID to be used as events source| string| | | delay| Delay| Milliseconds before the next poll| integer| `500`| | range| Consume from now| the range of rows and columns in a sheet to get data from.| boolean| | `"A1:B3"` +| repeatCount| Repeat Count| Specifies a maximum limit of number of fires| integer| | | splitResults| Split Results| True if value range result should be split into rows or columns to process each of them individually.| boolean| `true`| |===