From df65c660a36f1519f809327fb5477c5db53a8f31 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Mon, 6 Dec 2021 15:14:48 +0100 Subject: [PATCH] The remove-header-name EIP should use name instead of header-name --- kamelets/avro-deserialize-action.kamelet.yaml | 2 +- kamelets/earthquake-source.kamelet.yaml | 2 +- kamelets/http-secured-sink.kamelet.yaml | 2 +- kamelets/http-sink.kamelet.yaml | 2 +- kamelets/json-deserialize-action.kamelet.yaml | 2 +- kamelets/openai-classification-action.kamelet.yaml | 2 +- kamelets/openai-completion-action.kamelet.yaml | 2 +- kamelets/protobuf-deserialize-action.kamelet.yaml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kamelets/avro-deserialize-action.kamelet.yaml b/kamelets/avro-deserialize-action.kamelet.yaml index 6afe1eabc..40293c198 100644 --- a/kamelets/avro-deserialize-action.kamelet.yaml +++ b/kamelets/avro-deserialize-action.kamelet.yaml @@ -72,4 +72,4 @@ spec: - remove-property: property-name: validate - remove-header: - header-name: "Content-Type" + name: "Content-Type" diff --git a/kamelets/earthquake-source.kamelet.yaml b/kamelets/earthquake-source.kamelet.yaml index 28b51b588..e5c8d33c0 100644 --- a/kamelets/earthquake-source.kamelet.yaml +++ b/kamelets/earthquake-source.kamelet.yaml @@ -82,7 +82,7 @@ spec: constant: GET - tod: "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&updatedafter=${exchangeProperty.lastUpdate}&orderby=time-asc" - remove-header: - header-name: CamelHttpMethod + name: CamelHttpMethod - unmarshal: json: {} - set-property: diff --git a/kamelets/http-secured-sink.kamelet.yaml b/kamelets/http-secured-sink.kamelet.yaml index d172594ca..dbaf128d0 100644 --- a/kamelets/http-secured-sink.kamelet.yaml +++ b/kamelets/http-secured-sink.kamelet.yaml @@ -80,7 +80,7 @@ spec: uri: kamelet:source steps: - remove-header: - header-name: CamelHttpUri + name: CamelHttpUri - set-header: name: CamelHttpMethod constant: "{{method}}" diff --git a/kamelets/http-sink.kamelet.yaml b/kamelets/http-sink.kamelet.yaml index 99ba81753..ca171fcf9 100644 --- a/kamelets/http-sink.kamelet.yaml +++ b/kamelets/http-sink.kamelet.yaml @@ -54,7 +54,7 @@ spec: uri: kamelet:source steps: - remove-header: - header-name: CamelHttpUri + name: CamelHttpUri - set-header: name: CamelHttpMethod constant: "{{method}}" diff --git a/kamelets/json-deserialize-action.kamelet.yaml b/kamelets/json-deserialize-action.kamelet.yaml index 60c005eda..ad26a0328 100644 --- a/kamelets/json-deserialize-action.kamelet.yaml +++ b/kamelets/json-deserialize-action.kamelet.yaml @@ -45,4 +45,4 @@ spec: library: Jackson unmarshalTypeName: com.fasterxml.jackson.databind.JsonNode - remove-header: - header-name: "Content-Type" + name: "Content-Type" diff --git a/kamelets/openai-classification-action.kamelet.yaml b/kamelets/openai-classification-action.kamelet.yaml index 13e4e6b33..8bea76b45 100644 --- a/kamelets/openai-classification-action.kamelet.yaml +++ b/kamelets/openai-classification-action.kamelet.yaml @@ -133,7 +133,7 @@ spec: constant: "application/json" - to: "https://api.openai.com/v1/classifications" - remove-header: - header-name: "Authorization" + name: "Authorization" - set-property: name: format constant: "{{format}}" diff --git a/kamelets/openai-completion-action.kamelet.yaml b/kamelets/openai-completion-action.kamelet.yaml index 5dbda1091..0818994ff 100644 --- a/kamelets/openai-completion-action.kamelet.yaml +++ b/kamelets/openai-completion-action.kamelet.yaml @@ -94,7 +94,7 @@ spec: constant: "application/json" - to: "https://api.openai.com/v1/engines/{{engine}}/completions" - remove-header: - header-name: "Authorization" + name: "Authorization" - set-property: name: format constant: "{{format}}" diff --git a/kamelets/protobuf-deserialize-action.kamelet.yaml b/kamelets/protobuf-deserialize-action.kamelet.yaml index ea87729ce..e9f08ff66 100644 --- a/kamelets/protobuf-deserialize-action.kamelet.yaml +++ b/kamelets/protobuf-deserialize-action.kamelet.yaml @@ -59,4 +59,4 @@ spec: - remove-property: property-name: schema - remove-header: - header-name: "Content-Type" + name: "Content-Type"