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
commit c9e0875a44b9b5faa320165dee690e647ae9604d Author: Claus Ibsen <[email protected]> AuthorDate: Mon Dec 5 09:45:24 2022 +0100 influxdb2 --- .../apache/camel/catalog/components/influxdb.json | 2 +- .../apache/camel/catalog/components/influxdb2.json | 6 +++--- .../apache/camel/component/influxdb/influxdb.json | 2 +- .../src/main/docs/influxdb-component.adoc | 22 ++++++++++++---------- .../camel/component/influxdb/InfluxDbEndpoint.java | 2 +- components/camel-influxdb2/pom.xml | 5 ----- .../camel/component/influxdb2/influxdb2.json | 6 +++--- .../src/main/docs/influxdb2-component.adoc | 15 ++++++++------- .../component/influxdb2/InfluxDb2Endpoint.java | 6 +++--- .../component/ComponentsBuilderFactory.java | 4 ++-- .../dsl/Influxdb2ComponentBuilderFactory.java | 4 ++-- .../dsl/InfluxdbComponentBuilderFactory.java | 4 ++-- .../src/generated/resources/metadata.json | 4 ++-- .../builder/endpoint/StaticEndpointBuilders.java | 12 ++++++------ .../dsl/InfluxDb2EndpointBuilderFactory.java | 18 ++++++++---------- .../dsl/InfluxDbEndpointBuilderFactory.java | 8 ++++---- 16 files changed, 58 insertions(+), 62 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb.json index 9bc3300fb91..d3ad72bfbe8 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb.json @@ -3,7 +3,7 @@ "kind": "component", "name": "influxdb", "title": "InfluxDB", - "description": "Interact with InfluxDB, a time series database.", + "description": "Interact with InfluxDB v1, a time series database.", "deprecated": false, "firstVersion": "2.18.0", "label": "database", diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json index b6340c9eb38..b4fa942631a 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json @@ -3,7 +3,7 @@ "kind": "component", "name": "influxdb2", "title": "InfluxDB2", - "description": "Interact with InfluxDB, a time series database.", + "description": "Interact with InfluxDB v2, a time series database.", "deprecated": false, "firstVersion": "3.20.0", "label": "database", @@ -32,14 +32,14 @@ "CamelInfluxDB2WritePrecision": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "com.influxdb.client.domain.WritePrecision", "enum": [ "ms", "s", "us", "ns" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "InfluxDb Write precision.", "constantName": "org.apache.camel.component.influxdb2.InfluxDb2Constants#WRITE_PRECISION" } }, "properties": { - "connectionBean": { "kind": "path", "displayName": "Connection Bean", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Connection to the influx2 database, of class com.influxdb.client.InfluxDBClient.class." }, + "connectionBean": { "kind": "path", "displayName": "Connection Bean", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Connection to the Influx database, of class com.influxdb.client.InfluxDBClient.class." }, "autoCreateBucket": { "kind": "parameter", "displayName": "Auto Create Bucket", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Define if we want to auto create the bucket if it's not present." }, "autoCreateOrg": { "kind": "parameter", "displayName": "Auto Create Org", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Define if we want to auto create the organization if it's not present." }, "bucket": { "kind": "parameter", "displayName": "Bucket", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The name of the bucket where the time series will be stored." }, "operation": { "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.influxdb2.enums.Operation", "enum": [ "INSERT", "PING" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "INSERT", "description": "Define if this operation is an insert of ping." }, "org": { "kind": "parameter", "displayName": "Org", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The name of the organization where the time series will be stored." }, "retentionPolicy": { "kind": "parameter", "displayName": "Retention Policy", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "default", "description": "Define the retention policy to the data created by the endpoint." }, - "writePrecision": { "kind": "parameter", "displayName": "Write Precision", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.influxdb.client.domain.WritePrecision", "enum": [ "ms", "s", "us", "ns" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ms", "description": "The format or precision of time series timestamps. see here(https:\/\/docs.influxdata.com\/influxdb\/latest\/reference\/glossary\/#precision)" }, + "writePrecision": { "kind": "parameter", "displayName": "Write Precision", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.influxdb.client.domain.WritePrecision", "enum": [ "ms", "s", "us", "ns" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ms", "description": "The format or precision of time series timestamps." }, "lazyStartProducer": { "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 producer may other [...] } } diff --git a/components/camel-influxdb/src/generated/resources/org/apache/camel/component/influxdb/influxdb.json b/components/camel-influxdb/src/generated/resources/org/apache/camel/component/influxdb/influxdb.json index 9bc3300fb91..d3ad72bfbe8 100644 --- a/components/camel-influxdb/src/generated/resources/org/apache/camel/component/influxdb/influxdb.json +++ b/components/camel-influxdb/src/generated/resources/org/apache/camel/component/influxdb/influxdb.json @@ -3,7 +3,7 @@ "kind": "component", "name": "influxdb", "title": "InfluxDB", - "description": "Interact with InfluxDB, a time series database.", + "description": "Interact with InfluxDB v1, a time series database.", "deprecated": false, "firstVersion": "2.18.0", "label": "database", diff --git a/components/camel-influxdb/src/main/docs/influxdb-component.adoc b/components/camel-influxdb/src/main/docs/influxdb-component.adoc index d826c2772ce..cc7c5cb607c 100644 --- a/components/camel-influxdb/src/main/docs/influxdb-component.adoc +++ b/components/camel-influxdb/src/main/docs/influxdb-component.adoc @@ -2,7 +2,7 @@ :doctitle: InfluxDB :shortname: influxdb :artifactid: camel-influxdb -:description: Interact with InfluxDB, a time series database. +:description: Interact with InfluxDB v1, a time series database. :since: 2.18 :supportlevel: Stable :component-header: Only producer is supported @@ -13,12 +13,14 @@ *{component-header}* -This component allows you to interact with InfluxDB -https://influxdata.com/time-series-platform/influxdb/ a time series database. The native body type for this component is -Point (the native influxdb class), but it can also accept Map<String, Object> as message body and it will get converted -to Point.class, please note that the map must contain an element with InfluxDbConstants.MEASUREMENT_NAME as key. +This component allows you to interact with InfluxDB v1 +https://influxdata.com/time-series-platform/influxdb/ a time series database. -Additionally of course you may register your own Converters to your data type to Point, or use the +The native body type for this component is +Point (the native influxdb class), but it can also accept `Map<String, Object>` as message body, and it will get converted +to `Point.class`, please note that the map must contain an element with `InfluxDbConstants.MEASUREMENT_NAME` as key. + +Additionally, of course you may register your own Converters to your data type to Point, or use the (un)marshalling tools provided by camel. Maven users will need to add the following dependency to their `pom.xml` @@ -65,17 +67,17 @@ Below is an example route that stores a point into the db (taking the db name fr specific key: [source,java] ------------------------------------------------------------------------------------- +---- from("direct:start") .setHeader(InfluxDbConstants.DBNAME_HEADER, constant("myTimeSeriesDB")) .to("influxdb://connectionBean); ------------------------------------------------------------------------------------- +---- [source,java] ------------------------------------------------------------------------------------- +---- from("direct:start") .to("influxdb://connectionBean?databaseName=myTimeSeriesDB"); ------------------------------------------------------------------------------------- +---- diff --git a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbEndpoint.java b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbEndpoint.java index 148fe5be3cc..214c985336c 100644 --- a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbEndpoint.java +++ b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbEndpoint.java @@ -32,7 +32,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Interact with <a href="https://influxdata.com/time-series-platform/influxdb/">InfluxDB</a>, a time series database. + * Interact with <a href="https://influxdata.com/time-series-platform/influxdb/">InfluxDB</a> v1, a time series database. */ @UriEndpoint(firstVersion = "2.18.0", scheme = "influxdb", title = "InfluxDB", syntax = "influxdb:connectionBean", category = { Category.DATABASE }, producerOnly = true, headersClass = InfluxDbConstants.class) diff --git a/components/camel-influxdb2/pom.xml b/components/camel-influxdb2/pom.xml index 8c87b47f942..2f35ce051f1 100644 --- a/components/camel-influxdb2/pom.xml +++ b/components/camel-influxdb2/pom.xml @@ -31,10 +31,6 @@ <name>Camel :: InfluxDB2</name> <description>Camel InfluxDB2 component</description> - - <properties> - </properties> - <dependencies> <dependency> @@ -42,7 +38,6 @@ <artifactId>camel-support</artifactId> </dependency> - <!--InfluxDb--> <dependency> <groupId>com.influxdb</groupId> diff --git a/components/camel-influxdb2/src/generated/resources/org/apache/camel/component/influxdb2/influxdb2.json b/components/camel-influxdb2/src/generated/resources/org/apache/camel/component/influxdb2/influxdb2.json index b6340c9eb38..b4fa942631a 100644 --- a/components/camel-influxdb2/src/generated/resources/org/apache/camel/component/influxdb2/influxdb2.json +++ b/components/camel-influxdb2/src/generated/resources/org/apache/camel/component/influxdb2/influxdb2.json @@ -3,7 +3,7 @@ "kind": "component", "name": "influxdb2", "title": "InfluxDB2", - "description": "Interact with InfluxDB, a time series database.", + "description": "Interact with InfluxDB v2, a time series database.", "deprecated": false, "firstVersion": "3.20.0", "label": "database", @@ -32,14 +32,14 @@ "CamelInfluxDB2WritePrecision": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "com.influxdb.client.domain.WritePrecision", "enum": [ "ms", "s", "us", "ns" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "InfluxDb Write precision.", "constantName": "org.apache.camel.component.influxdb2.InfluxDb2Constants#WRITE_PRECISION" } }, "properties": { - "connectionBean": { "kind": "path", "displayName": "Connection Bean", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Connection to the influx2 database, of class com.influxdb.client.InfluxDBClient.class." }, + "connectionBean": { "kind": "path", "displayName": "Connection Bean", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Connection to the Influx database, of class com.influxdb.client.InfluxDBClient.class." }, "autoCreateBucket": { "kind": "parameter", "displayName": "Auto Create Bucket", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Define if we want to auto create the bucket if it's not present." }, "autoCreateOrg": { "kind": "parameter", "displayName": "Auto Create Org", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Define if we want to auto create the organization if it's not present." }, "bucket": { "kind": "parameter", "displayName": "Bucket", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The name of the bucket where the time series will be stored." }, "operation": { "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.influxdb2.enums.Operation", "enum": [ "INSERT", "PING" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "INSERT", "description": "Define if this operation is an insert of ping." }, "org": { "kind": "parameter", "displayName": "Org", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The name of the organization where the time series will be stored." }, "retentionPolicy": { "kind": "parameter", "displayName": "Retention Policy", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "default", "description": "Define the retention policy to the data created by the endpoint." }, - "writePrecision": { "kind": "parameter", "displayName": "Write Precision", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.influxdb.client.domain.WritePrecision", "enum": [ "ms", "s", "us", "ns" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ms", "description": "The format or precision of time series timestamps. see here(https:\/\/docs.influxdata.com\/influxdb\/latest\/reference\/glossary\/#precision)" }, + "writePrecision": { "kind": "parameter", "displayName": "Write Precision", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.influxdb.client.domain.WritePrecision", "enum": [ "ms", "s", "us", "ns" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "ms", "description": "The format or precision of time series timestamps." }, "lazyStartProducer": { "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 producer may other [...] } } diff --git a/components/camel-influxdb2/src/main/docs/influxdb2-component.adoc b/components/camel-influxdb2/src/main/docs/influxdb2-component.adoc index bdab8da5a0a..94d3877615a 100644 --- a/components/camel-influxdb2/src/main/docs/influxdb2-component.adoc +++ b/components/camel-influxdb2/src/main/docs/influxdb2-component.adoc @@ -2,7 +2,7 @@ :doctitle: InfluxDB2 :shortname: influxdb2 :artifactid: camel-influxdb2 -:description: Interact with InfluxDB, a time series database. +:description: Interact with InfluxDB v2, a time series database. :since: 3.20 :supportlevel: Preview :component-header: Only producer is supported @@ -13,11 +13,11 @@ *{component-header}* -This component allows you to interact with InfluxDB +This component allows you to interact with InfluxDB 2.x https://influxdata.com/time-series-platform/influxdb/ a time series database. The native body type for this component is Point (the native influxdb class), but it can also accept Map<String, Object> as message body and it will get converted to Point.class, please note that the map must contain an element with InfluxDbConstants.MEASUREMENT_NAME as key. -Additionally of course you may register your own Converters to your data type to Point, or use the (un)marshalling tools provided by camel. +Additionally, of course you may register your own Converters to your data type to Point, or use the (un)marshalling tools provided by camel. Maven users will need to add the following dependency to their `pom.xml` for this component: @@ -62,16 +62,17 @@ include::partial$component-endpoint-headers.adoc[] Below is an example route that stores a point into the db (taking the db name from the URI) specific key: [source,java] ------------------------------------------------------------------------------------- +---- from("direct:start") .to("influxdb2://connectionBean?org=<org>&bucket=<bucket>"); ------------------------------------------------------------------------------------- +---- + [source,java] ------------------------------------------------------------------------------------- +---- from("direct:start") .setHeader(InfluxDbConstants.ORG, "myTestOrg") .setHeader(InfluxDbConstants.BUCKET, "myTestBucket") .to("influxdb2://connectionBean?"); ------------------------------------------------------------------------------------- +---- include::spring-boot:partial$starter.adoc[] diff --git a/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Endpoint.java b/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Endpoint.java index c0f208c005d..d9a1edab162 100644 --- a/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Endpoint.java +++ b/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Endpoint.java @@ -39,7 +39,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Interact with <a href="https://influxdata.com/time-series-platform/influxdb/">InfluxDB</a>, a time series database. + * Interact with <a href="https://influxdata.com/time-series-platform/influxdb/">InfluxDB</a> v2, a time series database. */ @UriEndpoint(firstVersion = "3.20.0", scheme = "influxdb2", title = "InfluxDB2", syntax = "influxdb2:connectionBean?org=<org name>&bucket=<bucket name>", category = { Category.DATABASE }, @@ -51,7 +51,7 @@ public class InfluxDb2Endpoint extends DefaultEndpoint { @UriPath @Metadata(required = true, - description = "Connection to the influx2 database, of class com.influxdb.client.InfluxDBClient.class.") + description = "Connection to the Influx database, of class com.influxdb.client.InfluxDBClient.class.") private String connectionBean; @UriParam @Metadata(required = true, description = "The name of the organization where the time series will be stored.") @@ -71,7 +71,7 @@ public class InfluxDb2Endpoint extends DefaultEndpoint { private boolean autoCreateBucket = true; @UriParam(defaultValue = "ms", - description = "The format or precision of time series timestamps. see [here](https://docs.influxdata.com/influxdb/latest/reference/glossary/#precision)") + description = "The format or precision of time series timestamps.") private WritePrecision writePrecision = WritePrecision.MS; private String orgID; diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java index 2454c0b3fab..3d5d9892fdc 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java @@ -2214,7 +2214,7 @@ public interface ComponentsBuilderFactory { } /** * InfluxDB (camel-influxdb) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v1, a time series database. * * Category: database * Since: 2.18 @@ -2227,7 +2227,7 @@ public interface ComponentsBuilderFactory { } /** * InfluxDB2 (camel-influxdb2) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v2, a time series database. * * Category: database * Since: 3.20 diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Influxdb2ComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Influxdb2ComponentBuilderFactory.java index 8c90ed47227..1251c3c9bc6 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Influxdb2ComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Influxdb2ComponentBuilderFactory.java @@ -23,7 +23,7 @@ import org.apache.camel.builder.component.ComponentBuilder; import org.apache.camel.component.influxdb2.InfluxDb2Component; /** - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v2, a time series database. * * Generated by camel-package-maven-plugin - do not edit this file! */ @@ -32,7 +32,7 @@ public interface Influxdb2ComponentBuilderFactory { /** * InfluxDB2 (camel-influxdb2) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v2, a time series database. * * Category: database * Since: 3.20 diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/InfluxdbComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/InfluxdbComponentBuilderFactory.java index eb20a6e4021..8cf676d5af1 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/InfluxdbComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/InfluxdbComponentBuilderFactory.java @@ -23,7 +23,7 @@ import org.apache.camel.builder.component.ComponentBuilder; import org.apache.camel.component.influxdb.InfluxDbComponent; /** - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v1, a time series database. * * Generated by camel-package-maven-plugin - do not edit this file! */ @@ -32,7 +32,7 @@ public interface InfluxdbComponentBuilderFactory { /** * InfluxDB (camel-influxdb) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v1, a time series database. * * Category: database * Since: 2.18 diff --git a/dsl/camel-componentdsl/src/generated/resources/metadata.json b/dsl/camel-componentdsl/src/generated/resources/metadata.json index 856692cef62..c54037f4e39 100644 --- a/dsl/camel-componentdsl/src/generated/resources/metadata.json +++ b/dsl/camel-componentdsl/src/generated/resources/metadata.json @@ -3621,7 +3621,7 @@ "kind": "component", "name": "influxdb2", "title": "InfluxDB2", - "description": "Interact with InfluxDB, a time series database.", + "description": "Interact with InfluxDB v2, a time series database.", "deprecated": false, "firstVersion": "3.20.0", "label": "database", @@ -3643,7 +3643,7 @@ "kind": "component", "name": "influxdb", "title": "InfluxDB", - "description": "Interact with InfluxDB, a time series database.", + "description": "Interact with InfluxDB v1, a time series database.", "deprecated": false, "firstVersion": "2.18.0", "label": "database", diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java index 28c3d5b54b4..8403b73bdb6 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java @@ -7468,7 +7468,7 @@ public class StaticEndpointBuilders { } /** * InfluxDB (camel-influxdb) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v1, a time series database. * * Category: database * Since: 2.18 @@ -7488,7 +7488,7 @@ public class StaticEndpointBuilders { } /** * InfluxDB (camel-influxdb) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v1, a time series database. * * Category: database * Since: 2.18 @@ -7511,7 +7511,7 @@ public class StaticEndpointBuilders { } /** * InfluxDB2 (camel-influxdb2) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v2, a time series database. * * Category: database * Since: 3.20 @@ -7521,7 +7521,7 @@ public class StaticEndpointBuilders { * name></code> * * Path parameter: connectionBean (required) - * Connection to the influx2 database, of class + * Connection to the Influx database, of class * com.influxdb.client.InfluxDBClient.class. * * @param path connectionBean?org=<org name>&bucket=<bucket name> @@ -7533,7 +7533,7 @@ public class StaticEndpointBuilders { } /** * InfluxDB2 (camel-influxdb2) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v2, a time series database. * * Category: database * Since: 3.20 @@ -7543,7 +7543,7 @@ public class StaticEndpointBuilders { * name></code> * * Path parameter: connectionBean (required) - * Connection to the influx2 database, of class + * Connection to the Influx database, of class * com.influxdb.client.InfluxDBClient.class. * * @param componentName to use a custom component name for the endpoint diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java index 3484f1eb7ac..7481c6856b2 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java @@ -26,7 +26,7 @@ import org.apache.camel.builder.EndpointProducerBuilder; import org.apache.camel.builder.endpoint.AbstractEndpointBuilder; /** - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v2, a time series database. * * Generated by camel build tools - do NOT edit this file! */ @@ -186,8 +186,7 @@ public interface InfluxDb2EndpointBuilderFactory { return this; } /** - * The format or precision of time series timestamps. see - * here(https://docs.influxdata.com/influxdb/latest/reference/glossary/#precision). + * The format or precision of time series timestamps. * * The option is a: * <code>com.influxdb.client.domain.WritePrecision</code> @@ -205,8 +204,7 @@ public interface InfluxDb2EndpointBuilderFactory { return this; } /** - * The format or precision of time series timestamps. see - * here(https://docs.influxdata.com/influxdb/latest/reference/glossary/#precision). + * The format or precision of time series timestamps. * * The option will be converted to a * <code>com.influxdb.client.domain.WritePrecision</code> @@ -287,7 +285,7 @@ public interface InfluxDb2EndpointBuilderFactory { public interface InfluxDb2Builders { /** * InfluxDB2 (camel-influxdb2) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v2, a time series database. * * Category: database * Since: 3.20 @@ -300,7 +298,7 @@ public interface InfluxDb2EndpointBuilderFactory { } /** * InfluxDB2 (camel-influxdb2) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v2, a time series database. * * Category: database * Since: 3.20 @@ -310,7 +308,7 @@ public interface InfluxDb2EndpointBuilderFactory { * name></code> * * Path parameter: connectionBean (required) - * Connection to the influx2 database, of class + * Connection to the Influx database, of class * com.influxdb.client.InfluxDBClient.class. * * @param path connectionBean?org=<org name>&bucket=<bucket name> @@ -321,7 +319,7 @@ public interface InfluxDb2EndpointBuilderFactory { } /** * InfluxDB2 (camel-influxdb2) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v2, a time series database. * * Category: database * Since: 3.20 @@ -331,7 +329,7 @@ public interface InfluxDb2EndpointBuilderFactory { * name></code> * * Path parameter: connectionBean (required) - * Connection to the influx2 database, of class + * Connection to the Influx database, of class * com.influxdb.client.InfluxDBClient.class. * * @param componentName to use a custom component name for the endpoint diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDbEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDbEndpointBuilderFactory.java index 671bc566f20..5a226d49646 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDbEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDbEndpointBuilderFactory.java @@ -26,7 +26,7 @@ import org.apache.camel.builder.EndpointProducerBuilder; import org.apache.camel.builder.endpoint.AbstractEndpointBuilder; /** - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v1, a time series database. * * Generated by camel build tools - do NOT edit this file! */ @@ -264,7 +264,7 @@ public interface InfluxDbEndpointBuilderFactory { public interface InfluxDbBuilders { /** * InfluxDB (camel-influxdb) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v1, a time series database. * * Category: database * Since: 2.18 @@ -277,7 +277,7 @@ public interface InfluxDbEndpointBuilderFactory { } /** * InfluxDB (camel-influxdb) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v1, a time series database. * * Category: database * Since: 2.18 @@ -296,7 +296,7 @@ public interface InfluxDbEndpointBuilderFactory { } /** * InfluxDB (camel-influxdb) - * Interact with InfluxDB, a time series database. + * Interact with InfluxDB v1, a time series database. * * Category: database * Since: 2.18
