InfluxDB

Read(541) Label: influxdbcli,

Users can access the InfluxDB external library through the interface embedded in esProc designer. To deploy the external library, you:

1. The directory containing files of this external library is: installation directory\ esProc\extlib\InfluxdbCli. The Raqsoft core jar for this external library is scu-influxdb-cli-2.10.jar.

The external library zip file contains necessary third-party jars used by InfluxDB 1.x. They are as follows:

animal-sniffer-annotations-1.17.jar

commons-lang-2.1.jar

commons-math3-3.6.1.jar

converter-moshi-2.8.1.jar

influxdb-java-2.21.jar

kotlin-stdlib-1.3.70.jar

kotlin-stdlib-common-1.3.70.jar

logging-interceptor-4.9.1.jar

moshi-1.9.2.jar

okhttp-3.14.2.jar

okio-2.6.0.jar

retrofit-2.8.1.jar

For InfluxDB 2.x, just replace the third-party jars with those in \esProc\extlib\InfluxdbCli\v2.x under installation directory:

adapter-rxjava2-2.9.0.jar

animal-sniffer-annotations-1.17.jar

annotations-13.0.jar

apiguardian-api-1.1.0.jar

assertj-core-3.16.1.jar

byte-buddy-1.10.20.jar

byte-buddy-agent-1.10.20.jar

commons-csv-1.8.jar

commons-lang-2.1.jar

converter-gson-2.9.0.jar

converter-moshi-2.8.1.jar

converter-scalars-2.9.0.jar

gson-2.8.8.jar

gson-fire-1.8.4.jar

hamcrest-2.2.jar

hamcrest-core-1.3.jar

influxdb-client-core-5.0.0-SNAPSHOT.jar

influxdb-client-java-5.0.0-SNAPSHOT.jar

influxdb-client-test-5.0.0-SNAPSHOT.jar

influxdb-client-utils-5.0.0-SNAPSHOT.jar

influxdb-java-2.21.jar

jsr305-3.0.2.jar

junit-4.13.jar

junit-jupiter-api-5.6.2.jar

junit-jupiter-engine-5.6.2.jar

junit-platform-commons-1.6.2.jar

junit-platform-engine-1.6.2.jar

junit-platform-launcher-1.6.2.jar

junit-platform-runner-1.6.2.jar

junit-platform-suite-api-1.6.2.jar

kotlin-stdlib-1.5.10.jar

kotlin-stdlib-common-1.3.70.jar

logging-interceptor-4.9.1.jar

mockito-core-3.9.0.jar

mockito-junit-jupiter-3.9.0.jar

mockwebserver-4.7.2.jar

moshi-1.9.2.jar

objenesis-3.2.jar

okhttp-4.7.2.jar

okio-2.6.0.jar

opentest4j-1.2.0.jar

reactive-streams-1.0.3.jar

retrofit-2.9.0.jar

rxjava-2.2.19.jar

swagger-annotations-1.6.1.jar

toml4j-0.7.2.jar

Note: Users can choose appropriate ones for specific scenarios.

 

2. A JRE version 1.7 or above is required. Users need to install a higher version if the esProc built-in JRE version does not meet the requirements, and then configure java_home in config.txt under installation directory \esProc\bin. Just skip this step if the JRE version is adequate.

 

3. esProc provides functions influx_open(), influx_close(), influx_query()influx_insert(), influx2_open(), influx2_close(), influx2_delete(), influx2_query() and influx2_rest to open, close, query and insert data to InfluxDB database. Look them up in Help-Function referenceto find their uses.