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 2022/03/21 11:26:31 UTC
[camel-kamelets] 04/04: Use URI notation for some of the parameters we define in actions - Jolt Transformation Action
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 0614580d48c3890358a93239b175c016c7e1f780
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 21 12:12:58 2022 +0100
Use URI notation for some of the parameters we define in actions - Jolt Transformation Action
---
.../main/resources/kamelets/jolt-transformation-action.kamelet.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml
index 51d00c4..1d9f6a8 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/jolt-transformation-action.kamelet.yaml
@@ -40,7 +40,9 @@ spec:
template:
title: Template
description: The inline template
- type: binary
+ type: string
+ example: "file:////template.json"
+ pattern: "^(http|https|file|classpath)://.*"
dependencies:
- "camel:jolt"
- "camel:kamelet"
@@ -51,4 +53,4 @@ spec:
- to:
uri: "jolt:"
parameters:
- resourceUri: "base64:{{template}}"
+ resourceUri: "{{template}}"