You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/12/06 14:16:03 UTC

[camel-kamelets] 09/09: The remove-header-name EIP should use name instead of header-name

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch remove-header-fix
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 3c73cf0cae5b84bc34d202989b14ee537153904b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 6 15:14:48 2021 +0100

    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 6afe1ea..40293c1 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 28b51b5..e5c8d33 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 d172594..dbaf128 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 99ba817..ca171fc 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 60c005e..ad26a03 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 13e4e6b..8bea76b 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 5dbda10..0818994 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 ea87729..e9f08ff 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"