Johnny Steenbergen
2c85e1520f
chore(http): export NewBaseChiRouter constructor
2020-06-15 15:35:45 -07:00
Gavin Cabbage
f159b866e3
fix(dbrpv2): lookup by org name ( #18331 )
2020-06-02 11:39:29 -04:00
Alirie Gray
876238d688
feat: add feature flag for new labels service ( #18215 )
2020-05-28 08:26:08 -07:00
jlapacik
d22380dc8b
Merge pull request #17900 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 ( #18190 )
...
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
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 ( #18042 )
2020-05-18 11:50:22 -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
jlapacik
34e581ca0a
Merge branch 'master' into chore/merge-master
2020-05-12 11:18:25 -07:00
Alirie Gray
24cc1cabb8
feat: add feature flag for refactored authorization package ( #17944 )
2020-05-08 10:00:39 -07: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 ( #17949 )
...
* refactor(kit/feature): remove target logic; expose bykey
* refactor(kit/feature): un-variadic-ify bykey arg
2020-05-06 11:13:17 -04:00
jlapacik
2ef9999907
Merge branch 'master' into chore/merge-master
2020-04-30 09:53:04 -07:00
Gavin Cabbage
95913534a0
feat(kit/feature): add feature flag package ( #17851 )
...
* 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
George
e150377f48
revert(tenant): integrate the tenant service as the default backend ( #17805 ) ( #17832 )
...
This reverts commit 79e9de93cb
.
2020-04-22 17:23:17 +01:00
Lyon Hill
79e9de93cb
feat(tenant): integrate the tenant service as the default backend ( #17805 )
2020-04-21 13:43:56 -06:00
jlapacik
7541af8414
chore: merge master into algow
2020-04-15 14:42:03 -07:00
Lyon Hill
4421a39639
feat(tenant): Build out the onboarding system in tenant and integrate it into launcher ( #17558 )
...
We are adding in a setup/user route this is not in swagger at the moment but will be
added once we feel it is stable.
2020-04-06 15:58:15 -06:00
Jonathan A. Sternberg
d3fa60991f
Merge branch 'master' into chore/merge-master
2020-04-06 12:17:47 -05:00
Jonathan A. Sternberg
0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2
2020-04-03 12:39:20 -05:00
Jonathan A. Sternberg
469c5849c4
Merge branch 'master' into feat/use-algo-w
2020-04-03 09:30:04 -05:00
Lorenzo Affetti
8a368fabfa
fix(http): make label service authorized by default
...
Fix resource type for label backends.
2020-03-16 11:32:35 +01:00
Gavin Cabbage
14ba382e4f
fix(buckets): return unauthorized if no org is found for user ( #17264 )
2020-03-13 15:35:33 -04:00
Alirie Gray
991002d83b
fix(labels): add check for write permissions to create label ( #17174 )
2020-03-12 10:51:50 -07:00
Gavin Cabbage
f5e8547482
fix(buckets): prevent returning system buckets to unauthorized users ( #17117 )
2020-03-11 13:06:08 -04:00
Greg
f98874566c
fix: allow authorized label service to be called indirectly ( #17111 )
...
* fix: allow authorized label service to be called indirectly
17071 exists because pkger loads all service resources as authorized on
start, resulting in them all being authorized when referenced indirectly
(not hit directly via api by consumer). Rather than restructure pkger to
only authorize direct services, this allows proper indirect auth to
labels (the cause of 17071).
* Add orgService to tests
* Add resource types to find orgID from
2020-03-11 10:58:39 -06:00
Jonathan A. Sternberg
7012470479
Merge branch 'master' into feat/use-algo-w
2020-03-10 14:52:28 -05:00
Lorenzo Affetti
fd729f8a38
fix(http): refactor document service and fix auth
2020-03-09 20:32:31 +01:00
Jonathan A. Sternberg
0d6e4e310b
Merge branch 'master' into feat/use-algo-w
2020-03-06 16:46:49 -06:00
Alirie Gray
dff47721ce
fix(secrets): wrap secrets service in authorizer ( #17099 )
2020-03-05 08:35:14 -08:00
Jonathan A. Sternberg
a907e05426
refactor(http): modify query handler to use a language service ( #17074 )
...
The language service abstracts away the parse source which breaks the
dependency without moving any of the code.
2020-03-05 10:32:17 -06:00
Alirie Gray
0ed292b1be
fix(tasks): update tasks authorization ( #16994 )
2020-02-25 12:59:59 -08:00
Johnny Steenbergen
2b0b32abe8
chore(http): pull out eror handler into kit pkg for portability
2020-02-03 12:39:47 -08:00
Jacob Marble
b836ab9c17
feat(storage): implement backup and restore ( #16504 )
...
* feat(backup): `influx backup` creates data backup
* feat(backup): initial restore work
* feat(restore): initial restore impl
Adds a restore tool which does offline restore of data and metadata.
* fix(restore): pr cleanup
* fix(restore): fix data dir creation
* fix(restore): pr cleanup
* chore: amend CHANGELOG
* fix: restore to empty dir fails differently
* feat(backup): backup and restore credentials
Saves the credentials file to backups and restores it from backups.
Additionally adds some logging for errors when fetching backup files.
* fix(restore): add missed commit
* fix(restore): pr cleanup
* fix(restore): fix default credentials restore path
* fix(backup): actually copy the credentials file for the backup
* fix: dirs get 0777, files get 0666
* fix: small review feedback
Co-authored-by: tmgordeeva <tanya@influxdata.com>
2020-01-21 14:22:45 -08:00
Stuart Carnie
4122a5dfec
feat(http): Enforce limits in write handler and expose config options
2020-01-14 09:13:40 -07:00
George
560cd3faee
fix(http): expose max batch size bytes limit open on *APIBackend ( #16497 )
2020-01-10 16:00:37 +00:00
Greg
41e771a464
feat(http): expose list of available telegraf plugins ( #16233 )
2019-12-17 16:53:19 -07: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
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
Johnny Steenbergen
dc2d931f00
feat: add support for setting password and org for a new user in the cli
...
one thing to note here is that new endpoint was created. there was no
endpoint for setting an initial password that worked. The existin endpoint
was a bit messy and coupled across multiple routes. Having multiple auth
schemes proved incredibly taxing to write against.
2019-11-20 09:16:31 -08:00
Johnny Steenbergen
bc083e169c
chore: refactor password service to provide userID instead of name
2019-11-20 09:16:31 -08:00
Johnny Steenbergen
b4b337e414
chore(http): provide mountable router for registering routes on APIHandler
2019-11-07 09:44:24 -08:00
Johnny Steenbergen
2902638c8a
feat(pkger): add pgker http server to the api handler
2019-11-07 09:44:24 -08:00
Jade McGough
fcc06d4291
feat(http): add predicate endpoint
2019-10-18 12:02:53 -04:00
Johnny Steenbergen
9d5392cfd9
fix(logging): add debug logging for all http requests
2019-10-07 14:19:21 -07:00
Kelvin Wang
7a677e9532
fix(http): fix notfication endpoint secret store
2019-08-28 16:02:17 -04:00
Michael Desa
add4bcb873
fix(http): remove non-txn task Create/Update/Delete for nofitication rules
2019-08-26 07:55:43 -04:00
Michael Desa
df628f21de
fix(http): remove non-txn task Create/Update/Delete for checks
2019-08-26 07:55:43 -04:00
Kelvin Wang
03f6214d0e
chore(http): split taskservice from check and notification
2019-08-19 18:56:17 -04:00