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 aa59345ee0060443011023985299e5c9b76cb3f0 Author: Andrea Cosentino <[email protected]> AuthorDate: Wed Mar 23 11:18:24 2022 +0100 Use URI notation for some of the parameters we define in actions - MVEL Action --- kamelets/mvel-template-action.kamelet.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kamelets/mvel-template-action.kamelet.yaml b/kamelets/mvel-template-action.kamelet.yaml index b0fe07c..ad87d38 100644 --- a/kamelets/mvel-template-action.kamelet.yaml +++ b/kamelets/mvel-template-action.kamelet.yaml @@ -31,8 +31,6 @@ spec: title: "Mvel Template Action" description: |- Apply a Mvel Template. - - The template property needs to be encoded in base64, so when you pass it as parameter, don't forget to encode it. required: - template type: object @@ -40,7 +38,9 @@ spec: template: title: Template description: The inline template - type: binary + type: string + example: "file:////template.mvel" + pattern: "^(http|https|file|classpath)://.*" dependencies: - "camel:mvel" - "camel:kamelet" @@ -51,4 +51,4 @@ spec: - to: uri: "mvel:" parameters: - resourceUri: "base64:{{template}}" + resourceUri: "{{template}}"
