-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Multiquery, Timestamp Support, Test Refactor (#6)
* Multiquery, Timestamp Support, Much improved Integration Tests
- Loading branch information
Showing
13 changed files
with
824 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [0.0.3] - 2019-07-14 | ||
|
||
### Added | ||
|
||
- Possibility to run multiple queries in one. See the Integration Tests in `tests/integration_tests.rs` for examples. | ||
- Ability to specify Timestamp for write queries | ||
|
||
### Changed | ||
|
||
- You now have to borrow a query when passing it to the `query` method | ||
|
||
## [0.0.2] - 2019-07-23 | ||
|
||
### Changed | ||
|
||
- URLEncode Query before sending it to InfluxDB, which caused some empty returns (#5) | ||
- Improved Test Coverage: There's now even more tests verifying correctness of the crate (#5) | ||
- It's no longer necessary to supply a wildcard generic when working with serde*integration: `client.json_query::<Weather>(query)` instead of `client.json_query::<Weather, *>(query)` | ||
|
||
[unreleased]: https://github.com/Empty2k12/influxdb-rust/compare/v0.0.3...HEAD | ||
[0.0.3]: https://github.com/Empty2k12/influxdb-rust/compare/v0.0.2...v0.0.3 | ||
[0.0.2]: https://github.com/Empty2k12/influxdb-rust/releases/tag/v0.0.2 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "influxdb" | ||
version = "0.0.2" | ||
version = "0.0.3" | ||
authors = ["Gero Gerke <[email protected]>"] | ||
edition = "2018" | ||
description = "InfluxDB Driver for Rust" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM xd009642/tarpaulin | ||
|
||
RUN wget https://dl.influxdata.com/influxdb/releases/influxdb_1.7.6_amd64.deb | ||
RUN dpkg -i influxdb_1.7.6_amd64.deb | ||
RUN INFLUXDB_HTTP_BIND_ADDRESS=9999 influxd > $HOME/influx.log 2>&1 & | ||
|
||
WORKDIR /volume | ||
|
||
CMD cargo build && cargo tarpaulin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.