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 4acff127386f48d44563050d5e8c7d20c2b64d9e Author: Andrea Cosentino <[email protected]> AuthorDate: Mon Mar 21 12:28:02 2022 +0100 Use URI notation for some of the parameters we define in actions - JSLT action --- kamelets/jslt-action.kamelet.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kamelets/jslt-action.kamelet.yaml b/kamelets/jslt-action.kamelet.yaml index 4056ca4..53e20a7 100644 --- a/kamelets/jslt-action.kamelet.yaml +++ b/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}}"
