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:03:58 UTC

[camel-kamelets] branch fix-844-3 created (now 8ce9ab1)

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

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


      at 8ce9ab1  Use URI notation for some of the parameters we define in actions - Jsonata action

This branch includes the following new commits:

     new b007329  Use URI notation for some of the parameters we define in actions - Json-schema validator Action
     new b81a32f  Use URI notation for some of the parameters we define in actions - Json-schema validator Action
     new 8534e20  Use URI notation for some of the parameters we define in actions - Jsonata action
     new 5423f94  Use URI notation for some of the parameters we define in actions - Jsonata action
     new 26783d1  Use URI notation for some of the parameters we define in actions - Jsonata action
     new 8ce9ab1  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.


[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 fix-844-3
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 8ce9ab1874ee32eda40591583f1beaee0a712b37
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] 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 fix-844-3
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit b81a32fd40d9ae9c2353167766ee5dd8ee4ed29e
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] 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 fix-844-3
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 5423f94061807f25166ae249e2aa4cf85ef4985d
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] 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 fix-844-3
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 26783d1b4c35a8542ab3c545e652a52a6ed360c3
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"

[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 fix-844-3
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit b00732968be0cf098a1dfe59a8191e0a95ee0ec4
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] 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 fix-844-3
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 8534e20776f8342ea46eda4ced63e858a7379b35
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}}"