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 2021/08/24 16:22:09 UTC
[camel] 06/06: Regen
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit d459ab0c953cb1797ba05b0b46afe1d6d92d69f5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 24 18:21:23 2021 +0200
Regen
---
.../services/org/apache/camel/other.properties | 7 +++
.../resources/salesforce-maven-plugin.json | 14 +++++
.../modules/ROOT/pages/json-patch-component.adoc | 71 ----------------------
.../EndpointProducerDeserializersResolver.java | 1 +
4 files changed, 22 insertions(+), 71 deletions(-)
diff --git a/components/camel-salesforce/camel-salesforce-maven-plugin/src/generated/resources/META-INF/services/org/apache/camel/other.properties b/components/camel-salesforce/camel-salesforce-maven-plugin/src/generated/resources/META-INF/services/org/apache/camel/other.properties
new file mode 100644
index 0000000..806d140
--- /dev/null
+++ b/components/camel-salesforce/camel-salesforce-maven-plugin/src/generated/resources/META-INF/services/org/apache/camel/other.properties
@@ -0,0 +1,7 @@
+# Generated by camel build tools - do NOT edit this file!
+name=salesforce-maven-plugin
+groupId=org.apache.camel.maven
+artifactId=camel-salesforce-maven-plugin
+version=3.12.0-SNAPSHOT
+projectName=Camel :: Salesforce :: Maven plugin
+projectDescription=Camel Salesforce Maven plugin
diff --git a/components/camel-salesforce/camel-salesforce-maven-plugin/src/generated/resources/salesforce-maven-plugin.json b/components/camel-salesforce/camel-salesforce-maven-plugin/src/generated/resources/salesforce-maven-plugin.json
new file mode 100644
index 0000000..c2656e3
--- /dev/null
+++ b/components/camel-salesforce/camel-salesforce-maven-plugin/src/generated/resources/salesforce-maven-plugin.json
@@ -0,0 +1,14 @@
+{
+ "other": {
+ "kind": "other",
+ "name": "salesforce-maven-plugin",
+ "title": "Salesforce Maven Plugin",
+ "description": "Camel Salesforce Maven plugin",
+ "deprecated": false,
+ "firstVersion": "2.12.0",
+ "supportLevel": "Stable",
+ "groupId": "org.apache.camel.maven",
+ "artifactId": "camel-salesforce-maven-plugin",
+ "version": "3.12.0-SNAPSHOT"
+ }
+}
diff --git a/docs/components/modules/ROOT/pages/json-patch-component.adoc b/docs/components/modules/ROOT/pages/json-patch-component.adoc
index ee6afa4..32daf85 100644
--- a/docs/components/modules/ROOT/pages/json-patch-component.adoc
+++ b/docs/components/modules/ROOT/pages/json-patch-component.adoc
@@ -127,74 +127,3 @@ with the following path and query parameters:
|===
// endpoint options: END
-
-== Passing values to JSLT
-
-Camel can supply exchange information as variables when applying a JSLT expression on the body. The available variables from the *Exchange* are:
-
-[width="100%",cols="2,5",options="header"]
-|===
-| name | value
-| headers | The headers of the In message as a json object
-| exchange.properties | The *Exchange* properties as a json object. _exchange_ is the name of the variable and _properties_ is the path to the exchange properties. Available if _allowContextMapAll_ option is true.
-|===
-
-All the values that cannot be converted to json with Jackson are denied and will not be available in the jslt expression.
-
-For example, the header named "type" and the exchange property "instance" can be accessed like
-
-[source,json]
---------------------------------------
-{
- "type": $headers.type,
- "instance": $exchange.properties.instance
-}
---------------------------------------
-
-== Samples
-
-For example you could use something like
-
-[source,java]
---------------------------------------
-from("activemq:My.Queue").
- to("jslt:com/acme/MyResponse.json");
---------------------------------------
-
-And a file based resource:
-
-[source,java]
----------------------------------------------------------------
-from("activemq:My.Queue").
- to("jslt:file://myfolder/MyResponse.json?contentCache=true").
- to("activemq:Another.Queue");
----------------------------------------------------------------
-
-You can also specify which JSLT expression the component should use
-dynamically via a header, so for example:
-
-[source,java]
----------------------------------------------------------------------
-from("direct:in").
- setHeader("CamelJsltResourceUri").constant("path/to/my/spec.json").
- to("jslt:dummy?allowTemplateFromHeader=true");
----------------------------------------------------------------------
-
-Or send whole jslt expression via header: (suitable for querying)
-
-[source,java]
----------------------------------------------------------------------
-from("direct:in").
- setHeader("CamelJsltString").constant(".published").
- to("jslt:dummy?allowTemplateFromHeader=true");
----------------------------------------------------------------------
-
-Passing exchange properties to the jslt expression can be done like this
-
-[source,java]
----------------------------------------------------------------------
-from("direct:in").
- to("jslt:com/acme/MyResponse.json?allowContextMapAll=true");
----------------------------------------------------------------------
-
-include::{page-component-version}@camel-spring-boot::page$jslt-starter.adoc[]
diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/EndpointProducerDeserializersResolver.java b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/EndpointProducerDeserializersResolver.java
index dd1e053..d17733f 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/EndpointProducerDeserializersResolver.java
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/EndpointProducerDeserializersResolver.java
@@ -183,6 +183,7 @@ public final class EndpointProducerDeserializersResolver implements YamlDeserial
case "jooq":
case "jpa":
case "jslt":
+ case "json-patch":
case "json-validator":
case "jsonata":
case "jt400":