From 6dff1ddd9126f2b4832fa0cdc369196a7874974b Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:29:53 +0000 Subject: [PATCH] Add component definition: influxdb --- component.json | 208 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 208 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..6752621 --- /dev/null +++ b/component.json @@ -0,0 +1,208 @@ +{ + "component": { + "kind": "component", + "name": "influxdb", + "title": "InfluxDB", + "description": "Interact with InfluxDB v1, a time series database.", + "deprecated": false, + "firstVersion": "2.18.0", + "label": "database", + "javaType": "org.apache.camel.component.influxdb.InfluxDbComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-influxdb", + "version": "4.10.2", + "scheme": "influxdb", + "extendsScheme": "", + "syntax": "influxdb:connectionBean", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "headers": { + "camelInfluxDB.RetentionPolicy": { + "index": 0, + "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.influxdb.InfluxDbConstants#RETENTION_POLICY_HEADER" + }, + "camelInfluxDB.databaseName": { + "index": 1, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The name of the database where the time series will be stored", + "constantName": "org.apache.camel.component.influxdb.InfluxDbConstants#DBNAME_HEADER" + }, + "camelInfluxDB.query": { + "index": 2, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Define the query in case of operation query", + "constantName": "org.apache.camel.component.influxdb.InfluxDbConstants#INFLUXDB_QUERY" + } + }, + "properties": { + "connectionBean": { + "index": 0, + "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 InfluxDB.class" + }, + "autoCreateDatabase": { + "index": 1, + "kind": "parameter", + "displayName": "Auto Create Database", + "group": "producer", + "label": "", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": false, + "description": "Define if we want to auto create the database if it's not present" + }, + "batch": { + "index": 2, + "kind": "parameter", + "displayName": "Batch", + "group": "producer", + "label": "", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": false, + "description": "Define if this operation is a batch operation or not" + }, + "checkDatabaseExistence": { + "index": 3, + "kind": "parameter", + "displayName": "Check Database Existence", + "group": "producer", + "label": "", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": false, + "description": "Define if we want to check the database existence while starting the endpoint" + }, + "databaseName": { + "index": 4, + "kind": "parameter", + "displayName": "Database Name", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The name of the database where the time series will be stored" + }, + "operation": { + "index": 5, + "kind": "parameter", + "displayName": "Operation", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "insert", + "description": "Define if this operation is an insert or a query" + }, + "query": { + "index": 6, + "kind": "parameter", + "displayName": "Query", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "Define the query in case of operation query" + }, + "retentionPolicy": { + "index": 7, + "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": "The string that defines the retention policy to the data created by the endpoint" + }, + "lazyStartProducer": { + "index": 8, + "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 otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing." + } + } +} \ No newline at end of file