Carol (Nichols || Goulding)
53a94c4c7b
fix: Don't use clippy::use_self in influxdb2_client due to false positive
...
See https://github.com/rust-lang/rust-clippy/issues/6902
It's an interaction between clippy and serde; the lint produces
confusing and incorrect warnings.
2022-05-19 15:20:11 -04:00
dependabot[bot]
590a71010d
chore(deps): Bump serde_json from 1.0.80 to 1.0.81 ( #4514 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.80...v1.0.81 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-04 14:10:35 +00:00
dependabot[bot]
c05383bbf5
chore(deps): Bump serde_json from 1.0.79 to 1.0.80 ( #4501 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.79 to 1.0.80.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.79...v1.0.80 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-02 15:33:47 +00:00
dependabot[bot]
420c306caa
chore(deps): Bump tokio from 1.17.0 to 1.18.0 ( #4453 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 08:21:17 +00:00
Luke Bond
f17a93ac6e
fix: docker server fixture had mistake in run command
2022-03-17 12:21:42 +00:00
dependabot[bot]
48908054d1
chore(deps): Bump once_cell from 1.9.0 to 1.10.0 ( #3955 )
...
* chore(deps): Bump once_cell from 1.9.0 to 1.10.0
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: Run cargo hakari tasks
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CircleCI[bot] <circleci@influxdata.com>
2022-03-07 08:54:20 +00:00
Andrew Lamb
677a272095
refactor: Clean up some future clippy warnings from nightly ( #3892 )
...
* refactor: clean up new clippy lints
* refactor: complete other cleanups
* fix: ignore overzealous clippy
* fix: re-remove old code
2022-03-03 19:14:27 +00:00
Dom Dwyer
46bb107be4
refactor: use rustls
...
Removes openssl as a dependency, switching to rustls[1] as the TLS
implementation throughout.
It is important to note that this change brings with it a significant
behavioural difference - rustls does not currently support IP SANs in
certificates (instead only supporting fully-qualified names / DNS) and
this will manifest as a failure to connect to IP endpoints over TLS.
This might be a blocker that prevents us using rustls exclusively, but
there's noe asy way to know without trying it. Fortunately the rustls
project has received funding to work on IP SAN support[2].
[1]: https://github.com/rustls/rustls
[2]: https://www.abetterinternet.org/post/preparing-rustls-for-wider-adoption/
2022-03-03 11:05:20 +00:00
dependabot[bot]
a9d52aaef3
chore(deps): Bump mockito from 0.30.0 to 0.31.0 ( #3871 )
...
* chore(deps): Bump mockito from 0.30.0 to 0.31.0
Bumps [mockito](https://github.com/lipanski/mockito ) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/lipanski/mockito/releases )
- [Commits](https://github.com/lipanski/mockito/compare/0.30.0...0.31.0 )
---
updated-dependencies:
- dependency-name: mockito
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: disallow `RUSTSEC-2020-0095`
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Neumann <marco@crepererum.net>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-28 10:05:24 +00:00
dependabot[bot]
ad3868ed7c
chore(deps): Bump tokio from 1.16.1 to 1.17.0 ( #3814 )
...
* chore(deps): Bump tokio from 1.16.1 to 1.17.0
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.16.1 to 1.17.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.16.1...tokio-1.17.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build: update workspace-hack
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dom Dwyer <dom@itsallbroken.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-22 16:27:43 +00:00
dependabot[bot]
60a7f87645
chore(deps): Bump serde_json from 1.0.78 to 1.0.79 ( #3739 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.78 to 1.0.79.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.78...v1.0.79 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-14 20:42:54 +00:00
Marco Neumann
22778a3a80
chore: upgrade rskafka and parking_lot ( #3592 )
2022-02-01 11:50:42 +00:00
Marco Neumann
f3f6f335a9
chore: upgrade to snafu 0.7 ( #3440 )
2022-01-11 19:22:36 +00:00
Marcus Ilgner
7263c80833
feat(influxdb2_client): add FieldValue::U64 ( #3374 )
2021-12-15 13:50:30 +00:00
Carol (Nichols || Goulding)
16d8ae5e04
fix: Match tokio features to what's actually in use in each crate
...
Some crates listed features they don't use; other crates ware relying on
feature flags enabled by something else. I tested these changes by
disabling the workspace hack crate and testing each crate.
2021-12-06 09:37:16 -05:00
Carol (Nichols || Goulding)
02c297e850
fix: Always specify the parking_lot feature of tokio to get potential perf boost
2021-12-06 09:37:15 -05:00
Carol (Nichols || Goulding)
ddc1504135
fix: Exclude influxdb2_client from the workspace hack crate
...
This enables the removal of the futures and futures-io crates.
Connects to #3117 .
2021-12-06 09:37:14 -05:00
Marco Neumann
4bbe756b52
feat: make jaeger-debug-id configurable
2021-12-01 15:02:15 +01:00
Marco Neumann
c961454dcd
feat: `jaeger-debug-id` from data generator
2021-12-01 14:33:09 +01:00
dependabot[bot]
5d784ba866
chore(deps): bump serde_json from 1.0.71 to 1.0.72
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.71...v1.0.72 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 09:28:07 +00:00
kodiakhq[bot]
d16a7759ca
Merge branch 'main' into cn/workspace-hack
2021-11-22 17:05:31 +00:00
dependabot[bot]
5c6deb81db
chore(deps): bump serde_json from 1.0.70 to 1.0.71
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.70...v1.0.71 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 01:21:06 +00:00
Carol (Nichols || Goulding)
9fd4a560f5
feat: Results of running cargo hakari manage-deps
2021-11-19 09:21:57 -05:00
dependabot[bot]
3485d70409
chore(deps): bump serde_json from 1.0.69 to 1.0.70
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.69...v1.0.70 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 08:48:44 +00:00
dependabot[bot]
7214fa9d6a
chore(deps): bump serde_json from 1.0.68 to 1.0.69
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.69 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 10:31:33 +00:00
dependabot[bot]
c540b40f05
chore(deps): bump tokio from 1.12.0 to 1.13.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.12.0...tokio-1.13.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 11:21:59 +00:00
Marco Neumann
6e29cec502
refactor: rename `query` mode to `database`
2021-10-27 09:31:46 +02:00
Marco Neumann
41bc373fe8
refactor: offer different modes via "run" CLI
...
Running a server is now using `influxdb_iox run MODE [args]`, e.g.
`influxdb_iox run query --server-id 1`. Another mode that will follow
soon is `router`.
The old syntax `influxdb_iox run [args]` (w/o the mode part) is still
supported but a deprecation note will be printed.
2021-10-27 09:31:46 +02:00
Marco Neumann
bc7244c48e
chore: use Rust edition 2021
2021-10-25 10:58:20 +02:00
Raphael Taylor-Davies
f62d0eab3c
feat: disable bytes serde ( #2580 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-20 09:07:12 +00:00
dependabot[bot]
b67610d9b9
chore(deps): bump tokio from 1.10.1 to 1.11.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.10.1...tokio-1.11.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 09:11:38 +00:00
dependabot[bot]
b1bb390893
chore(deps): bump parking_lot from 0.11.1 to 0.11.2
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.1...0.11.2 )
---
updated-dependencies:
- dependency-name: parking_lot
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 01:18:24 +00:00
dependabot[bot]
3e154b3b02
chore(deps): bump serde_json from 1.0.66 to 1.0.67
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.66 to 1.0.67.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.66...v1.0.67 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 11:28:35 +00:00
Dom
3de6b44e23
build: use new rustdoc lint name ( #2261 )
...
* fix: nocache feature code rot
The MBChunk::snapshot code when using the "nocache" option no longer
compiles - this commit updates it to match the not(nocache) code.
* build: use updated broken_intra_doc_links name
The broken_intra_doc_links lint was renamed
rustdoc::broken_intra_doc_links
https://doc.rust-lang.org/rustdoc/lints.html
2021-08-11 19:48:51 +00:00
Carol (Nichols || Goulding)
9d15798288
fix: Address or allow Clippy warnings new with Rust 1.54
2021-07-30 09:59:59 -04:00
Marco Neumann
f11be17523
chore: update mockito to 0.30
2021-07-13 15:17:28 +02:00
Andrew Lamb
d35b74c226
fix: Fix doc build warnings ( #1945 )
...
* fix: Fix doc build warnings
* refactor: add deny bare_urls to crates
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-13 08:03:42 +00:00
Marco Neumann
3832987ecb
chore: enforce `clippy::future_not_send` for `influxdb2_client`
2021-06-10 09:46:35 +02:00
Marco Neumann
eddc9319ff
docs: deny broken intradoc links
2021-04-27 13:22:28 +02:00
Carol (Nichols || Goulding)
d8a92a8570
test: Don't run any integration tests unless TEST_INTEGRATION is set
2021-04-22 14:21:50 -04:00
Carol (Nichols || Goulding)
788214dc31
fix: Remove unused Result
2021-04-21 14:59:08 +00:00
Carol (Nichols || Goulding)
ce645262c6
fix: Rename LOCAL env var to INFLUXDB_IOX_INTEGRATION_LOCAL
2021-04-21 14:59:08 +00:00
Carol (Nichols || Goulding)
2416e21adc
fix: Use the rust ci docker image rather than a fixed image version
2021-04-21 14:59:08 +00:00
Carol (Nichols || Goulding)
3ee5d6f038
fix: Remove the test docker container by name rather than ID
2021-04-21 14:59:08 +00:00
Carol (Nichols || Goulding)
96afb25d1a
test: Run influxd in docker by default for integration tests
2021-04-21 14:59:08 +00:00
Edd Robinson
2784f89e6e
refactor: sigh
2021-04-20 17:30:50 +00:00
Carol (Nichols || Goulding)
e74f73f198
refactor: Use assert_eq rather than assert matches
2021-04-19 13:32:11 -04:00
Carol (Nichols || Goulding)
49b8d7690c
Merge remote-tracking branch 'origin/main' into feature-health
2021-04-19 13:28:37 -04:00
jeivardan
4cdc29fc2f
test: add assertion to test in health
...
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-04-16 11:47:59 +05:30
jeivardan
203a4c2611
fix: remove Default trait for HealthCheck
...
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-04-16 11:45:31 +05:30
Aakash Hemadri
4372da2d58
Merge branch 'main' into refactor-influxdb-client
2021-04-16 10:01:42 +05:30
Aakash Hemadri
966b97903c
fix: ci tests & write module
...
Add write to api/mod.rs
Rename influx2.rs -> write.rs
Fix end_to_end_cases for DataPoint
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-16 09:58:23 +05:30
Aakash Hemadri
eef9841161
revert: "refactor: Move client to client.rs"
...
This reverts commit 608001f2e6
.
2021-04-16 09:58:12 +05:30
kodiakhq[bot]
7247467225
Merge branch 'main' into feature-label
2021-04-14 17:23:17 +00:00
Aakash Hemadri
608001f2e6
refactor: Move client to client.rs
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-14 21:19:52 +05:30
Aakash Hemadri
3647c94ace
refactor: Move write to api/write.rs
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-14 18:40:42 +05:30
Aakash Hemadri
1177b38aaa
refactor: Move create_bucket to api/bucket
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-14 18:10:57 +05:30
Aakash Hemadri
95c8538a3a
refactor: Move data_point.rs to models/data_point.rs
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-14 17:04:14 +05:30
jeivardan
83db9235ca
fix: making status mandatory by removing Option
...
Implemented Default trait for enum Status
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-04-14 14:36:08 +05:30
jeivardan
64dead0857
test: Add integration test for health
...
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-04-14 14:31:17 +05:30
Raphael Taylor-Davies
1997324344
feat: mutable buffer snapshotting ( #1179 )
...
* feat: mutable buffer snapshotting
* chore: review feedback
2021-04-13 12:14:54 +00:00
jeivardan
1d449af5b6
fix: correct the typo in comments
...
fix typos in the health.rs comments
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-04-13 11:33:53 +05:30
jeivardan
b66df3e57f
fix: Make org_id as Option
...
use Option in the private labels function rather than the special value of "" .
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-04-13 11:25:46 +05:30
jeivardan
d9363234d6
feat: Add support for health API to influxdb_client
...
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-04-12 14:35:45 +05:30
jeivardan
655fc7b8a5
fix: Don't return Result from test functions
...
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-04-09 09:55:01 +05:30
jeivardan
3c24caf29a
fix: cargo fmt
...
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-04-09 09:38:11 +05:30
Jeivardan
af72581658
Merge branch 'main' into feature-label
2021-04-09 03:50:08 +00:00
Carol (Nichols || Goulding)
1552c0113a
Merge remote-tracking branch 'origin/main' into feature-query
2021-04-08 14:40:12 -04:00
Carol (Nichols || Goulding)
efd339e0a5
Merge remote-tracking branch 'origin/main' into feature-label
2021-04-08 14:39:29 -04:00
Carol (Nichols || Goulding)
7789d776cb
docs: Fix copypasta comment
2021-04-07 14:11:02 -04:00
Carol (Nichols || Goulding)
4f627e0560
fix: Onboarding returns 201, not 200
2021-04-07 14:11:02 -04:00
Carol (Nichols || Goulding)
27a45aa036
fix: Don't send auth header if token specified is empty string
...
Not all endpoints need authorization, sometimes we don't have it!
2021-04-07 14:11:00 -04:00
Carol (Nichols || Goulding)
ebb6bbd13c
test: start of integration tests of influxdb2 client against influxdb 2.0 OSS
2021-04-07 14:09:39 -04:00
Carol (Nichols || Goulding)
82588d5c72
fix: Don't return Result from test functions
2021-04-07 12:40:00 -04:00
Aakash Hemadri
fe19e3b3ae
fix: Misplaced annotations
...
fix: Unnecessary escaped characters in comments
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-06 15:47:34 +05:30
Aakash Hemadri
fcdc5290be
fix: Remove org_id to query API
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-05 20:15:51 +05:30
jeivardan
35223e43e7
fix: Add labels_by_org method
...
Add get_labels, private method that both labels and labels_by_org share.
Add appropiate tests and example
comment corrections
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-04-03 16:08:31 +05:30
Aakash Hemadri
3c99ea2187
fix: Use unwrap_or_default over unwrap_or_else
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-02 11:29:23 +05:30
Aakash Hemadri
96a63768f5
fix: serde(rename) in influxdb_client
...
Replace extern_ to r#extern
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-02 11:27:20 +05:30
Aakash Hemadri
bae9d36fb4
fix: serde(rename) & update Option<Vec<T> to Vec<T>
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-02 10:55:54 +05:30
Aakash Hemadri
792a066ec8
chore: Remove unnecessary comments
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-02 10:41:45 +05:30
Aakash Hemadri
923b6a65b1
docs: Replace query module with appropriate documentation
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-02 10:40:19 +05:30
Aakash Hemadri
f83647c24c
feat: Add support for Query API to influxdb_client
...
POST /query/ast
GET /query/suggestions
GET /query/suggestions/{name}
POST /query/analyze
POST /query
Added required models, tests & examples
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-30 20:54:31 +05:30
jeivardan
6646231a88
fix: cargo fmt
...
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-03-30 14:01:01 +05:30
jeivardan
87502574af
fix: Make function names concise and add base path
...
Replace find_labes with labels
Replace find_labels_by_id with find_labels
Add base_path to test
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-03-30 17:28:41 +05:30
jeivardan
50c92bb5fa
fix: Add label imports
...
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-03-30 08:56:54 +05:30
jeivardan
3cadd0c8d0
Merge branch 'main' into feature-label
...
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-03-30 08:07:42 +05:30
jeivardan
ba5935f0bd
feat: Add support for labels API to influxdb_client
...
List all Labels
Retrieve a label by ID
Create a Label
Update a Label
Delete a Label
Add examples and test
Add necessary models
Signed-off-by: jeivardan <jeivardanvenkatesh@gmail.com>
2021-03-30 07:39:08 +05:30
Aakash Hemadri
82cabae571
fix: Remove unnecessary unwrap
...
Replace Option<bool> with bool
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-26 09:41:17 +05:30
Aakash Hemadri
be6e72bad3
fix: Replace Option<Vec<T>> with Vec<T>
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-25 12:29:39 +05:30
Aakash Hemadri
f80a3ee0a6
fix: Derive default for resource, bucket and retention_rules
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-25 12:19:11 +05:30
Aakash Hemadri
a9fca31498
fix: Make Default impl concise
...
Return Self::default() where applicable for Self::new()
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-25 12:03:38 +05:30
Aakash Hemadri
7d4e51df2b
fix: Make serde renames concise
...
Replace serde(rename = "") with serde(rename_all = "camelCase") where
applicable
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-25 12:01:56 +05:30
Aakash Hemadri
861560a9f8
docs: Add missing docs for models/* api/*
...
fix: cargo fmt
fix: serde renames
fix: dervive Default where possible
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-23 23:05:21 +05:30
Aakash Hemadri
f3ce84d67c
fix: setup.rs example
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-23 23:02:53 +05:30
Aakash Hemadri
45b387f2a2
fix: Return bool as Result for is_onboarding_allowed
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-23 19:31:34 +05:30
Aakash Hemadri
5ecb824fcd
fix: Add tests accommodating no optional arguments
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-23 17:48:22 +05:30
Aakash Hemadri
e01b0a6a13
refactor: Rename setup api to be semantic
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-23 17:41:05 +05:30
Aakash Hemadri
02f10138c9
refactor: Make match response.status() concise
...
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-03-23 17:24:43 +05:30
Aakash Hemadri
768c2d6eb7
refactor: influxdb2_client/src/api/setup.rs
...
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-23 09:33:23 +05:30