Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The remove-header-name EIP should use name instead of header-name #608

Merged
merged 9 commits into from
Dec 6, 2021
2 changes: 1 addition & 1 deletion kamelets/avro-deserialize-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ spec:
- remove-property:
property-name: validate
- remove-header:
header-name: "Content-Type"
name: "Content-Type"
2 changes: 1 addition & 1 deletion kamelets/earthquake-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion kamelets/http-secured-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
uri: kamelet:source
steps:
- remove-header:
header-name: CamelHttpUri
name: CamelHttpUri
- set-header:
name: CamelHttpMethod
constant: "{{method}}"
Expand Down
2 changes: 1 addition & 1 deletion kamelets/http-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
uri: kamelet:source
steps:
- remove-header:
header-name: CamelHttpUri
name: CamelHttpUri
- set-header:
name: CamelHttpMethod
constant: "{{method}}"
Expand Down
2 changes: 1 addition & 1 deletion kamelets/json-deserialize-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ spec:
library: Jackson
unmarshalTypeName: com.fasterxml.jackson.databind.JsonNode
- remove-header:
header-name: "Content-Type"
name: "Content-Type"
2 changes: 1 addition & 1 deletion kamelets/openai-classification-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand Down
2 changes: 1 addition & 1 deletion kamelets/openai-completion-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand Down
2 changes: 1 addition & 1 deletion kamelets/protobuf-deserialize-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ spec:
- remove-property:
property-name: schema
- remove-header:
header-name: "Content-Type"
name: "Content-Type"
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ spec:
- remove-property:
property-name: validate
- remove-header:
header-name: "Content-Type"
name: "Content-Type"
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
uri: kamelet:source
steps:
- remove-header:
header-name: CamelHttpUri
name: CamelHttpUri
- set-header:
name: CamelHttpMethod
constant: "{{method}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
uri: kamelet:source
steps:
- remove-header:
header-name: CamelHttpUri
name: CamelHttpUri
- set-header:
name: CamelHttpMethod
constant: "{{method}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ spec:
library: Jackson
unmarshalTypeName: com.fasterxml.jackson.databind.JsonNode
- remove-header:
header-name: "Content-Type"
name: "Content-Type"
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ spec:
- remove-property:
property-name: schema
- remove-header:
header-name: "Content-Type"
name: "Content-Type"