You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by kl...@apache.org on 2022/09/27 20:26:46 UTC
[camel-spring-boot-examples] branch chucknorris created (now 6cb5a1e)
This is an automated email from the ASF dual-hosted git repository.
klease pushed a change to branch chucknorris
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git
at 6cb5a1e CAMEL-18554: fix yaml syntax, URL and json path for chucknorris example
This branch includes the following new commits:
new 6cb5a1e CAMEL-18554: fix yaml syntax, URL and json path for chucknorris example
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[camel-spring-boot-examples] 01/01: CAMEL-18554: fix yaml syntax, URL and json path for chucknorris example
Posted by kl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
klease pushed a commit to branch chucknorris
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git
commit 6cb5a1e2e7015cfcacd897898714d64bb6d9cf38
Author: klease <kl...@cegetel.net>
AuthorDate: Tue Sep 27 22:24:57 2022 +0200
CAMEL-18554: fix yaml syntax, URL and json path for chucknorris example
---
.../src/main/resources/kamelets/chuck-norris-source.kamelet.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml b/kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
index 75be465..aa60e29 100644
--- a/kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
+++ b/kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
@@ -30,13 +30,13 @@ spec:
- "camel:timer"
- "camel:http"
- "camel:jsonpath"
- flow:
+ template:
from:
uri: "timer:chuck"
parameters:
period: "{{period}}"
steps:
- - to: "http://api.icndb.com/jokes/random"
+ - to: "https://api.chucknorris.io/jokes/random"
- set-body:
- jsonpath: "$.value.joke"
- - to: "kamelet:sink"
\ No newline at end of file
+ jsonpath: "$.value"
+ - to: "kamelet:sink"