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 54c609cc964511eec19378f5a3bc743acf1881ba Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Nov 10 10:49:33 2023 +0100 Use only camelCase in kamelets yaml - Hoist Field Kamelet Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- kamelets/hoist-field-action.kamelet.yaml | 4 ++-- .../src/main/resources/kamelets/hoist-field-action.kamelet.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kamelets/hoist-field-action.kamelet.yaml b/kamelets/hoist-field-action.kamelet.yaml index ec75921a..845660b0 100644 --- a/kamelets/hoist-field-action.kamelet.yaml +++ b/kamelets/hoist-field-action.kamelet.yaml @@ -56,7 +56,7 @@ spec: json: library: Jackson unmarshalType: com.fasterxml.jackson.databind.JsonNode - - set-property: + - setProperty: name: "field" constant: "{{field}}" - bean: "org.apache.camel.kamelets.utils.transform.HoistField" @@ -64,6 +64,6 @@ spec: json: library: Jackson unmarshalType: com.fasterxml.jackson.databind.JsonNode - - set-header: + - setHeader: name: "Content-Type" constant: "application/json" diff --git a/library/camel-kamelets/src/main/resources/kamelets/hoist-field-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/hoist-field-action.kamelet.yaml index ec75921a..845660b0 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/hoist-field-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/hoist-field-action.kamelet.yaml @@ -56,7 +56,7 @@ spec: json: library: Jackson unmarshalType: com.fasterxml.jackson.databind.JsonNode - - set-property: + - setProperty: name: "field" constant: "{{field}}" - bean: "org.apache.camel.kamelets.utils.transform.HoistField" @@ -64,6 +64,6 @@ spec: json: library: Jackson unmarshalType: com.fasterxml.jackson.databind.JsonNode - - set-header: + - setHeader: name: "Content-Type" constant: "application/json"