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

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

commit cb38e51b09acb79735762af551ae9ce32c9c2dc7
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Mar 21 12:28:40 2022 +0100

    Use URI notation for some of the parameters we define in actions - JSLT 
action
---
 .../src/main/resources/kamelets/jslt-action.kamelet.yaml            | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/jslt-action.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/jslt-action.kamelet.yaml
index 4056ca4..53e20a7 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/jslt-action.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/jslt-action.kamelet.yaml
@@ -40,7 +40,9 @@ spec:
       template:
         title: Template
         description: The inline template for JSLT Transformation
-        type: binary
+        type: string
+        example: "file:////template.json"
+        pattern: "^(http|https|file|classpath)://.*"
   dependencies:
   - "camel:jslt"
   - "camel:kamelet"
@@ -51,4 +53,4 @@ spec:
       - to:
           uri: "jslt:"
           parameters:
-            resourceUri: "base64:{{template}}"
+            resourceUri: "{{template}}"

Reply via email to