You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2025/10/30 15:05:52 UTC
(camel) 01/02: Fix typo in route model for the generated schemas and metadata
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit d53ce19a3748e2a172fee590a63e17cbabd6641e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Oct 30 16:03:25 2025 +0100
Fix typo in route model for the generated schemas and metadata
---
.../apache/camel/catalog/jbang/camel-jbang-configuration-metadata.json | 3 ---
.../src/generated/resources/org/apache/camel/catalog/models/route.json | 2 +-
.../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 2 +-
.../resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd | 2 +-
.../src/generated/resources/META-INF/org/apache/camel/model/route.json | 2 +-
.../java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java | 2 +-
6 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/jbang/camel-jbang-configuration-metadata.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/jbang/camel-jbang-configuration-metadata.json
index c230d7b16bb5..5ddbf4d38107 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/jbang/camel-jbang-configuration-metadata.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/jbang/camel-jbang-configuration-metadata.json
@@ -10,9 +10,6 @@
{ "name": "camel.jbang.compileWorkDir", "required": false, "description": "Work directory for compiler. Can be used to write compiled classes or other resources.", "label": "advanced", "type": "string", "javaType": "String", "defaultValue": ".camel-jbang\/compile", "secret": false },
{ "name": "camel.jbang.console", "required": false, "description": "Developer console at \/q\/dev on local HTTP server (port 8080 by default)", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.jbang.dependencies", "required": false, "description": "Additional dependencies (Use commas to separate multiple dependencies).", "type": "string", "javaType": "String", "secret": false },
- { "name": "camel.jbang.dependencies.main", "required": false, "description": "Additional dependencies for Camel Main runtime only", "type": "string", "javaType": "String", "secret": false },
- { "name": "camel.jbang.dependencies.quarkus", "required": false, "description": "Additional dependencies for Quarkus runtime only", "type": "string", "javaType": "String", "secret": false },
- { "name": "camel.jbang.dependencies.spring-boot", "required": false, "description": "Additional dependencies for Spring Boot runtime only", "type": "string", "javaType": "String", "secret": false },
{ "name": "camel.jbang.download", "required": false, "description": "Whether to allow automatic downloading JAR dependencies (over the internet)", "type": "boolean", "javaType": "boolean", "defaultValue": true, "secret": false },
{ "name": "camel.jbang.excludes", "required": false, "description": "Exclude files by name or pattern (Use commas to separate multiple files)", "type": "string", "javaType": "String", "secret": false },
{ "name": "camel.jbang.exportDir", "required": false, "description": "Directory where the project will be exported", "type": "string", "javaType": "String", "defaultValue": ".", "secret": false },
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json
index 54d70da50525..af7f37d5976d 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json
@@ -19,7 +19,7 @@
"routeConfigurationId": { "index": 4, "kind": "attribute", "displayName": "Route Configuration Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The route configuration id or pattern this route should use for configuration. Multiple id\/pattern can be separated by comma." },
"autoStartup": { "index": 5, "kind": "attribute", "displayName": "Auto Startup", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to auto start this route" },
"startupOrder": { "index": 6, "kind": "attribute", "displayName": "Startup Order", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "description": "To configure the ordering of the routes being started" },
- "streamCache": { "index": 7, "kind": "attribute", "displayName": "Stream Cache", "group": "common", "required": false, "type": "object", "javaType": "java.lang.Booleam", "deprecated": false, "autowired": false, "secret": false, "description": "Whether stream caching is enabled on this route." },
+ "streamCache": { "index": 7, "kind": "attribute", "displayName": "Stream Cache", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether stream caching is enabled on this route." },
"trace": { "index": 8, "kind": "attribute", "displayName": "Trace", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether tracing is enabled on this route." },
"messageHistory": { "index": 9, "kind": "attribute", "displayName": "Message History", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether message history is enabled on this route." },
"logMask": { "index": 10, "kind": "attribute", "displayName": "Log Mask", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether security mask for Logging is enabled on this route." },
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 2afc586ff084..183022ca0113 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -12995,7 +12995,7 @@ To configure the ordering of the routes being started.
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether stream caching is enabled on this route.
+Whether stream caching is enabled on this route. Default value: false
]]>
</xs:documentation>
</xs:annotation>
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
index ccca7b71c794..709e773ac77c 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
@@ -11689,7 +11689,7 @@ To configure the ordering of the routes being started.
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether stream caching is enabled on this route.
+Whether stream caching is enabled on this route. Default value: false
]]>
</xs:documentation>
</xs:annotation>
diff --git a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json
index 54d70da50525..af7f37d5976d 100644
--- a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json
+++ b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json
@@ -19,7 +19,7 @@
"routeConfigurationId": { "index": 4, "kind": "attribute", "displayName": "Route Configuration Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The route configuration id or pattern this route should use for configuration. Multiple id\/pattern can be separated by comma." },
"autoStartup": { "index": 5, "kind": "attribute", "displayName": "Auto Startup", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to auto start this route" },
"startupOrder": { "index": 6, "kind": "attribute", "displayName": "Startup Order", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "description": "To configure the ordering of the routes being started" },
- "streamCache": { "index": 7, "kind": "attribute", "displayName": "Stream Cache", "group": "common", "required": false, "type": "object", "javaType": "java.lang.Booleam", "deprecated": false, "autowired": false, "secret": false, "description": "Whether stream caching is enabled on this route." },
+ "streamCache": { "index": 7, "kind": "attribute", "displayName": "Stream Cache", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether stream caching is enabled on this route." },
"trace": { "index": 8, "kind": "attribute", "displayName": "Trace", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether tracing is enabled on this route." },
"messageHistory": { "index": 9, "kind": "attribute", "displayName": "Message History", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether message history is enabled on this route." },
"logMask": { "index": 10, "kind": "attribute", "displayName": "Log Mask", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether security mask for Logging is enabled on this route." },
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
index 2b0df4246269..bb81cc5b9ef2 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
@@ -812,7 +812,7 @@ public class SchemaGeneratorMojo extends AbstractGeneratorMojo {
// stream cache
docComment = findJavaDoc(null, "streamCache", null, classElement, true);
- ep = createOption("streamCache", "Stream Cache", "attribute", "java.lang.Booleam", false, "", "", docComment, false,
+ ep = createOption("streamCache", "Stream Cache", "attribute", "java.lang.Boolean", false, "", "", docComment, false,
null,
false, null, null, false, false);
eipOptions.add(ep);