davidby-influx
a3fd489864
fix: corrrectly return 4XX errors instead of 5XX errors ( #24519 )
...
HTTP 5XX errors were being returned incorrectly from
BoltDB errors that were actually bad requests, e.g.,
names that were too long for buckets, users, and
organizations. Map BoltDB errors to correct Influx
errors and return 4XX errors where appropriate. Also
add op codes to more errors
2023-12-27 08:21:09 -08:00
Sam Arnold
5015297d40
fix: more expressive errors ( #22448 )
...
* fix: more expressive errors
Closes #22446
* fix: server only logging for untyped errors
* chore: fix formatting
2021-09-13 15:12:35 -04:00
Daniel Moran
00afd95cb7
refactor: automated move of errors and id from root to kit ( #21101 )
...
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-30 14:10:02 -04:00
Alirie Gray
12039918e4
fix(variables): use Update function for Put Variable
2020-09-11 11:48:11 -07:00
Alirie Gray
adbc036ebd
fix(variables): add id to put variable request
2020-09-08 11:26:03 -07:00
Alirie Gray
9b4fef0f9a
fix: add variable name validation for flux identifier
2020-08-21 10:28:18 -07:00
George
a2c042c872
fix(testing): accidental shadowing in parallel tests ( #18945 )
2020-07-14 16:18:21 +01:00
George
96d84b9126
refactor: migrator and introduce Store.(Create|Delete)Bucket ( #18570 )
...
* refactor: migrator and introduce Store.(Create|Delete)Bucket
feat: kvmigration internal utility to create / managing kv store migrations
fix: ensure migrations applied in all test cases
* chore: update kv and migration documentation
2020-07-01 12:08:20 +01:00
Jonathan A. Sternberg
0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2
2020-04-03 12:39:20 -05:00
Johnny Steenbergen
56754f92f2
fix(kv): remove normalizing of variables names to downcase
...
note: this will remain unique by name case insensitive
closes #16429
2020-01-07 09:36:40 -08:00
Johnny Steenbergen
ec35815553
chore(kv): add new/update checks to kv store base and index store
2020-01-06 16:18:01 -08:00
Johnny Steenbergen
0dfc163dae
chore(kv): refactor kv checks service to take advantage of new index store
2019-12-31 13:13:38 -08:00
Johnny Steenbergen
e79771fdcc
chore(kv): refactor new unique by store up into reusable store that composes into uniq by store
2019-12-30 16:44:57 -08:00
Johnny Steenbergen
5a6bda238c
chore(kv): refactor variable service to use the new uniqByNameStore type
2019-12-30 16:44:57 -08:00
Johnny Steenbergen
ad841608ca
chore(http): refactor bucket|dashboard|label|umr|var http clients to use reusable HTTP client
...
this is a step towards providing a shared http client that manages pooling connections,
timeouts, and reducing GC for by not creating/GCing a client each req. Bring on the red!
2019-12-09 09:44:41 -08:00
Deary Hudson III
81965f0b33
feat(kv): unique variable names ( #15695 )
...
* feat(kv): unique variable names
- adds system bucket for creating an index of unique variable names
- adds tests
- deleted unit tests for dead code
- removed a test runner for the variable service from http
2019-11-04 14:28:21 -06:00
lisale0
8c045ad08a
gofmt
2019-06-20 16:25:38 -07:00
lisale0
2187bf345b
fixed bolt and inmem tests
2019-06-20 16:25:38 -07:00
lisale0
4057183dac
setting createdAt and updatedAt in bolt and inmem
2019-06-20 16:25:38 -07:00
Jade McGough
fa132d19a7
WIP
2019-06-20 16:25:38 -07:00
Jade McGough
b79e096bef
fix segfault
2019-06-20 16:25:38 -07:00
lisale0
3330d38984
feat(http): adding createdAt variable
2019-06-20 16:25:38 -07:00
Todd Persen
cd64ec8718
Fix typos in miscellaneous packages
2019-04-17 13:30:22 -07:00
Alirie Gray
5f524eb92d
Rename all occurences of Macro to Variable
2019-02-14 13:21:57 -08:00