This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 0.9.x in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/0.9.x by this push: new 43824f54 Fix chuck-norris kamelet to use a new online service that works. 43824f54 is described below commit 43824f542dc4b7bf7fbf13c61295b3c3fb5adcbc Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Sep 26 12:09:08 2022 +0200 Fix chuck-norris kamelet to use a new online service that works. --- kamelets/chuck-norris-source.kamelet.yaml | 4 ++-- .../src/main/resources/kamelets/chuck-norris-source.kamelet.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kamelets/chuck-norris-source.kamelet.yaml b/kamelets/chuck-norris-source.kamelet.yaml index 1ad77989..628b7cf4 100644 --- a/kamelets/chuck-norris-source.kamelet.yaml +++ b/kamelets/chuck-norris-source.kamelet.yaml @@ -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" diff --git a/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml index 1ad77989..628b7cf4 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml @@ -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"