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 50e0f4c Exclude explicit quotes for chuck-norris source
50e0f4c is described below
commit 50e0f4ccc8178717d2aae594d5081dd95cc12405
Author: Roland Huß <[email protected]>
AuthorDate: Thu Sep 16 09:26:19 2021 +0200
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 75be465..588f7d9 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"