Skip to content

Commit

Permalink
The remove-header-name EIP should use name instead of header-name
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed Dec 6, 2021
1 parent cc1d558 commit df65c66
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
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"

0 comments on commit df65c66

Please sign in to comment.