Commit Graph

1494 Commits (ac559d864affb34828587ca4d50643f020b5476e)

Author SHA1 Message Date
Johnny Steenbergen 11364f96ce chore(http): add route path to panic log message 2020-06-09 18:00:11 -07:00
Johnny Steenbergen 1ccd0e1d60 chore(http): add panic mw for chi base router 2020-06-09 16:01:11 -07:00
Stuart Carnie aea54d2ead
fix(http): Use shared http.Transport
This is following precedent established in `net/http`, by using a
shared `http.Transport`. This is necessary to ensure connections which
utilize HTTP keep-alive are reused, along with other benefits of
pooling.
2020-06-05 09:52:45 -07:00
Pavel Zavora 0caee29f24 fix(swagger): change dprps typo to dbrps 2020-06-04 09:39:46 -06:00
Gavin Cabbage f159b866e3
fix(dbrpv2): lookup by org name () 2020-06-02 11:39:29 -04:00
Johnny Steenbergen 3dcd5d496f feat(pkger): add ability to export by stack
this ability exports all resources associated with a stack by the same
metadata.name fields as the original application had done it. This can
be used as a means to snapshot the current state of the stack. This can
be used for source control or other means.

closes: 
2020-06-02 08:18:11 -07:00
Lyon Hill a69534f38b
fix: ensure the write endpoint contains a bucket in the request ()
closes 
2020-06-02 08:11:04 -06:00
vlastahajek 84b1102d55 fix: make LabelUpdate.properties consistent with Label and LabelCreateReuest 2020-05-29 09:37:03 -07:00
Johnny Steenbergen 53794bfae5 feat(pkger): make all pkg applications stateful
if no stack is provided then one will be provided for you.

closes: 
2020-05-28 16:59:21 -07:00
Lyon Hill dd69b5f851
feat: add onboard user to the swagger doc ()
This feature has been live for a while but I left it out of the swagger doc
because I wanted to test it in the cloud environment before I added it to the doc
2020-05-28 14:14:16 -06:00
Yiqun (Ethan) Zhang 41156ca646
feat(query): implement window count aggregate pushdown () 2020-05-28 13:42:38 -05:00
Jakub Bednář 96110ec5f9
fix(swagger): added missing Permission type: dbrp () 2020-05-28 11:50:48 -06:00
Alirie Gray 876238d688
feat: add feature flag for new labels service () 2020-05-28 08:26:08 -07:00
jlapacik d22380dc8b
Merge pull request from influxdata/feat/use-algo-w
chore: promote algorithm W to master
2020-05-27 10:20:03 -07:00
Lyon Hill 97dc4d18db
feat: use the new tenant user handler ()
Switch to use the new user handler. We have been using the tenant backend for some
time now and just need to switch over to using tenant front to back.
2020-05-27 08:48:27 -06:00
jlapacik 7db9f4c520 Merge branch 'master' into chore/merge-master 2020-05-26 10:03:42 -07:00
Pavel Zavora c35c90aa68 feat(api/health): report commit 2020-05-26 14:03:52 +02:00
Pavel Zavora 34775bcf77 fix(api/health): report version 2020-05-26 14:03:04 +02:00
Jonathan A. Sternberg 0bb847b7e7
Merge branch 'master' into feat/use-algo-w 2020-05-21 10:33:13 -05:00
Andrew Watkins d1275aaff7
feat(unify): CloudUser and Invite contract ()
* feat(unify): user and invite contract

* feat(unify): add Invites schema component

* chore: lint fix
2020-05-20 11:09:00 -07:00
Jonathan A. Sternberg 0c8d19e896
Merge branch 'master' into feat/use-algo-w 2020-05-18 13:25:26 -05:00
Lyon Hill c459852f8f
feat: integrate the new session system behind a feature flag () 2020-05-18 11:50:22 -06:00
Ben Johnson 2ea1eb9491
Merge pull request from influxdata/http-check-client-disconnect
feat(http): Client disconnections should return a HTTP 499 error code.
2020-05-15 08:04:52 -06:00
Gianluca Arbezzano 1cf64fd721
feat: dbrp service
Signed-off-by: Lorenzo Affetti <lorenzo.affetti@gmail.com>
Co-Authored-By: Gianluca Arbezzano <gianarb92@gmail.com>
Co-Authored-By: George MacRorie <gmacrorie@influxdata.com>
Co-Authored-By: Alirie Gray <alirie.gray@gmail.com>
2020-05-15 12:05:38 +02: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
George f646653b1b
refactor!: replace authorizer.Allowed method with PermissionSet ()
* refactor!: replace Allow method with PermissionSet

* chore(changelog): update changelog to reflect changes to authorizer
2020-05-13 12:27:46 +01:00
Ariel Salem bf21cf86b7
fix(timeFormat-single-stat-graph): fixed issue where setting the timeFormat on single-state + graph wasn't persisted () 2020-05-12 14:51:52 -07:00
jlapacik 34e581ca0a Merge branch 'master' into chore/merge-master 2020-05-12 11:18:25 -07:00
George a8ba8be41d
fix(http): call PATCH endpoint in checks service PathCheck () 2020-05-12 19:15:37 +01:00
vlastahajek c701c19bc1 refactor: Permission.Resource made top level type 2020-05-08 14:33:50 -07:00
Alirie Gray 24cc1cabb8
feat: add feature flag for refactored authorization package () 2020-05-08 10:00:39 -07:00
Brett Buddin 229b79281b
feat(http): Allow query handlers to be proxied for Algo-W testing. 2020-05-08 09:03:21 -04:00
Brett Buddin 8c0643843f
chore(http): Let the callers convert these to http.Handler. 2020-05-08 09:02:06 -04:00
Vlasta Hajek 045f311fb3
fix: changing method of set user password to POST () () 2020-05-07 15:06:32 -07:00
Vlasta Hajek 330a3eb09b
fix: adding default handler for post on setup () () 2020-05-07 14:52:53 -07:00
Brett Buddin 9e8f5a27bc
fix(http): Make common wrapper function capable of handling nil-valued proxies.
Pipeline tests in idpe are setting up an `http.APIBackend` directly
without a constructor function. This is causing this `AlgoWProxy` field
to be `nil` when exercising end-to-end tests. This just makes the
structure a bit more defensive and falls back to using the no-op proxy
in the presence of a nil value.
2020-05-06 13:04:31 -04:00
jlapacik 4aec0dc48e Merge branch 'master' into chore/update-flux 2020-05-06 10:00:09 -07:00
Brett Buddin c5c4e71dbd
feat(http): Add ability to proxy specific API handlers for Algo-W rollout. 2020-05-06 12:30:05 -04:00
Gavin Cabbage 8af9b3c2d1
refactor(kit/feature): remove target logic; expose bykey ()
* refactor(kit/feature): remove target logic; expose bykey

* refactor(kit/feature): un-variadic-ify bykey arg
2020-05-06 11:13:17 -04:00
Johnny Steenbergen 89e34365bb feat(pkger): add the ability to remove a stack and all its associated resources
closes: 
2020-05-05 01:35:02 -05:00
Johnny Steenbergen 95ad3c6582 feat(pkger): add the ability to remove a stack and all its associated resources
closes: 
2020-05-01 16:18:13 -07:00
jlapacik 83b90c3575 Merge branch 'master' into chore/merge-master 2020-04-30 14:05:51 -07:00
Johnny Steenbergen c7e97f1625 feat(pkger): add service and http server integreations for stack lists
references: 
2020-04-30 13:24:15 -07:00
George 67307d804e
chore(errors): interpret more cases as influxdb error type in http.CheckError () 2020-04-30 17:55:17 +01:00
jlapacik 2ef9999907 Merge branch 'master' into chore/merge-master 2020-04-30 09:53:04 -07:00
George 0996e06d5d
chore(http): stop tracing system related api paths () 2020-04-30 16:33:23 +01:00
Gavin Cabbage 95913534a0
feat(kit/feature): add feature flag package ()
* feat(kit/feature): add feature flag package

* refactor(kit/feature/_codegen): simplify with fmt.Errorf

* chore(kit/feature): tidy comments
2020-04-30 11:29:43 -04:00
Alirie Gray 2c0916addf
refactor: create new token package () 2020-04-30 07:52:21 -07:00
Lyon Hill d720661e77
feat(tenant): change the tenant services default behavior to enabled ()
We have reached the stage wehre the new tenant service is being used and
is stable but we want to get it in more hands and used as the default service.
2020-04-29 14:04:26 -06:00
jlapacik 457637ed22 Merge branch 'master' into chore/merge-master 2020-04-28 13:13:36 -07:00