This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 054b2290533df9967e7ebd062c4cf96dd7eee4d8 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Nov 10 10:38:37 2023 +0100 Use only camelCase in kamelets yaml - Google Sheets Kamelet Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- kamelets/google-sheets-sink.kamelet.yaml | 12 ++++++------ kamelets/google-sheets-source.kamelet.yaml | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/kamelets/google-sheets-sink.kamelet.yaml b/kamelets/google-sheets-sink.kamelet.yaml index 682dbe96..03e69771 100644 --- a/kamelets/google-sheets-sink.kamelet.yaml +++ b/kamelets/google-sheets-sink.kamelet.yaml @@ -159,23 +159,23 @@ spec: from: uri: "kamelet:source" steps: - - set-header: + - setHeader: name: CamelGoogleSheets.spreadsheetId simple: "{{spreadsheetId}}" - - set-header: + - setHeader: name: CamelGoogleSheets.range simple: "{{?range}}" - - set-header: + - setHeader: name: CamelGoogleSheets.majorDimension simple: "{{?majorDimension}}" - - set-header: + - setHeader: name: CamelGoogleSheets.columnNames simple: "{{?columnNames}}" - - set-header: + - setHeader: name: CamelGoogleSheets.valueInputOption simple: "{{?valueInputOption}}" - transform: - to-type: "google-sheets:application-x-struct" + toType: "google-sheets:application-x-struct" - to: uri: "google-sheets:data/{{operation}}" parameters: diff --git a/kamelets/google-sheets-source.kamelet.yaml b/kamelets/google-sheets-source.kamelet.yaml index db785131..c759a31f 100644 --- a/kamelets/google-sheets-source.kamelet.yaml +++ b/kamelets/google-sheets-source.kamelet.yaml @@ -178,19 +178,19 @@ spec: steps: - marshal: json: {} - - set-header: + - setHeader: name: CamelGoogleSheets.spreadsheetId simple: "{{spreadsheetId}}" - - set-header: + - setHeader: name: CamelGoogleSheets.range simple: "{{?range}}" - - set-header: + - setHeader: name: CamelGoogleSheets.majorDimension simple: "{{?majorDimension}}" - - set-header: + - setHeader: name: CamelGoogleSheets.columnNames simple: "{{?columnNames}}" - - set-header: + - setHeader: name: CamelGoogleSheets.splitResults simple: "{{?splitResults}}" - to: "kamelet:sink"