Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Sheets Source Kamelet: introducing repeatCount optional parameter #536

Merged
merged 3 commits into from
Sep 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/google-sheets-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`|
|===

Expand Down
5 changes: 5 additions & 0 deletions google-sheets-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -104,6 +108,7 @@ spec:
applicationName: "{{applicationName}}"
splitResults: "{{splitResults}}"
range: "{{range}}"
repeatCount: "{{?repeatCount}}"
steps:
- marshal:
json: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -104,6 +108,7 @@ spec:
applicationName: "{{applicationName}}"
splitResults: "{{splitResults}}"
range: "{{range}}"
repeatCount: "{{?repeatCount}}"
steps:
- marshal:
json: {}
Expand Down