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/10/28 13:34:44 UTC
[camel-karaf-examples] branch main updated: CAMEL-18554: fix URL and json for chucknorris example
This is an automated email from the ASF dual-hosted git repository.
klease pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf-examples.git
The following commit(s) were added to refs/heads/main by this push:
new cdda323 CAMEL-18554: fix URL and json for chucknorris example
cdda323 is described below
commit cdda323c5404520cc9853ad78a7c4d0fd1429b4a
Author: klease <kl...@cegetel.net>
AuthorDate: Fri Oct 28 15:33:53 2022 +0200
CAMEL-18554: fix URL and json for chucknorris example
---
.../src/main/resources/kamelets/chuck-norris-source.kamelet.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/examples/camel-example-kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml b/examples/camel-example-kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
index 75be465..b47dde7 100644
--- a/examples/camel-example-kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
+++ b/examples/camel-example-kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
@@ -14,7 +14,7 @@ spec:
definition:
title: "Chuck Norris Source"
description: |-
- Gets peridically Chuck Norris jokes from http://www.icndb.com/
+ Gets peridically Chuck Norris jokes from https://api.chucknorris.io/jokes/random
type: object
properties:
period:
@@ -36,7 +36,7 @@ spec:
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"