Skip to content

Commit

Permalink
Use URI notation for some of the parameters we define in actions - Mu…
Browse files Browse the repository at this point in the history
…stache Action
  • Loading branch information
oscerd committed Mar 23, 2022
1 parent da2f715 commit 3a36c5e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ spec:
title: "Mustache Template Action"
description: |-
Apply a Mustache 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
properties:
template:
title: Template
description: The inline template
type: binary
type: string
example: "file:////template.mustache"
pattern: "^(http|https|file|classpath)://.*"
dependencies:
- "camel:mustache"
- "camel:kamelet"
Expand All @@ -51,4 +51,4 @@ spec:
- to:
uri: "mustache:"
parameters:
resourceUri: "base64:{{template}}"
resourceUri: "{{template}}"

0 comments on commit 3a36c5e

Please sign in to comment.