Skip to content

Commit

Permalink
chuck-norris-source should not include unwanted HTTP headers (#1679)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Oct 9, 2023
1 parent c34938b commit 732aabe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kamelets/chuck-norris-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
period: "{{period}}"
steps:
- to: "https://api.chucknorris.io/jokes/random"
- removeHeaders:
pattern: '*'
- set-body:
jsonpath: "$.value"
- to: "kamelet:sink"
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
period: "{{period}}"
steps:
- to: "https://api.chucknorris.io/jokes/random"
- removeHeaders:
pattern: '*'
- set-body:
jsonpath: "$.value"
- to: "kamelet:sink"

0 comments on commit 732aabe

Please sign in to comment.