This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new e494260e786 Regen
e494260e786 is described below
commit e494260e786df756bd2cea2831d5f67a91e1f746
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jan 31 11:55:38 2024 +0100
Regen
---
.../camel/springboot/catalog/languages/hl7terser.json | 9 +++++----
.../org/apache/camel/springboot/catalog/languages/jq.json | 9 +++++----
.../apache/camel/springboot/catalog/languages/jsonpath.json | 9 +++++----
components-starter/camel-hl7-starter/src/main/docs/hl7.json | 6 ++++++
.../hl7/springboot/Hl7TerserLanguageConfiguration.java | 13 +++++++++++++
components-starter/camel-jq-starter/src/main/docs/jq.json | 6 ++++++
.../language/jq/springboot/JqLanguageConfiguration.java | 13 +++++++++++++
.../camel-jsonpath-starter/src/main/docs/jsonpath.json | 6 ++++++
.../jsonpath/springboot/JsonPathLanguageConfiguration.java | 13 +++++++++++++
9 files changed, 72 insertions(+), 12 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/hl7terser.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/hl7terser.json
index 07927bf866b..dbde7168df8 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/hl7terser.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/hl7terser.json
@@ -18,9 +18,10 @@
"properties": {
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the id of this node"
},
"expression": { "index": 1, "kind": "value", "displayName": "Expression",
"required": true, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
expression value in your chosen language syntax" },
- "headerName": { "index": 2, "kind": "attribute", "displayName": "Header
Name", "label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of header to use as input, instead of the message body It
has as higher precedent than the propertyName if both are set." },
- "propertyName": { "index": 3, "kind": "attribute", "displayName":
"Property Name", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Name of property to use as input, instead of
the message body. It has a lower precedent than the headerName if both are
set." },
- "resultType": { "index": 4, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
- "trim": { "index": 5, "kind": "attribute", "displayName": "Trim", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to trim the value to remove
leading and trailing whitespaces and line breaks" }
+ "variableName": { "index": 2, "kind": "attribute", "displayName":
"Variable Name", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of variable to use as input, instead of the message body
It has as higher precedent if other are set." },
+ "headerName": { "index": 3, "kind": "attribute", "displayName": "Header
Name", "label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of header to use as input, instead of the message body It
has as higher precedent than the propertyName if both are set." },
+ "propertyName": { "index": 4, "kind": "attribute", "displayName":
"Property Name", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Name of property to use as input, instead of
the message body. It has a lower precedent than the headerName if both are
set." },
+ "resultType": { "index": 5, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
+ "trim": { "index": 6, "kind": "attribute", "displayName": "Trim", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to trim the value to remove
leading and trailing whitespaces and line breaks" }
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
index 493e3169f33..b2e76a586af 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
@@ -18,9 +18,10 @@
"properties": {
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the id of this node"
},
"expression": { "index": 1, "kind": "value", "displayName": "Expression",
"required": true, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
expression value in your chosen language syntax" },
- "headerName": { "index": 2, "kind": "attribute", "displayName": "Header
Name", "label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of header to use as input, instead of the message body It
has as higher precedent than the propertyName if both are set." },
- "propertyName": { "index": 3, "kind": "attribute", "displayName":
"Property Name", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Name of property to use as input, instead of
the message body. It has a lower precedent than the headerName if both are
set." },
- "resultType": { "index": 4, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
- "trim": { "index": 5, "kind": "attribute", "displayName": "Trim", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to trim the value to remove
leading and trailing whitespaces and line breaks" }
+ "variableName": { "index": 2, "kind": "attribute", "displayName":
"Variable Name", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of variable to use as input, instead of the message body
It has as higher precedent if other are set." },
+ "headerName": { "index": 3, "kind": "attribute", "displayName": "Header
Name", "label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of header to use as input, instead of the message body It
has as higher precedent than the propertyName if both are set." },
+ "propertyName": { "index": 4, "kind": "attribute", "displayName":
"Property Name", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Name of property to use as input, instead of
the message body. It has a lower precedent than the headerName if both are
set." },
+ "resultType": { "index": 5, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
+ "trim": { "index": 6, "kind": "attribute", "displayName": "Trim", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to trim the value to remove
leading and trailing whitespaces and line breaks" }
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jsonpath.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jsonpath.json
index 1f079332894..2a03988c072 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jsonpath.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jsonpath.json
@@ -24,9 +24,10 @@
"writeAsString": { "index": 5, "kind": "attribute", "displayName": "Write
As String", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to write the output of each
row\/element as a JSON String value instead of a Map\/POJO value." },
"unpackArray": { "index": 6, "kind": "attribute", "displayName": "Unpack
Array", "required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to unpack a single element json-array into an
object." },
"option": { "index": 7, "kind": "attribute", "displayName": "Option",
"label": "advanced", "required": false, "type": "enum", "javaType":
"java.lang.String", "enum": [ "DEFAULT_PATH_LEAF_TO_NULL",
"ALWAYS_RETURN_LIST", "AS_PATH_LIST", "SUPPRESS_EXCEPTIONS",
"REQUIRE_PROPERTIES" ], "deprecated": false, "autowired": false, "secret":
false, "description": "To configure additional options on JSONPath. Multiple
values can be separated by comma." },
- "headerName": { "index": 8, "kind": "attribute", "displayName": "Header
Name", "label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of header to use as input, instead of the message body It
has as higher precedent than the propertyName if both are set." },
- "propertyName": { "index": 9, "kind": "attribute", "displayName":
"Property Name", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Name of property to use as input, instead of
the message body. It has a lower precedent than the headerName if both are
set." },
- "resultType": { "index": 10, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
- "trim": { "index": 11, "kind": "attribute", "displayName": "Trim",
"label": "advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to trim the value to remove
leading and trailing whitespaces and line breaks" }
+ "variableName": { "index": 8, "kind": "attribute", "displayName":
"Variable Name", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of variable to use as input, instead of the message body
It has as higher precedent if other are set." },
+ "headerName": { "index": 9, "kind": "attribute", "displayName": "Header
Name", "label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of header to use as input, instead of the message body It
has as higher precedent than the propertyName if both are set." },
+ "propertyName": { "index": 10, "kind": "attribute", "displayName":
"Property Name", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Name of property to use as input, instead of
the message body. It has a lower precedent than the headerName if both are
set." },
+ "resultType": { "index": 11, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
+ "trim": { "index": 12, "kind": "attribute", "displayName": "Trim",
"label": "advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to trim the value to remove
leading and trailing whitespaces and line breaks" }
}
}
diff --git a/components-starter/camel-hl7-starter/src/main/docs/hl7.json
b/components-starter/camel-hl7-starter/src/main/docs/hl7.json
index d55f4936959..19f31bcc865 100644
--- a/components-starter/camel-hl7-starter/src/main/docs/hl7.json
+++ b/components-starter/camel-hl7-starter/src/main/docs/hl7.json
@@ -71,6 +71,12 @@
"description": "Whether to trim the value to remove leading and trailing
whitespaces and line breaks",
"sourceType":
"org.apache.camel.component.hl7.springboot.Hl7TerserLanguageConfiguration",
"defaultValue": true
+ },
+ {
+ "name": "camel.language.hl7terser.variable-name",
+ "type": "java.lang.String",
+ "description": "Name of variable to use as input, instead of the message
body It has as higher precedent if other are set.",
+ "sourceType":
"org.apache.camel.component.hl7.springboot.Hl7TerserLanguageConfiguration"
}
],
"hints": []
diff --git
a/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/Hl7TerserLanguageConfiguration.java
b/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/Hl7TerserLanguageConfiguration.java
index 81186c61f65..18688a95f75 100644
---
a/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/Hl7TerserLanguageConfiguration.java
+++
b/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/Hl7TerserLanguageConfiguration.java
@@ -35,6 +35,11 @@ public class Hl7TerserLanguageConfiguration
* enabled by default.
*/
private Boolean enabled;
+ /**
+ * Name of variable to use as input, instead of the message body It has as
+ * higher precedent if other are set.
+ */
+ private String variableName;
/**
* Name of header to use as input, instead of the message body It has as
* higher precedent than the propertyName if both are set.
@@ -51,6 +56,14 @@ public class Hl7TerserLanguageConfiguration
*/
private Boolean trim = true;
+ public String getVariableName() {
+ return variableName;
+ }
+
+ public void setVariableName(String variableName) {
+ this.variableName = variableName;
+ }
+
public String getHeaderName() {
return headerName;
}
diff --git a/components-starter/camel-jq-starter/src/main/docs/jq.json
b/components-starter/camel-jq-starter/src/main/docs/jq.json
index c9ebaa0f818..a8f839aea74 100644
--- a/components-starter/camel-jq-starter/src/main/docs/jq.json
+++ b/components-starter/camel-jq-starter/src/main/docs/jq.json
@@ -42,6 +42,12 @@
"description": "Whether to trim the value to remove leading and trailing
whitespaces and line breaks",
"sourceType":
"org.apache.camel.language.jq.springboot.JqLanguageConfiguration",
"defaultValue": true
+ },
+ {
+ "name": "camel.language.jq.variable-name",
+ "type": "java.lang.String",
+ "description": "Name of variable to use as input, instead of the message
body It has as higher precedent if other are set.",
+ "sourceType":
"org.apache.camel.language.jq.springboot.JqLanguageConfiguration"
}
],
"hints": []
diff --git
a/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
b/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
index 737e1ea314b..f528e3ed588 100644
---
a/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
+++
b/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
@@ -34,6 +34,11 @@ public class JqLanguageConfiguration
* by default.
*/
private Boolean enabled;
+ /**
+ * Name of variable to use as input, instead of the message body It has as
+ * higher precedent if other are set.
+ */
+ private String variableName;
/**
* Name of header to use as input, instead of the message body It has as
* higher precedent than the propertyName if both are set.
@@ -50,6 +55,14 @@ public class JqLanguageConfiguration
*/
private Boolean trim = true;
+ public String getVariableName() {
+ return variableName;
+ }
+
+ public void setVariableName(String variableName) {
+ this.variableName = variableName;
+ }
+
public String getHeaderName() {
return headerName;
}
diff --git
a/components-starter/camel-jsonpath-starter/src/main/docs/jsonpath.json
b/components-starter/camel-jsonpath-starter/src/main/docs/jsonpath.json
index a997b562550..547a5504624 100644
--- a/components-starter/camel-jsonpath-starter/src/main/docs/jsonpath.json
+++ b/components-starter/camel-jsonpath-starter/src/main/docs/jsonpath.json
@@ -77,6 +77,12 @@
"sourceType":
"org.apache.camel.jsonpath.springboot.JsonPathLanguageConfiguration",
"defaultValue": false
},
+ {
+ "name": "camel.language.jsonpath.variable-name",
+ "type": "java.lang.String",
+ "description": "Name of variable to use as input, instead of the message
body It has as higher precedent if other are set.",
+ "sourceType":
"org.apache.camel.jsonpath.springboot.JsonPathLanguageConfiguration"
+ },
{
"name": "camel.language.jsonpath.write-as-string",
"type": "java.lang.Boolean",
diff --git
a/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageConfiguration.java
b/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageConfiguration.java
index 86f64ff0ba4..e33dfd24d85 100644
---
a/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageConfiguration.java
+++
b/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageConfiguration.java
@@ -60,6 +60,11 @@ public class JsonPathLanguageConfiguration
* separated by comma.
*/
private String option;
+ /**
+ * Name of variable to use as input, instead of the message body It has as
+ * higher precedent if other are set.
+ */
+ private String variableName;
/**
* Name of header to use as input, instead of the message body It has as
* higher precedent than the propertyName if both are set.
@@ -124,6 +129,14 @@ public class JsonPathLanguageConfiguration
this.option = option;
}
+ public String getVariableName() {
+ return variableName;
+ }
+
+ public void setVariableName(String variableName) {
+ this.variableName = variableName;
+ }
+
public String getHeaderName() {
return headerName;
}