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/04/06 11:11:31 UTC

[camel-kamelets] 01/02: Jolt Action: Define transformDSL as parameter

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

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

commit 443994648dde4cba8ca97a218c20b7aef364e704
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Apr 6 12:53:17 2022 +0200

    Jolt Action: Define transformDSL as parameter
---
 kamelets/jolt-transformation-action.kamelet.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/kamelets/jolt-transformation-action.kamelet.yaml b/kamelets/jolt-transformation-action.kamelet.yaml
index e43ff418..ba6bc561 100644
--- a/kamelets/jolt-transformation-action.kamelet.yaml
+++ b/kamelets/jolt-transformation-action.kamelet.yaml
@@ -41,6 +41,11 @@ spec:
         type: string
         example: "file:////template.json"
         pattern: "^(http|https|file|classpath)://.*"
+      transform:
+        title: Transform DSL
+        description: Specifies the Transform DSL of the endpoint resource. If none is specified Chainr will be used. Possible values are Chainr, Shiftr, Defaultr, Removr and Sortr.
+        type: string
+        default: "Chainr"
   dependencies:
   - "camel:jolt"
   - "camel:kamelet"
@@ -52,3 +57,4 @@ spec:
           uri: "jolt:"
           parameters:
             resourceUri: "{{template}}"
+            transformDsl: "{{transform}}"