You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/06/09 09:37:02 UTC
[camel-kamelets] 06/11: Added Has Header action for filtering
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
commit c19b745e5d2c3c3be1a99e5e3f71a015e4e5008d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jun 9 11:12:14 2021 +0200
Added Has Header action for filtering
---
.../src/main/resources/kamelets/has-header-action.kamelet.yaml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/library/camel-kamelets-catalog/src/main/resources/kamelets/has-header-action.kamelet.yaml b/library/camel-kamelets-catalog/src/main/resources/kamelets/has-header-action.kamelet.yaml
index bdb5416..4554298 100644
--- a/library/camel-kamelets-catalog/src/main/resources/kamelets/has-header-action.kamelet.yaml
+++ b/library/camel-kamelets-catalog/src/main/resources/kamelets/has-header-action.kamelet.yaml
@@ -6,12 +6,13 @@ metadata:
camel.apache.org/kamelet.type: "action"
annotations:
camel.apache.org/kamelet.support.level: "Preview"
+ camel.apache.org/catalog.version: "main-SNAPSHOT"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Actions"
spec:
definition:
- title: "Filter"
+ title: "Has Header Action"
description: "Filter based on the presence of one header"
required:
- name
@@ -20,6 +21,10 @@ spec:
title: Header Name
description: The header name to evaluate
type: string
+ type: object
+ dependencies:
+ - "camel:core"
+ - "camel:kamelet"
flow:
from:
uri: kamelet:source