This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


The following commit(s) were added to refs/heads/4.0.x by this push:
     new e0b5e6a9 chuck-norris-source should not include unwanted HTTP headers 
(#1679) (#1680)
e0b5e6a9 is described below

commit e0b5e6a97664d3f55c389f044161e0745306acd3
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 9 17:59:24 2023 +0200

    chuck-norris-source should not include unwanted HTTP headers (#1679) (#1680)
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
    Co-authored-by: Andrea Cosentino <anco...@gmail.com>
---
 kamelets/chuck-norris-source.kamelet.yaml                               | 2 ++
 .../src/main/resources/kamelets/chuck-norris-source.kamelet.yaml        | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/kamelets/chuck-norris-source.kamelet.yaml 
b/kamelets/chuck-norris-source.kamelet.yaml
index 05fc7046..4793f46e 100644
--- a/kamelets/chuck-norris-source.kamelet.yaml
+++ b/kamelets/chuck-norris-source.kamelet.yaml
@@ -54,6 +54,8 @@ spec:
         period: "{{period}}"
       steps:
         - to: "https://api.chucknorris.io/jokes/random";
+        - removeHeaders:
+          pattern: '*'
         - set-body:
             jsonpath: "$.value"
         - to: "kamelet:sink"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
index 05fc7046..4793f46e 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
@@ -54,6 +54,8 @@ spec:
         period: "{{period}}"
       steps:
         - to: "https://api.chucknorris.io/jokes/random";
+        - removeHeaders:
+          pattern: '*'
         - set-body:
             jsonpath: "$.value"
         - to: "kamelet:sink"

Reply via email to