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 2020/12/06 08:00:19 UTC

[camel-spring-boot] branch master updated: [create-pull-request] automated change (#241)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
     new 02619f2  [create-pull-request] automated change (#241)
02619f2 is described below

commit 02619f2c482259a46a4197c863136098c155c487
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Sun Dec 6 09:00:09 2020 +0100

    [create-pull-request] automated change (#241)
    
    Co-authored-by: github-actions[bot] <41...@users.noreply.github.com>
---
 components-starter/README.adoc                  |  4 ++-
 docs/modules/ROOT/pages/datasonnet-starter.adoc | 34 +++++++++++++++++++++++++
 docs/modules/ROOT/pages/list.adoc               |  4 ++-
 tooling/camel-spring-boot-bom/pom.xml           |  5 ++++
 tooling/camel-spring-boot-dependencies/pom.xml  |  5 ++++
 5 files changed, 50 insertions(+), 2 deletions(-)

diff --git a/components-starter/README.adoc b/components-starter/README.adoc
index bbd919e..81f788e 100644
--- a/components-starter/README.adoc
+++ b/components-starter/README.adoc
@@ -801,7 +801,7 @@ Number of Camel data formats: 46 in 38 JAR artifacts (0 deprecated)
 == Camel Languages
 
 // languages: START
-Number of Camel languages: 18 in 12 JAR artifacts (0 deprecated)
+Number of Camel languages: 19 in 13 JAR artifacts (0 deprecated)
 
 [width="100%",cols="4,3,3,3,6",options="header"]
 |===
@@ -811,6 +811,8 @@ Number of Camel languages: 18 in 12 JAR artifacts (0 deprecated)
 
 | xref:latest@components:languages:constant-language.adoc[Constant] | camel-base | Stable | 1.5 | To use a constant value in Camel expressions or predicates. Important: this is a fixed constant value that is only set once during starting up the route, do not use this if you want dynamic values during routing.
 
+| xref:latest@components:languages:datasonnet-language.adoc[DataSonnet] | camel-datasonnet-starter | Preview | 3.7 | To use DataSonnet scripts in Camel expressions or predicates.
+
 | xref:latest@components:languages:exchangeProperty-language.adoc[ExchangeProperty] | camel-base | Stable | 2.0 | To use a Camel Exchange property in expressions or predicates.
 
 | xref:latest@components:languages:file-language.adoc[File] | camel-base | Stable | 1.1 | For expressions and predicates using the file/simple language.
diff --git a/docs/modules/ROOT/pages/datasonnet-starter.adoc b/docs/modules/ROOT/pages/datasonnet-starter.adoc
new file mode 100644
index 0000000..024e6c3
--- /dev/null
+++ b/docs/modules/ROOT/pages/datasonnet-starter.adoc
@@ -0,0 +1,34 @@
+// spring-boot-auto-configure options: START
+:page-partial:
+:doctitle: Camel Spring Boot Starter for datasonnet
+
+== Spring Boot Auto-Configuration
+
+When using datasonnet with Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
+
+[source,xml]
+----
+<dependency>
+  <groupId>org.apache.camel.springboot</groupId>
+  <artifactId>camel-datasonnet-starter</artifactId>
+  <version>x.x.x</version>
+  <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+
+The component supports 4 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *camel.language.datasonnet.body-media-type* | The String representation of the message's body MediaType |  | String
+| *camel.language.datasonnet.enabled* | Whether to enable auto configuration of the datasonnet language. This is enabled by default. |  | Boolean
+| *camel.language.datasonnet.output-media-type* | The String representation of the MediaType to output |  | String
+| *camel.language.datasonnet.trim* | Whether to trim the value to remove leading and trailing whitespaces and line breaks | true | Boolean
+|===
+
+
+// spring-boot-auto-configure options: END
diff --git a/docs/modules/ROOT/pages/list.adoc b/docs/modules/ROOT/pages/list.adoc
index bbd919e..81f788e 100644
--- a/docs/modules/ROOT/pages/list.adoc
+++ b/docs/modules/ROOT/pages/list.adoc
@@ -801,7 +801,7 @@ Number of Camel data formats: 46 in 38 JAR artifacts (0 deprecated)
 == Camel Languages
 
 // languages: START
-Number of Camel languages: 18 in 12 JAR artifacts (0 deprecated)
+Number of Camel languages: 19 in 13 JAR artifacts (0 deprecated)
 
 [width="100%",cols="4,3,3,3,6",options="header"]
 |===
@@ -811,6 +811,8 @@ Number of Camel languages: 18 in 12 JAR artifacts (0 deprecated)
 
 | xref:latest@components:languages:constant-language.adoc[Constant] | camel-base | Stable | 1.5 | To use a constant value in Camel expressions or predicates. Important: this is a fixed constant value that is only set once during starting up the route, do not use this if you want dynamic values during routing.
 
+| xref:latest@components:languages:datasonnet-language.adoc[DataSonnet] | camel-datasonnet-starter | Preview | 3.7 | To use DataSonnet scripts in Camel expressions or predicates.
+
 | xref:latest@components:languages:exchangeProperty-language.adoc[ExchangeProperty] | camel-base | Stable | 2.0 | To use a Camel Exchange property in expressions or predicates.
 
 | xref:latest@components:languages:file-language.adoc[File] | camel-base | Stable | 1.1 | For expressions and predicates using the file/simple language.
diff --git a/tooling/camel-spring-boot-bom/pom.xml b/tooling/camel-spring-boot-bom/pom.xml
index 8d3aedb..26ae887 100644
--- a/tooling/camel-spring-boot-bom/pom.xml
+++ b/tooling/camel-spring-boot-bom/pom.xml
@@ -503,6 +503,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel.springboot</groupId>
+        <artifactId>camel-datasonnet-starter</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel.springboot</groupId>
         <artifactId>camel-debezium-common-starter</artifactId>
         <version>${project.version}</version>
       </dependency>
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml b/tooling/camel-spring-boot-dependencies/pom.xml
index 8103f75..d15d337 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -708,6 +708,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel.springboot</groupId>
+        <artifactId>camel-datasonnet-starter</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel.springboot</groupId>
         <artifactId>camel-debezium-common-starter</artifactId>
         <version>${project.version}</version>
       </dependency>