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.git
The following commit(s) were added to refs/heads/main by this push: new 7cda3f4b14d Regen 7cda3f4b14d is described below commit 7cda3f4b14d47bd805e563f3af0200862f538844 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Nov 11 18:09:17 2023 +0100 Regen --- .../org/apache/camel/catalog/components/jolt.json | 14 ++++---- .../src/generated/resources/metadata.json | 1 + .../endpoint/dsl/JoltEndpointBuilderFactory.java | 40 ---------------------- 3 files changed, 8 insertions(+), 47 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jolt.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jolt.json index bc4b3fb2394..52b581c8bc5 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jolt.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jolt.json @@ -5,6 +5,7 @@ "title": "JOLT", "description": "JSON to JSON transformation using JOLT.", "deprecated": false, + "deprecationNote": "", "firstVersion": "2.16.0", "label": "transformation", "javaType": "org.apache.camel.component.jolt.JoltComponent", @@ -33,12 +34,11 @@ }, "properties": { "resourceUri": { "index": 0, "kind": "path", "displayName": "Resource Uri", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "description": "Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will look [...] - "allowContextMapAll": { "index": 1, "kind": "parameter", "displayName": "Allow Context Map All", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and C [...] - "allowTemplateFromHeader": { "index": 2, "kind": "parameter", "displayName": "Allow Template From Header", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to allow to use resource template from header or not (default false). Enabling this allows to specify dynamic templates via message header. However this can be seen as a potential s [...] - "contentCache": { "index": 3, "kind": "parameter", "displayName": "Content Cache", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Sets whether to use resource content cache or not" }, - "inputType": { "index": 4, "kind": "parameter", "displayName": "Input Type", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jolt.JoltInputOutputType", "enum": [ "Hydrated", "JsonString" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Hydrated", "description": "Specifies if the input is hydrated JSON or a JSON String." }, - "outputType": { "index": 5, "kind": "parameter", "displayName": "Output Type", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jolt.JoltInputOutputType", "enum": [ "Hydrated", "JsonString" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Hydrated", "description": "Specifies if the output should be hydrated JSON or a JSON String." }, - "transformDsl": { "index": 6, "kind": "parameter", "displayName": "Transform Dsl", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jolt.JoltTransformType", "enum": [ "Chainr", "Shiftr", "Defaultr", "Removr", "Sortr" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Chainr", "description": "Specifies the Transform DSL of the endpoint resource. If none is specified Chainr will be used." }, - "lazyStartProducer": { "index": 7, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a produc [...] + "allowTemplateFromHeader": { "index": 1, "kind": "parameter", "displayName": "Allow Template From Header", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to allow to use resource template from header or not (default false). Enabling this allows to specify dynamic templates via message header. However this can be seen as a potential s [...] + "contentCache": { "index": 2, "kind": "parameter", "displayName": "Content Cache", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Sets whether to use resource content cache or not" }, + "inputType": { "index": 3, "kind": "parameter", "displayName": "Input Type", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jolt.JoltInputOutputType", "enum": [ "Hydrated", "JsonString" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Hydrated", "description": "Specifies if the input is hydrated JSON or a JSON String." }, + "outputType": { "index": 4, "kind": "parameter", "displayName": "Output Type", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jolt.JoltInputOutputType", "enum": [ "Hydrated", "JsonString" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Hydrated", "description": "Specifies if the output should be hydrated JSON or a JSON String." }, + "transformDsl": { "index": 5, "kind": "parameter", "displayName": "Transform Dsl", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jolt.JoltTransformType", "enum": [ "Chainr", "Shiftr", "Defaultr", "Removr", "Sortr" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Chainr", "description": "Specifies the Transform DSL of the endpoint resource. If none is specified Chainr will be used." }, + "lazyStartProducer": { "index": 6, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a produc [...] } } diff --git a/dsl/camel-componentdsl/src/generated/resources/metadata.json b/dsl/camel-componentdsl/src/generated/resources/metadata.json index ed1ec93dc0b..1d20a38e755 100644 --- a/dsl/camel-componentdsl/src/generated/resources/metadata.json +++ b/dsl/camel-componentdsl/src/generated/resources/metadata.json @@ -3805,6 +3805,7 @@ "title": "JOLT", "description": "JSON to JSON transformation using JOLT.", "deprecated": false, + "deprecationNote": "", "firstVersion": "2.16.0", "label": "transformation", "javaType": "org.apache.camel.component.jolt.JoltComponent", diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JoltEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JoltEndpointBuilderFactory.java index b1dddcb46d9..935cc144db6 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JoltEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JoltEndpointBuilderFactory.java @@ -41,46 +41,6 @@ public interface JoltEndpointBuilderFactory { default AdvancedJoltEndpointBuilder advanced() { return (AdvancedJoltEndpointBuilder) this; } - /** - * Sets whether the context map should allow access to all details. By - * default only the message body and headers can be accessed. This - * option can be enabled for full access to the current Exchange and - * CamelContext. Doing so impose a potential security risk as this opens - * access to the full power of CamelContext API. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: producer - * - * @param allowContextMapAll the value to set - * @return the dsl builder - */ - default JoltEndpointBuilder allowContextMapAll( - boolean allowContextMapAll) { - doSetProperty("allowContextMapAll", allowContextMapAll); - return this; - } - /** - * Sets whether the context map should allow access to all details. By - * default only the message body and headers can be accessed. This - * option can be enabled for full access to the current Exchange and - * CamelContext. Doing so impose a potential security risk as this opens - * access to the full power of CamelContext API. - * - * The option will be converted to a <code>boolean</code> - * type. - * - * Default: false - * Group: producer - * - * @param allowContextMapAll the value to set - * @return the dsl builder - */ - default JoltEndpointBuilder allowContextMapAll(String allowContextMapAll) { - doSetProperty("allowContextMapAll", allowContextMapAll); - return this; - } /** * Whether to allow to use resource template from header or not (default * false). Enabling this allows to specify dynamic templates via message