Lyon Hill
af1119304d
fix: remove operation log system ( #18459 )
...
Work had started on a opperation log but was never fully implemented and was later partially removed.
The plan here is to remove the partially defunct logs and then build a new robust op log system that will
replace it in the future.
2020-06-11 16:04:23 -06:00
Ben Johnson
97960a5930
feat(http): Client disconnections should return a HTTP 499 error code.
...
This commit checks http.Request.Context().Err() to see if the context
has been canceled before writing an error code. It uses the non-standard
Nginx 499 error code for client disconnection.
2020-05-14 14:51:57 -06:00
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
Michael Desa
c8edf66ee4
chore(http): export NewBucketResponse function
...
This function is required for maintaining a similar buckets reponse.
2020-02-06 16:01:30 -08:00
Johnny Steenbergen
8150e1b51a
chore(http): refactor bkt service to use API type
2020-02-04 14:41:56 -08: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
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
Nathaniel Cook
423dc9703c
fix(http/bucket): lift bucket name validation to http layer ( #16125 )
...
This removes the bucket name validation from the KV BucketService,
and moves it to the http implementation of the service.
The effect is that API user requests still get validated but direct KV access does not
2019-12-05 10:30:08 -07: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
fb5f00e05b
chore(http): add missing client methods for label/buckets GET reqs
2019-11-01 11:59:09 -07:00
Brandon Farmer
e473394e7d
feat(influxdb): prevent users from rename system buckets
2019-10-30 12:53:43 -07:00
Brandon Farmer
ea82dc3470
fix(tasks): tasks look up system bucket id
2019-10-21 14:48:47 -07:00
Brandon Farmer
b343250390
fix(influxdb): fixes broken tests from system bucket changes
2019-10-21 14:48:47 -07:00
Brandon Farmer
2e0749b3ba
feat(influxdb): Add system buckets on org creation
...
* Only allow users to create user buckets
* Only accept bucket creation parameters on post
2019-10-21 14:48:47 -07: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
kelwang
f9b8ae32a5
Merge pull request #15010 from influxdata/invalid_post_bucket_request
...
fix(http): post bucket validation.
2019-09-11 09:54:01 -04:00
Jade McGough
c1cd152363
feat(http): Add bucket types ( #15045 )
2019-09-06 17:52:54 -07:00
Kelvin Wang
db33f4bd24
fix(http): post bucket validation.
2019-09-06 11:24:52 -04:00
Jade McGough
d147874c1e
fix(kv): mock system buckets ( #14884 )
2019-08-30 12:47:06 -07:00
Jade McGough
2fa1ca3f49
feat: add metadata for system buckets when org is created ( #14741 )
...
feat: add metadata for system buckets when org is created
2019-08-28 12:50:23 -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
Chris Goller
14e7daa6e4
fix client tracing propagation from doubly recording ( #14204 )
...
Closes #14203
* chore(vendor): update to opentracing 1.1.0
* fix(http): finish client span
* fix(http): remove extra span injection
2019-06-26 00:48:15 -05:00
Kelvin Wang
57ceb9e275
feat(influxdb): bucket created and updated time
2019-05-17 11:49:10 -04:00
Christopher M. Wolff
c35c15f54d
refactor(http): move queryd http interface to idpe ( #13862 )
2019-05-09 10:41:14 -07:00
Kelvin Wang
76cc27751b
feat(influxdb): add bucket desc
2019-04-24 11:20:05 -04:00
Kelvin Wang
7a72c363f2
remove org from bucket
2019-04-22 18:39:05 -04:00
Kelvin Wang
9d44ac3635
rename bucket organization to org
2019-04-22 18:39:01 -04:00
Kelvin Wang
054ce89dc5
fix(kv): fix bucket not found by name
2019-04-02 15:10:56 -04:00
Jade McGough
7bcff2e973
fix(http): remove newPatchLabelHandler, it should not exist
...
This was removed in the labels 2.0 rewrite, and looks like it was added back as a regression
2019-03-27 14:31:04 -07:00
Chris Goller
831d5110f4
fix(http): update bucket write links to include org/bucket
2019-03-11 13:46:16 -05:00
Chris Goller
83c43e7173
fix(http): log endpoint should be logs
2019-03-11 12:45:25 -05:00
Chris Goller
2011ef7252
Merge pull request #12177 from zhulongcheng/rm-owner-schema
...
docs(http): add members/owners links
2019-03-10 22:39:53 -05:00
Jacob Marble
603a1f26e0
use tracing.StartSpanFromContext
2019-03-07 12:12:31 -07:00
Jacob Marble
9541e861a3
goimports -w -local github.com/influxdata/influxdb
2019-03-07 12:12:31 -07:00
Jacob Marble
92fa813c45
add spans to multiple services
2019-03-07 12:12:31 -07:00
zhulongcheng
111ed7767d
docs(http): add members/owners links
2019-03-07 10:56:36 +08:00
Michael Desa
23f6c4b3fe
fix(http): pass resource type through to label handlers
...
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-02-07 19:08:56 -05:00
Michael Desa
5a6a6a94ef
fix(http): rename platform to influxdb in package
...
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-02-07 19:08:41 -05:00
zhulongcheng
2d48b85f0a
feat(http): construct label handler by LabelBackend
2019-02-06 19:18:23 +01:00
zhulongcheng
be37e07bea
feat(http): construct member handler by MemberBackend
2019-02-06 19:18:23 +01:00
zhulongcheng
c283b068ed
feat(http): construct write handler by WriteBackend
2019-02-06 19:18:23 +01:00
zhulongcheng
e29f925679
feat(http): construct bucket handler by BucketBackend
2019-02-06 19:18:23 +01:00