This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch kebabCase-second-batch in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 019ed3f2812547d82925a239f0d994c9553c80f8 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Nov 10 10:10:07 2023 +0100 Use only camelCase in kamelets yaml - Exec and Extract Field Kamelets Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- kamelets/exec-sink.kamelet.yaml | 6 +++--- kamelets/extract-field-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/exec-sink.kamelet.yaml | 6 +++--- .../src/main/resources/kamelets/extract-field-action.kamelet.yaml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kamelets/exec-sink.kamelet.yaml b/kamelets/exec-sink.kamelet.yaml index 8fceffa6..ed038900 100644 --- a/kamelets/exec-sink.kamelet.yaml +++ b/kamelets/exec-sink.kamelet.yaml @@ -58,15 +58,15 @@ spec: when: - simple: "${header[args]}" steps: - - set-header: + - setHeader: name: CamelExecCommandArgs simple: "${header[args]}" - simple: "${header[ce-args]}" steps: - - set-header: + - setHeader: name: CamelExecCommandArgs simple: "${header[ce-args]}" - to: uri: "exec:{{executable}}" - - set-body: + - setBody: simple: "${body.stdout}" diff --git a/kamelets/extract-field-action.kamelet.yaml b/kamelets/extract-field-action.kamelet.yaml index fa65e494..7d09a6b8 100644 --- a/kamelets/extract-field-action.kamelet.yaml +++ b/kamelets/extract-field-action.kamelet.yaml @@ -101,7 +101,7 @@ spec: when: - simple: "${header[Content-Type]} == 'application/json'" steps: - - set-property: + - setProperty: name: deserialized constant: "true" - unmarshal: diff --git a/library/camel-kamelets/src/main/resources/kamelets/exec-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/exec-sink.kamelet.yaml index 8fceffa6..ed038900 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/exec-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/exec-sink.kamelet.yaml @@ -58,15 +58,15 @@ spec: when: - simple: "${header[args]}" steps: - - set-header: + - setHeader: name: CamelExecCommandArgs simple: "${header[args]}" - simple: "${header[ce-args]}" steps: - - set-header: + - setHeader: name: CamelExecCommandArgs simple: "${header[ce-args]}" - to: uri: "exec:{{executable}}" - - set-body: + - setBody: simple: "${body.stdout}" diff --git a/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml index fa65e494..7d09a6b8 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml @@ -101,7 +101,7 @@ spec: when: - simple: "${header[Content-Type]} == 'application/json'" steps: - - set-property: + - setProperty: name: deserialized constant: "true" - unmarshal: