You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/03/23 10:48:00 UTC
[camel-kamelets] branch fix-844-7 created (now afe5d66)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch fix-844-7
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git.
at afe5d66 Use URI notation for some of the parameters we define in actions - Velocity Action
This branch includes the following new commits:
new 8a58d79 Use URI notation for some of the parameters we define in actions - Velocity Action
new b345df6 Use URI notation for some of the parameters we define in actions - Velocity Action
new afe5d66 Use URI notation for some of the parameters we define in actions - Velocity Action
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[camel-kamelets] 01/03: Use URI notation for some of the parameters we define in actions - Velocity Action
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch fix-844-7
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 8a58d79d3db6bd7fc376ccb56a485ea7f64283b0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 23 11:40:31 2022 +0100
Use URI notation for some of the parameters we define in actions - Velocity Action
---
kamelets/velocity-template-action.kamelet.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kamelets/velocity-template-action.kamelet.yaml b/kamelets/velocity-template-action.kamelet.yaml
index c69910e..22ac48f 100644
--- a/kamelets/velocity-template-action.kamelet.yaml
+++ b/kamelets/velocity-template-action.kamelet.yaml
@@ -31,8 +31,6 @@ spec:
title: "Velocity Template Action"
description: |-
Apply a Velocity 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.tm"
+ pattern: "^(http|https|file|classpath)://.*"
dependencies:
- "camel:velocity"
- "camel:kamelet"
@@ -51,4 +51,4 @@ spec:
- to:
uri: "velocity:"
parameters:
- resourceUri: "base64:{{template}}"
+ resourceUri: "{{template}}"
[camel-kamelets] 02/03: Use URI notation for some of the parameters we define in actions - Velocity Action
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch fix-844-7
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit b345df67afa7711cdbb19412e3c96db59a822dda
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 23 11:41:24 2022 +0100
Use URI notation for some of the parameters we define in actions - Velocity Action
---
kamelets/velocity-template-action.kamelet.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kamelets/velocity-template-action.kamelet.yaml b/kamelets/velocity-template-action.kamelet.yaml
index 22ac48f..9d3e19d 100644
--- a/kamelets/velocity-template-action.kamelet.yaml
+++ b/kamelets/velocity-template-action.kamelet.yaml
@@ -39,7 +39,7 @@ spec:
title: Template
description: The inline template
type: string
- example: "file:////template.tm"
+ example: "file:////template.vm"
pattern: "^(http|https|file|classpath)://.*"
dependencies:
- "camel:velocity"
[camel-kamelets] 03/03: Use URI notation for some of the parameters we define in actions - Velocity Action
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch fix-844-7
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit afe5d6677506f1372fb8800cc2564f14ebe0b2d9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 23 11:43:28 2022 +0100
Use URI notation for some of the parameters we define in actions - Velocity Action
---
.../main/resources/kamelets/velocity-template-action.kamelet.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/velocity-template-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/velocity-template-action.kamelet.yaml
index c69910e..9d3e19d 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/velocity-template-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/velocity-template-action.kamelet.yaml
@@ -31,8 +31,6 @@ spec:
title: "Velocity Template Action"
description: |-
Apply a Velocity 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.vm"
+ pattern: "^(http|https|file|classpath)://.*"
dependencies:
- "camel:velocity"
- "camel:kamelet"
@@ -51,4 +51,4 @@ spec:
- to:
uri: "velocity:"
parameters:
- resourceUri: "base64:{{template}}"
+ resourceUri: "{{template}}"