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
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
38606c66e1
feat(endpoint): drop id specific check for secret keys in all endpoints
...
the original design made the secrets unable to be reused, a bit to opinionated
to be useful eleswhere. This relaxes that requirement so that secrets can be
referenced here.
2019-12-17 17:10:27 -08:00
Johnny Steenbergen
86a359f34b
chore(http): refactor http layer to be able to encode/decode influxdb.ID's safely
...
noticed that I had not used the http server as the entry point for server tests.
This was work to make that happen. Along the way, found a bunch of issues I hadn't
seen before 🤦 . There are a number of changes tucked away inside the
other types, that make it possible to encode/decode a type with zero value for
influxdb.ID.
2019-12-13 09:46:01 -08:00
Michael Desa
79a6b353e3
fix(notification/rule): conditionally include url and token for slack rule
...
Previously, we expected that both token and url would be provided, but
we've become aware that the user may provide either or both of them.
2019-09-05 18:00:45 -04:00
Kelvin Wang
b933e007cb
fix(notification/endpoint): remove slack token requirement
2019-09-05 16:48:34 -04:00
Michael Desa
8e56c36737
feat(notification_rule): create notification rule task
...
feat(notification_rule): generate base flux for notification rule
wip: saving state
fix(notification/endpoint): add comment about weird requirements
feat(notification_rule): create notification rule task
2019-08-16 15:43:15 -04:00
Kelvin Wang
f683f0dc46
feat(notification/endpoint): add endpoint struct
...
Co-authored-by: Jade McGough <jade@thezets.com>
2019-08-15 21:56:17 -04:00