ozgurkisir-qlik commented on PR #283: URL: https://github.com/apache/camel-karaf/pull/283#issuecomment-2114893968
### How to test camel-influxdb feature? For testing 3 different operations of InfluxDB v1 (ping, write, query), prepare your database running as a docker container. Afterwards , you can use the attached blueprint file to use for testing. #Use the updated camel-features.xml to update the repo of your Apache Karaf. `repo-add file:/Users/ozgurkisir/talend_workspace/camel-karaf/features/target/feature/camel-features.xml ` #Install camel-influxdb and camel-blueprint features `feature:install camel-influxdb` `feature:install camel-blueprint` #Check whether they're up&running `feature:list | grep camel-influxdb` `feature:list | grep camel-blueprint` #Create InfluxDB v 1.8 as a docker container ``` docker run -p 8086:8086 \ -v influxdb:/var/lib/influxdb \ influxdb:1.8 ``` #Install Influx DB CLI [Influx DB CLI](https://docs.influxdata.com/influxdb/cloud/reference/cli/influx/) #Run below command to enter Influx DB version1 shell prompt `influx v1 shell ` #Create database with name 'mydb' `CREATE DATABASE mydb` #You can view all databases `SHOW DATABASES` #Create a retention policy with name ‘default’ on mydb `CREATE RETENTION POLICY "default" ON "mydb" DURATION 10d REPLICATION 1 DEFAULT` #You can view retention policies with below command `show retention policies` [camel-influxdb-blueprint.xml.zip](https://github.com/apache/camel-karaf/files/15333985/camel-influxdb-blueprint.xml.zip) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org