From 10d463a5f93e6bbdc55581c56d10db1b978dde03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20Hu=C3=9F?= Date: Thu, 16 Sep 2021 09:26:19 +0200 Subject: [PATCH] Exclude explicit quotes for chuck-norris source A future extension could add a parameter to re-enable explicite qoutes, but for now I think it is safer to disable to avoid offending people when using the source in demos. Fixes #511. --- chuck-norris-source.kamelet.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chuck-norris-source.kamelet.yaml b/chuck-norris-source.kamelet.yaml index 75be465dc..588f7d9a7 100644 --- a/chuck-norris-source.kamelet.yaml +++ b/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 periodically Chuck Norris jokes from http://www.icndb.com/ type: object properties: period: @@ -36,7 +36,7 @@ spec: parameters: period: "{{period}}" steps: - - to: "http://api.icndb.com/jokes/random" + - to: "http://api.icndb.com/jokes/random?exclude=[explicit]" - set-body: jsonpath: "$.value.joke" - - to: "kamelet:sink" \ No newline at end of file + - to: "kamelet:sink"