Carol (Nichols || Goulding)
6223cbdc99
feat: Add an authorization token to all client requests
...
Connects to influxdata/fusion#59 . Delorean currently ignores this
header.
Also add an example of using this to connect to an InfluxDB 2 instance;
I tested this out with a locally running Influx DB 2 and I was able to
write points!
2020-09-02 10:33:45 -04:00
Carol (Nichols || Goulding)
5f49543fdf
feat: Support storage of points with String and Boolean fields
2020-08-14 10:57:20 -04:00
Carol (Nichols || Goulding)
d59702ec79
feat: Make the create bucket HTTP API match the Influx 2.0 API
...
The `/api/v2/create_bucket` API was delorean-specific for testing
purposes. This change makes it match the [Influx 2.0 API][influx] and
adds a method to the client for creating buckets.
The client will always send an empty array of `retentionRules` because
that is a required parameter for the Influx API. Delorean always ignores
`retentionRules`. The `description` and `rp` parameters are optional and
are never sent.
[influx]: https://v2.docs.influxdata.com/v2.0/api/#operation/PostBuckets
I believe the gRPC create bucket is also delorean-specific and perhaps
not needed, but I'm leaving it in for now with a note.
2020-08-12 10:08:32 -04:00
Carol (Nichols || Goulding)
e15efb71cf
test: Have the end-to-end test use DataPoint from the influx client
...
This is revealing a bug in the client
2020-07-27 14:03:06 -04:00
Carol (Nichols || Goulding)
876796a59d
refactor: Remove duplication by having write call write_line_protocol
2020-07-22 17:03:29 -04:00
Carol (Nichols || Goulding)
879b981897
refactor: Rename write methods to clarify their uses
2020-07-22 17:03:29 -04:00
Carol (Nichols || Goulding)
bfd0f30152
test: Avoid an allocation and have a consistent API
...
This is temporary until we have a better point-building method anyway.
2020-07-17 17:14:20 -04:00
Carol (Nichols || Goulding)
668aefae9b
feat: Implement a rudimentary write API in the influx client
2020-07-17 10:28:19 -04:00
Carol (Nichols || Goulding)
b1ce3958e5
fix: Define a fully-featured error for the Id type
2020-07-16 20:30:54 -04:00
Carol (Nichols || Goulding)
5afc3a1e3b
fix: Ignore anything in the WAL dir that doesn't parse as an Org ID instead of crashing
2020-07-16 11:28:57 -04:00
Jake Goulding
0deb608207
fix: Use correct route to ping
2020-07-03 15:35:04 -04:00
alamb
5f045fd9da
fix: more cleanup
2020-07-03 07:01:22 -04:00
alamb
5fad7db0ac
feat: Add better error handling and logging for http_routes
2020-07-01 16:08:49 -04:00
Andrew Lamb
b5a91fae36
Merge pull request #207 from influxdata/alamb/faster-test-harness
...
fix: speed up end-to-end test harness so it polls rather than waits; Add PING route
2020-07-01 12:46:05 -04:00
alamb
6021ddd222
fix: more PR feedback
2020-07-01 12:41:59 -04:00
alamb
1f61fd820b
fix: style cleanup
2020-07-01 12:31:42 -04:00
Andrew Lamb
d16aec7e80
fix: Update tests/end-to-end.rs
...
Co-authored-by: Jake Goulding <jake.goulding@integer32.com>
2020-07-01 12:29:17 -04:00
alamb
d7ddcfa92f
fix: fixup errors introduced during PR comments
2020-07-01 08:44:24 -04:00
Andrew Lamb
f608bf4f0f
fix: Update tests/end-to-end.rs
...
Co-authored-by: Jake Goulding <jake.goulding@integer32.com>
2020-07-01 08:41:21 -04:00
Andrew Lamb
6b71fcacde
fix: Apply suggestions from code review
...
Co-authored-by: Jake Goulding <jake.goulding@integer32.com>
2020-07-01 08:39:56 -04:00
alamb
8be278aadd
fix: speed up end-to-end test harness so it polls rather than waits
2020-06-30 12:21:25 -04:00
alamb
dc8d655486
feat: Implement CapabilitiesResponse
2020-06-30 11:17:45 -04:00
Jake Goulding
68fb580b43
style: Re-enable the elided lifetimes lint and move generated types to their own crate ( #119 )
...
* refactor: rename the module containing generated types
The nested `delorean` was confusing anyway, and this will make more
sense when we extract a new crate.
* refactor: Move the generated types to their own crate
This allows us to have more lax warnings in that crate alone, keeping
the main crate more strict.
* style: Re-enable elided lifetimes lint in the main crate
2020-06-05 16:22:27 -04:00
Carol (Nichols || Goulding)
0a02afe016
test: Wait for test server to stop before restarting ( #92 )
2020-05-26 17:34:54 -04:00
Carol (Nichols || Goulding)
e25a4e1e83
feat: Integrate the WAL with delorean
2020-05-11 15:38:47 -04:00
Jake Goulding
bff4d2d6d9
refactor: Move temporary directory creation to test helpers
2020-05-11 15:26:00 -04:00
Carol (Nichols || Goulding)
7d568704cd
feat: Implement MeasurementFields gRPC request
2020-05-04 15:52:01 -04:00
Carol (Nichols || Goulding)
e615607f4a
feat: Implement MeasurementTagValues gRPC request
2020-05-04 15:52:01 -04:00
Carol (Nichols || Goulding)
1ab9230654
feat: Implement measurement tag keys request
2020-05-04 15:52:00 -04:00
Carol (Nichols || Goulding)
e6e911ce3c
feat: Implement the Measurement Names gRPC request
2020-05-04 15:52:00 -04:00
Carol (Nichols || Goulding)
e0eb895a14
test: Add more measurements to the e2e test data
2020-05-04 15:52:00 -04:00
Jake Goulding
a6682467a7
fix: Use approximate floating point comparisons for slices as well
2020-05-01 13:05:00 -04:00
Carol (Nichols || Goulding)
6dd7c0a3e8
fix: Treat gRPC bucket_id as bucket name because MemDB assigns bucket ID
2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding)
429d0e1851
fix: Change name of the proto package to match proto used by Go
...
So that `storectl query` requests will work with delorean
2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding)
a85f0edfc6
feature: Use the new ID type everywhere
2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding)
0314bc6ba2
fix: Change the default gRPC port to match storectl
...
8082 appears to be the default here:
b304e751e1/cmd/storectl/query/query.go (L56)
2020-04-13 16:03:23 -04:00
Carol (Nichols || Goulding)
56a2b323be
feature: Implement ReadGroup
2020-04-06 10:23:43 -04:00
Carol (Nichols || Goulding)
747585e0b5
test: Make more interesting test data
2020-04-06 09:08:34 -04:00
Carol (Nichols || Goulding)
39dad5de31
fix: Always return long form of _f and _m from gRPC calls
2020-04-03 17:20:00 -04:00
Carol (Nichols || Goulding)
a801f19b70
refactor: Extract a method to get sorted tags from ReadBatches
2020-04-03 17:18:05 -04:00
Carol (Nichols || Goulding)
7356bc33ed
refactor: Rearrange construction of data
...
This was a temporary way of writing it to figure out the types, but I
find it easier to see the hierarchy.
2020-04-03 14:38:23 -04:00
Carol (Nichols || Goulding)
7bdea751d2
test: Explicitly create the bucket in the end-to-end test
2020-04-03 09:18:15 -04:00
Carol (Nichols || Goulding)
38e660818e
style: Cargo fmt
2020-04-02 16:39:57 -04:00
Paul Dix
c83805854d
Fix end-to-end test for new rpc.rs behavior
2020-04-02 15:47:43 -04:00
Carol (Nichols || Goulding)
d097af781d
feature: Implement the get_buckets rpc to get bucket ids in the test
2020-04-02 11:52:39 -04:00
Jake Goulding
f77d28367d
feature: Respect TEST_DELOREAN_DB_DIR in the end-to-end test
2020-04-02 11:06:38 -04:00
Jake Goulding
97d11633b8
feature: Use a unique directory per end-to-end test run
2020-04-02 11:06:36 -04:00
Jake Goulding
d66cc552a6
refactor: Use an Error/Result type alias
2020-04-02 11:04:20 -04:00
Carol (Nichols || Goulding)
54a66c14c8
feature: Implement read filter request
2020-02-26 09:51:02 -05:00
Carol (Nichols || Goulding)
7cac8cc10c
feature: Implement tag values request
2020-02-26 09:51:02 -05:00