Skip to content

Commit

Permalink
Exclude explicit quotes for chuck-norris source
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rhuss authored and oscerd committed Sep 16, 2021
1 parent fb004b9 commit 50e0f4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chuck-norris-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
- to: "kamelet:sink"

0 comments on commit 50e0f4c

Please sign in to comment.