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 555b16c2dc9b60c55fcdeda414aecbd525236290
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Mar 21 11:51:19 2022 +0100

    Use URI notation for some of the parameters we define in actions - Jolt 
Transformation Action
---
 kamelets/jolt-transformation-action.kamelet.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/kamelets/jolt-transformation-action.kamelet.yaml 
b/kamelets/jolt-transformation-action.kamelet.yaml
index 51d00c4..01eb322 100644
--- a/kamelets/jolt-transformation-action.kamelet.yaml
+++ b/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.ftl"
+        pattern: "^(http|https|file|classpath)://.*"
   dependencies:
   - "camel:jolt"
   - "camel:kamelet"
@@ -51,4 +53,4 @@ spec:
       - to:
           uri: "jolt:"
           parameters:
-            resourceUri: "base64:{{template}}"
+            resourceUri: "{{template}}"

Reply via email to