Alirie Gray
2c0916addf
refactor: create new token package ( #17874 )
2020-04-30 07:52:21 -07:00
Jonathan A. Sternberg
0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2
2020-04-03 12:39:20 -05:00
Alirie Gray
991002d83b
fix(labels): add check for write permissions to create label ( #17174 )
2020-03-12 10:51:50 -07:00
Johnny Steenbergen
236f52ba62
fix(http): improve error handling and response to api consumer for org service
2020-02-04 09:43:51 -08:00
Johnny Steenbergen
bf86cce1f1
feat(httpc): extend httpc Client with JSON shorthand methods
...
making most common API calls super easy to get up and running
2019-12-12 07:44:31 -08:00
Johnny Steenbergen
8729cd0959
chore(http): refactor api handler take advantage of route tree instead of switch statement
...
is very much WIP at this point
2019-12-11 09:53:29 -08:00
Johnny Steenbergen
417d25537f
chore(http): refactor org service to use httpc client
2019-12-10 10:49:22 -08:00
Johnny Steenbergen
c24137d9ef
fix(http): fixes resource type on variables handler, was incorrect beforehand
2019-12-09 17:47:31 -08:00
Johnny Steenbergen
5cc02de988
feat(httpc): add httpc pkg to resuse code for http client type
2019-12-09 12:17:22 -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
Jacob Marble
5f19c6cace
chore: Remove several instances of WithLogger ( #15996 )
...
* chore: Remove several instances of WithLogger
* chore: unexport Logger fields
* chore: unexport some more Logger fields
* chore: go fmt
chore: fix test
chore: s/logger/log
chore: fix test
chore: revert http.Handler.Handler constructor initialization
* refactor: integrate review feedback, fix all test nop loggers
* refactor: capitalize all log messages
* refactor: rename two logger to log
2019-12-04 15:10:23 -08:00
George
3dbb9c0fd2
feat(tracing): dont trace spans with full request paths as operation name in ExtractFromHTTPRequest ( #15971 )
...
* feat(tracing): dont trace spans with full URL path names in ExtractFromHTTPRequest
* chore(multiple): replace all occurrences of julienschmidt/httprouter with influxdata/httprouter
2019-11-25 15:22:19 +01:00
Johnny Steenbergen
fc955c5abe
chore(http): remove logging of senstive data
...
after discussion with team, dropping the request logging was decided on.
2019-09-25 09:49:09 -07:00
Kelvin Wang
f55cf4c8b3
feat(http): add auth debug log
2019-07-15 12:09:59 -04:00
Kelvin Wang
9ecada4dce
feat(http): convert errorEncode to use interface
2019-06-26 21:41:01 -04:00
lisale0
1d6a0c5a3c
fix pr
2019-06-21 11:55:28 -07:00
lisale0
6206b905a4
set va directly and remove comment
2019-06-20 16:30:25 -07: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
zhulongcheng
3c1e9ee5f3
fix(influxdb): use influxdb.Error in ID.Decode
2019-05-15 22:53:31 +08:00
Christopher M. Wolff
c35c15f54d
refactor(http): move queryd http interface to idpe ( #13862 )
2019-05-09 10:41:14 -07:00
Jade McGough
d21d96e35b
feat(http): add labels to variables
2019-03-28 15:05:13 -07:00
Alirie Gray
5f524eb92d
Rename all occurences of Macro to Variable
2019-02-14 13:21:57 -08:00