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 2022/12/05 12:20:45 UTC
[camel] 03/03: Full rebuild
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 b463eaabfcaa95cdb2996fe4339f6584372e101e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 5 13:20:17 2022 +0100
Full rebuild
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../org/apache/camel/catalog/components.properties | 1 +
.../apache/camel/catalog/components/influxdb.json | 2 +-
.../apache/camel/catalog/components/influxdb2.json | 45 ++++++++++++++++++++++
.../org/apache/camel/main/components.properties | 1 +
.../component/ComponentsBuilderFactory.java | 2 +-
.../dsl/InfluxdbComponentBuilderFactory.java | 4 +-
.../src/generated/resources/metadata.json | 2 +-
.../builder/endpoint/StaticEndpointBuilders.java | 4 +-
.../dsl/InfluxDbEndpointBuilderFactory.java | 8 ++--
9 files changed, 58 insertions(+), 11 deletions(-)
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
index 51bf87030ec..13c2ba81815 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
@@ -162,6 +162,7 @@ imaps
infinispan
infinispan-embedded
influxdb
+influxdb2
iota
ipfs
irc
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
new file mode 100644
index 00000000000..b4fa942631a
--- /dev/null
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json
@@ -0,0 +1,45 @@
+{
+ "component": {
+ "kind": "component",
+ "name": "influxdb2",
+ "title": "InfluxDB2",
+ "description": "Interact with InfluxDB v2, a time series database.",
+ "deprecated": false,
+ "firstVersion": "3.20.0",
+ "label": "database",
+ "javaType": "org.apache.camel.component.influxdb2.InfluxDb2Component",
+ "supportLevel": "Preview",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-influxdb2",
+ "version": "3.20.0-SNAPSHOT",
+ "scheme": "influxdb2",
+ "extendsScheme": "",
+ "syntax": "influxdb2:connectionBean?org=<org name>&bucket=<bucket name>",
+ "async": false,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": true,
+ "lenientProperties": false
+ },
+ "componentProperties": {
+ "influxDBClient": { "kind": "property", "displayName": "Influx DBClient", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.influxdb.client.InfluxDBClient", "deprecated": false, "autowired": true, "secret": false, "description": "The shared Influx DB to use for all endpoints" },
+ "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "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 otherwise fail during star [...]
+ "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...]
+ },
+ "headers": {
+ "CamelInfluxDB2MeasurementName": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The name of measurement", "constantName": "org.apache.camel.component.influxdb2.InfluxDb2Constants#MEASUREMENT" },
+ "camelInfluxDB.RetentionPolicy": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The string that defines the retention policy to the data created by the endpoint", "constantName": "org.apache.camel.component.influxdb2.InfluxDb2Constants#RETENTION_POLICY" },
+ "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 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." },
+ "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/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties b/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
index 51bf87030ec..13c2ba81815 100644
--- a/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
+++ b/core/camel-main/src/generated/resources/org/apache/camel/main/components.properties
@@ -162,6 +162,7 @@ imaps
infinispan
infinispan-embedded
influxdb
+influxdb2
iota
ipfs
irc
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 3d5d9892fdc..6a8ab64d14e 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 v1, a time series database.
+ * Interact with InfluxDB, a time series database.
*
* Category: database
* Since: 2.18
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 8cf676d5af1..eb20a6e4021 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 v1, a time series database.
+ * Interact with InfluxDB, 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 v1, a time series database.
+ * Interact with InfluxDB, 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 c54037f4e39..21192136557 100644
--- a/dsl/camel-componentdsl/src/generated/resources/metadata.json
+++ b/dsl/camel-componentdsl/src/generated/resources/metadata.json
@@ -3643,7 +3643,7 @@
"kind": "component",
"name": "influxdb",
"title": "InfluxDB",
- "description": "Interact with InfluxDB v1, a time series database.",
+ "description": "Interact with InfluxDB, 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 8403b73bdb6..d627010a0a2 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 v1, a time series database.
+ * Interact with InfluxDB, a time series database.
*
* Category: database
* Since: 2.18
@@ -7488,7 +7488,7 @@ public class StaticEndpointBuilders {
}
/**
* InfluxDB (camel-influxdb)
- * Interact with InfluxDB v1, a time series database.
+ * Interact with InfluxDB, a time series database.
*
* Category: database
* Since: 2.18
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 5a226d49646..671bc566f20 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 v1, a time series database.
+ * Interact with InfluxDB, 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 v1, a time series database.
+ * Interact with InfluxDB, a time series database.
*
* Category: database
* Since: 2.18
@@ -277,7 +277,7 @@ public interface InfluxDbEndpointBuilderFactory {
}
/**
* InfluxDB (camel-influxdb)
- * Interact with InfluxDB v1, a time series database.
+ * Interact with InfluxDB, a time series database.
*
* Category: database
* Since: 2.18
@@ -296,7 +296,7 @@ public interface InfluxDbEndpointBuilderFactory {
}
/**
* InfluxDB (camel-influxdb)
- * Interact with InfluxDB v1, a time series database.
+ * Interact with InfluxDB, a time series database.
*
* Category: database
* Since: 2.18