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 2023/02/09 13:08:34 UTC
[camel-kamelets] 03/16: Convert all the parameters with multiple possible values to enum - Jolt Action
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch final-enum-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit e95772587e799f44e9bf481116eef537055bc547
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 9 10:49:56 2023 +0100
Convert all the parameters with multiple possible values to enum - Jolt Action
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/jolt-transformation-action.kamelet.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/kamelets/jolt-transformation-action.kamelet.yaml b/kamelets/jolt-transformation-action.kamelet.yaml
index d7b0b27a..fc972b2d 100644
--- a/kamelets/jolt-transformation-action.kamelet.yaml
+++ b/kamelets/jolt-transformation-action.kamelet.yaml
@@ -43,9 +43,10 @@ spec:
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.
+ description: Specifies the Transform DSL of the endpoint resource. If none is specified Chainr will be used.
type: string
default: "Chainr"
+ enum: ["Chainr", "Shiftr", "Defaultr", "Removr", "Sortr"]
dependencies:
- "camel:jolt"
- "camel:kamelet"