This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new 87568cc6 Fix chuck-norris kamelet to use a new online service that
works.
87568cc6 is described below
commit 87568cc61ca371424def90654d288081846c384f
Author: Claus Ibsen <[email protected]>
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 0c60296d..961a950f 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 0c60296d..961a950f 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"