API Reference¶
Details about the libraries made available to tests through use of the StreamSets Test Framework are documented below. These APIs can be divided into those related to StreamSets Data Collector, StreamSets Transformer, StreamSets Control Hub, Environments, and Utility functions.
Common for StreamSets Data Collector, Transformer and Control Hub¶
Environments - Core APIs¶
Environment abstractions to interact with InfluxDB.
-
class
streamsets.testframework.environments.influxdb.
InfluxDBInstance
(uri)[source]¶ Class that encapsulates InfluxDB client instance.
- Parameters
uri (
str
) – InfluxDB URI in scheme://[username:password]@host:port[/[database]] format wherescheme
is one ofinfluxdb
orhttps+influxdb
orudp+influxdb
(e.g.influxdb://sdcuser:sdcpass@myinfluxdb.cluster:8086/testdb
).
-
property
client
¶ Get a InfluxDB client.
- Returns
(
influxdb.InfluxDBClient
)