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/21 13:28:48 UTC

[camel-kamelets] branch main updated (6abd854 -> ab1d597)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git.


    from 6abd854  Use URI notation for some of the parameters we define in actions
     new 473e469  Use URI notation for some of the parameters we define in actions - Json-schema validator Action
     new b4af56e  Use URI notation for some of the parameters we define in actions - Json-schema validator Action
     new f8eda52  Use URI notation for some of the parameters we define in actions - Jsonata action
     new f26e142  Use URI notation for some of the parameters we define in actions - Jsonata action
     new 68c8c7a  Use URI notation for some of the parameters we define in actions - Jsonata action
     new ab1d597  Use URI notation for some of the parameters we define in actions - Jsonata action

The 6 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.


Summary of changes:
 kamelets/json-schema-validator-action.kamelet.yaml                | 8 ++++----
 kamelets/jsonata-action.kamelet.yaml                              | 8 ++++----
 .../resources/kamelets/json-schema-validator-action.kamelet.yaml  | 8 ++++----
 .../src/main/resources/kamelets/jsonata-action.kamelet.yaml       | 8 ++++----
 4 files changed, 16 insertions(+), 16 deletions(-)

[camel-kamelets] 04/06: Use URI notation for some of the parameters we define in actions - Jsonata action

Posted by ac...@apache.org.
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 f26e1429c64d033f2123c7c65efa8699e68ed436
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 21 13:55:02 2022 +0100

    Use URI notation for some of the parameters we define in actions - Jsonata action
---
 .../src/main/resources/kamelets/jsonata-action.kamelet.yaml       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml
index 7b15008..dc79e4a 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml
@@ -31,8 +31,6 @@ spec:
     title: "Jsonata Action"
     description: |-
       Apply a Jsonata Transformation.
-
-      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.json"
+        pattern: "^(http|https|file|classpath)://.*"
   dependencies:
   - "camel:jsonata"
   - "camel:kamelet"
@@ -51,4 +51,4 @@ spec:
       - to:
           uri: "jsonata:"
           parameters:
-            resourceUri: "base64:{{template}}"
+            resourceUri: "{{template}}"

[camel-kamelets] 06/06: Use URI notation for some of the parameters we define in actions - Jsonata action

Posted by ac...@apache.org.
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 ab1d5970c0f8fa53e32b88bf454db52eb38fbb95
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 21 13:57:46 2022 +0100

    Use URI notation for some of the parameters we define in actions - Jsonata action
---
 .../src/main/resources/kamelets/jsonata-action.kamelet.yaml             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml
index dc79e4a..22a0cb0 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/jsonata-action.kamelet.yaml
@@ -39,7 +39,7 @@ spec:
         title: Template
         description: The inline template
         type: string
-        example: "file:////template.json"
+        example: "file:////template.spec"
         pattern: "^(http|https|file|classpath)://.*"
   dependencies:
   - "camel:jsonata"

[camel-kamelets] 01/06: Use URI notation for some of the parameters we define in actions - Json-schema validator Action

Posted by ac...@apache.org.
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 473e469f37efc47759308306a2fde71c473f5529
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 21 13:48:22 2022 +0100

    Use URI notation for some of the parameters we define in actions - Json-schema validator Action
---
 kamelets/json-schema-validator-action.kamelet.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kamelets/json-schema-validator-action.kamelet.yaml b/kamelets/json-schema-validator-action.kamelet.yaml
index 9f88721..ad1f17f 100644
--- a/kamelets/json-schema-validator-action.kamelet.yaml
+++ b/kamelets/json-schema-validator-action.kamelet.yaml
@@ -31,8 +31,6 @@ spec:
     title: "Json Schema Validator Action"
     description: |-
       Apply a Json Schema Template to validate the payload against.
-
-      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.json"
+        pattern: "^(http|https|file|classpath)://.*"
   dependencies:
   - "camel:json-validator"
   - "camel:kamelet"
@@ -51,4 +51,4 @@ spec:
       - to:
           uri: "json-validator:"
           parameters:
-            resourceUri: "base64:{{template}}"
+            resourceUri: "{{template}}"

[camel-kamelets] 02/06: Use URI notation for some of the parameters we define in actions - Json-schema validator Action

Posted by ac...@apache.org.
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 b4af56e56adfa4517794259810491791ebb880fd
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 21 13:52:12 2022 +0100

    Use URI notation for some of the parameters we define in actions - Json-schema validator Action
---
 .../resources/kamelets/json-schema-validator-action.kamelet.yaml  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/json-schema-validator-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/json-schema-validator-action.kamelet.yaml
index 9f88721..ad1f17f 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/json-schema-validator-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/json-schema-validator-action.kamelet.yaml
@@ -31,8 +31,6 @@ spec:
     title: "Json Schema Validator Action"
     description: |-
       Apply a Json Schema Template to validate the payload against.
-
-      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.json"
+        pattern: "^(http|https|file|classpath)://.*"
   dependencies:
   - "camel:json-validator"
   - "camel:kamelet"
@@ -51,4 +51,4 @@ spec:
       - to:
           uri: "json-validator:"
           parameters:
-            resourceUri: "base64:{{template}}"
+            resourceUri: "{{template}}"

[camel-kamelets] 03/06: Use URI notation for some of the parameters we define in actions - Jsonata action

Posted by ac...@apache.org.
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 f8eda52bb426f54e9348b34f6dcc2c21b69d107c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 21 13:54:34 2022 +0100

    Use URI notation for some of the parameters we define in actions - Jsonata action
---
 kamelets/jsonata-action.kamelet.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kamelets/jsonata-action.kamelet.yaml b/kamelets/jsonata-action.kamelet.yaml
index 7b15008..dc79e4a 100644
--- a/kamelets/jsonata-action.kamelet.yaml
+++ b/kamelets/jsonata-action.kamelet.yaml
@@ -31,8 +31,6 @@ spec:
     title: "Jsonata Action"
     description: |-
       Apply a Jsonata Transformation.
-
-      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.json"
+        pattern: "^(http|https|file|classpath)://.*"
   dependencies:
   - "camel:jsonata"
   - "camel:kamelet"
@@ -51,4 +51,4 @@ spec:
       - to:
           uri: "jsonata:"
           parameters:
-            resourceUri: "base64:{{template}}"
+            resourceUri: "{{template}}"

[camel-kamelets] 05/06: Use URI notation for some of the parameters we define in actions - Jsonata action

Posted by ac...@apache.org.
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 68c8c7a9c110dc7c60ed452e29833e4ff8dd1e68
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 21 13:56:46 2022 +0100

    Use URI notation for some of the parameters we define in actions - Jsonata action
---
 kamelets/jsonata-action.kamelet.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kamelets/jsonata-action.kamelet.yaml b/kamelets/jsonata-action.kamelet.yaml
index dc79e4a..22a0cb0 100644
--- a/kamelets/jsonata-action.kamelet.yaml
+++ b/kamelets/jsonata-action.kamelet.yaml
@@ -39,7 +39,7 @@ spec:
         title: Template
         description: The inline template
         type: string
-        example: "file:////template.json"
+        example: "file:////template.spec"
         pattern: "^(http|https|file|classpath)://.*"
   dependencies:
   - "camel:jsonata"