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:36:31 UTC
[camel-kamelets] branch fix-844-6 created (now fbbdf00)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch fix-844-6
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git.
at fbbdf00 Use URI notation for some of the parameters we define in actions - String Template Action
This branch includes the following new commits:
new c4a2ccf Use URI notation for some of the parameters we define in actions - String Template Action
new fbbdf00 Use URI notation for some of the parameters we define in actions - String Template Action
The 2 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] 02/02: Use URI notation for some of the parameters we define in actions - String Template 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-6
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit fbbdf0076dc23c4547bdff8a120d6861d7658495
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 23 11:34:38 2022 +0100
Use URI notation for some of the parameters we define in actions - String Template Action
---
.../main/resources/kamelets/string-template-action.kamelet.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/string-template-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/string-template-action.kamelet.yaml
index bfc2c8c..417dc20 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/string-template-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/string-template-action.kamelet.yaml
@@ -31,8 +31,6 @@ spec:
title: "String Template Action"
description: |-
Apply a String 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:stringtemplate"
- "camel:kamelet"
@@ -51,4 +51,4 @@ spec:
- to:
uri: "string-template:"
parameters:
- resourceUri: "base64:{{template}}"
+ resourceUri: "{{template}}"
[camel-kamelets] 01/02: Use URI notation for some of the parameters we define in actions - String Template 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-6
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit c4a2ccf207475cb09585e8341203cb3972e3de48
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 23 11:33:41 2022 +0100
Use URI notation for some of the parameters we define in actions - String Template Action
---
kamelets/string-template-action.kamelet.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kamelets/string-template-action.kamelet.yaml b/kamelets/string-template-action.kamelet.yaml
index bfc2c8c..417dc20 100644
--- a/kamelets/string-template-action.kamelet.yaml
+++ b/kamelets/string-template-action.kamelet.yaml
@@ -31,8 +31,6 @@ spec:
title: "String Template Action"
description: |-
Apply a String 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:stringtemplate"
- "camel:kamelet"
@@ -51,4 +51,4 @@ spec:
- to:
uri: "string-template:"
parameters:
- resourceUri: "base64:{{template}}"
+ resourceUri: "{{template}}"