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 b4a48dfa2c0 Regen
b4a48dfa2c0 is described below
commit b4a48dfa2c0f90af1c5d0f0d9046a44a1ac95c02
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jul 28 07:44:46 2022 +0200
Regen
---
.../apache/camel/springboot/catalog/languages/xpath.json | 1 +
.../apache/camel/springboot/catalog/languages/xquery.json | 1 +
.../camel/springboot/catalog/languages/xtokenize.json | 1 +
.../camel-saxon-starter/src/main/docs/saxon.json | 6 ++++++
.../xquery/springboot/XQueryLanguageConfiguration.java | 14 ++++++++++++++
.../camel-xml-jaxp-starter/src/main/docs/xml-jaxp.json | 6 ++++++
.../springboot/XMLTokenizeLanguageConfiguration.java | 14 ++++++++++++++
.../camel-xpath-starter/src/main/docs/xpath.json | 6 ++++++
.../xpath/springboot/XPathLanguageConfiguration.java | 14 ++++++++++++++
9 files changed, 63 insertions(+)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json
index fb8f1e9af59..dcfaa43db69 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json
@@ -26,6 +26,7 @@
"headerName": { "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" },
"threadSafety": { "kind": "attribute", "displayName": "Thread Safety",
"label": "advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to enable thread-safety for the
returned result of the xpath expression. This applies to when using NODESET as
the result type, and the returned set has multiple elements. In this situation
there can be thread-safety iss [...]
"preCompile": { "kind": "attribute", "displayName": "Pre Compile",
"label": "advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to enable pre-compiling the xpath
expression during initialization phase. pre-compile is enabled by default. This
can be used to turn off, for example in cases the compilation phase is desired
at the starting phase, such as i [...]
+ "namespace": { "kind": "element", "displayName": "Namespace", "label":
"common", "required": false, "type": "array", "javaType":
"java.util.List<org.apache.camel.model.PropertyDefinition>", "deprecated":
false, "autowired": false, "secret": false, "description": "Injects the XML
Namespaces of prefix - uri mappings" },
"trim": { "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" },
"id": { "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" }
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json
index d7b4326921c..c99a69bf7db 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json
@@ -20,6 +20,7 @@
"type": { "kind": "attribute", "displayName": "Type", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the class name of the
result type (type from output) The default result type is NodeSet" },
"headerName": { "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" },
"configurationRef": { "kind": "attribute", "displayName": "Configuration
Ref", "label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Reference to a saxon configuration instance in the registry to
use for xquery (requires camel-saxon). This may be needed to add custom
functions to a saxon configuration, so these custom functions can be used in
xquery expressions." },
+ "namespace": { "kind": "element", "displayName": "Namespace", "label":
"common", "required": false, "type": "array", "javaType":
"java.util.List<org.apache.camel.model.PropertyDefinition>", "deprecated":
false, "autowired": false, "secret": false, "description": "Injects the XML
Namespaces of prefix - uri mappings" },
"trim": { "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" },
"id": { "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" }
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json
index 93cb2fb14e5..1baabee7e7b 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json
@@ -19,6 +19,7 @@
"headerName": { "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 tokenize instead of using the message body."
},
"mode": { "kind": "attribute", "displayName": "Mode", "label": "advanced",
"required": false, "type": "enum", "javaType": "java.lang.String", "enum": [
"i", "w", "u", "t" ], "deprecated": false, "autowired": false, "secret": false,
"description": "The extraction mode. The available extraction modes are: i -
injecting the contextual namespace bindings into the extracted token (default)
w - wrapping the extracted token in its ancestor context u - unwrapping the
extracted token to its c [...]
"group": { "kind": "attribute", "displayName": "Group", "label":
"advanced", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false,
"description": "To group N parts together" },
+ "namespace": { "kind": "element", "displayName": "Namespace", "label":
"common", "required": false, "type": "array", "javaType":
"java.util.List<org.apache.camel.model.PropertyDefinition>", "deprecated":
false, "autowired": false, "secret": false, "description": "Injects the XML
Namespaces of prefix - uri mappings" },
"trim": { "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" },
"id": { "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" }
}
diff --git a/components-starter/camel-saxon-starter/src/main/docs/saxon.json
b/components-starter/camel-saxon-starter/src/main/docs/saxon.json
index 4431b56b5c8..27163e82cf6 100644
--- a/components-starter/camel-saxon-starter/src/main/docs/saxon.json
+++ b/components-starter/camel-saxon-starter/src/main/docs/saxon.json
@@ -91,6 +91,12 @@
"description": "Whether to enable auto configuration of the xquery
language. This is enabled by default.",
"sourceType":
"org.apache.camel.language.xquery.springboot.XQueryLanguageConfiguration"
},
+ {
+ "name": "camel.language.xquery.namespace",
+ "type": "java.util.List<org.apache.camel.model.PropertyDefinition>",
+ "description": "Injects the XML Namespaces of prefix - uri mappings",
+ "sourceType":
"org.apache.camel.language.xquery.springboot.XQueryLanguageConfiguration"
+ },
{
"name": "camel.language.xquery.trim",
"type": "java.lang.Boolean",
diff --git
a/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java
b/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java
index 7ac42abda40..83bdd009714 100644
---
a/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java
+++
b/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java
@@ -16,7 +16,9 @@
*/
package org.apache.camel.language.xquery.springboot;
+import java.util.List;
import javax.annotation.Generated;
+import org.apache.camel.model.PropertyDefinition;
import org.apache.camel.spring.boot.LanguageConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -48,6 +50,10 @@ public class XQueryLanguageConfiguration
* expressions.
*/
private String configurationRef;
+ /**
+ * Injects the XML Namespaces of prefix - uri mappings
+ */
+ private List<PropertyDefinition> namespace;
/**
* Whether to trim the value to remove leading and trailing whitespaces and
* line breaks
@@ -70,6 +76,14 @@ public class XQueryLanguageConfiguration
this.configurationRef = configurationRef;
}
+ public List<PropertyDefinition> getNamespace() {
+ return namespace;
+ }
+
+ public void setNamespace(List<PropertyDefinition> namespace) {
+ this.namespace = namespace;
+ }
+
public Boolean getTrim() {
return trim;
}
diff --git
a/components-starter/camel-xml-jaxp-starter/src/main/docs/xml-jaxp.json
b/components-starter/camel-xml-jaxp-starter/src/main/docs/xml-jaxp.json
index 67851b2e3da..5088f24e455 100644
--- a/components-starter/camel-xml-jaxp-starter/src/main/docs/xml-jaxp.json
+++ b/components-starter/camel-xml-jaxp-starter/src/main/docs/xml-jaxp.json
@@ -30,6 +30,12 @@
"description": "The extraction mode. The available extraction modes are:
i - injecting the contextual namespace bindings into the extracted token
(default) w - wrapping the extracted token in its ancestor context u -
unwrapping the extracted token to its child content t - extracting the text
content of the specified element",
"sourceType":
"org.apache.camel.language.xtokenizer.springboot.XMLTokenizeLanguageConfiguration"
},
+ {
+ "name": "camel.language.xtokenize.namespace",
+ "type": "java.util.List<org.apache.camel.model.PropertyDefinition>",
+ "description": "Injects the XML Namespaces of prefix - uri mappings",
+ "sourceType":
"org.apache.camel.language.xtokenizer.springboot.XMLTokenizeLanguageConfiguration"
+ },
{
"name": "camel.language.xtokenize.trim",
"type": "java.lang.Boolean",
diff --git
a/components-starter/camel-xml-jaxp-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java
b/components-starter/camel-xml-jaxp-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java
index 0f68be1cb45..cf15a15eca9 100644
---
a/components-starter/camel-xml-jaxp-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java
+++
b/components-starter/camel-xml-jaxp-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java
@@ -16,7 +16,9 @@
*/
package org.apache.camel.language.xtokenizer.springboot;
+import java.util.List;
import javax.annotation.Generated;
+import org.apache.camel.model.PropertyDefinition;
import org.apache.camel.spring.boot.LanguageConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -44,6 +46,10 @@ public class XMLTokenizeLanguageConfiguration
* the specified element
*/
private String mode;
+ /**
+ * Injects the XML Namespaces of prefix - uri mappings
+ */
+ private List<PropertyDefinition> namespace;
/**
* Whether to trim the value to remove leading and trailing whitespaces and
* line breaks
@@ -58,6 +64,14 @@ public class XMLTokenizeLanguageConfiguration
this.mode = mode;
}
+ public List<PropertyDefinition> getNamespace() {
+ return namespace;
+ }
+
+ public void setNamespace(List<PropertyDefinition> namespace) {
+ this.namespace = namespace;
+ }
+
public Boolean getTrim() {
return trim;
}
diff --git a/components-starter/camel-xpath-starter/src/main/docs/xpath.json
b/components-starter/camel-xpath-starter/src/main/docs/xpath.json
index bfaa8368e8f..b2ad3495f88 100644
--- a/components-starter/camel-xpath-starter/src/main/docs/xpath.json
+++ b/components-starter/camel-xpath-starter/src/main/docs/xpath.json
@@ -43,6 +43,12 @@
"sourceType":
"org.apache.camel.language.xpath.springboot.XPathLanguageConfiguration",
"defaultValue": false
},
+ {
+ "name": "camel.language.xpath.namespace",
+ "type": "java.util.List<org.apache.camel.model.PropertyDefinition>",
+ "description": "Injects the XML Namespaces of prefix - uri mappings",
+ "sourceType":
"org.apache.camel.language.xpath.springboot.XPathLanguageConfiguration"
+ },
{
"name": "camel.language.xpath.object-model",
"type": "java.lang.String",
diff --git
a/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java
b/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java
index 7fb67298720..ba9c4e653db 100644
---
a/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java
+++
b/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java
@@ -16,7 +16,9 @@
*/
package org.apache.camel.language.xpath.springboot;
+import java.util.List;
import javax.annotation.Generated;
+import org.apache.camel.model.PropertyDefinition;
import org.apache.camel.spring.boot.LanguageConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -77,6 +79,10 @@ public class XPathLanguageConfiguration
* the built operating system, and not a JVM runtime.
*/
private Boolean preCompile = true;
+ /**
+ * Injects the XML Namespaces of prefix - uri mappings
+ */
+ private List<PropertyDefinition> namespace;
/**
* Whether to trim the value to remove leading and trailing whitespaces and
* line breaks
@@ -139,6 +145,14 @@ public class XPathLanguageConfiguration
this.preCompile = preCompile;
}
+ public List<PropertyDefinition> getNamespace() {
+ return namespace;
+ }
+
+ public void setNamespace(List<PropertyDefinition> namespace) {
+ this.namespace = namespace;
+ }
+
public Boolean getTrim() {
return trim;
}