Skip to content

Commit

Permalink
Fix chuck-norris kamelet to use a new online service that works.
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus authored and oscerd committed Sep 26, 2022
1 parent daabe8f commit 87568cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions kamelets/chuck-norris-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
parameters:
period: "{{period}}"
steps:
- to: "http://api.icndb.com/jokes/random?exclude=[explicit]"
- to: "https://api.chucknorris.io/jokes/random"
- set-body:
jsonpath: "$.value.joke"
jsonpath: "$.value"
- to: "kamelet:sink"
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
parameters:
period: "{{period}}"
steps:
- to: "http://api.icndb.com/jokes/random?exclude=[explicit]"
- to: "https://api.chucknorris.io/jokes/random"
- set-body:
jsonpath: "$.value.joke"
jsonpath: "$.value"
- to: "kamelet:sink"

0 comments on commit 87568cc

Please sign in to comment.