Johnny Steenbergen
0d07f8e579
feat(pkger): extend SummaryVariable with its env references
...
references: #18407
2020-06-10 17:14:53 -07:00
Johnny Steenbergen
5d8538de5a
feat(pkger): extend SummaryTelegrafConfig with its env references
...
references: #18407
2020-06-10 17:14:53 -07:00
Johnny Steenbergen
b4e1ea7903
feat(pkger): extend SummaryTasks with its env references
...
references: #18407
2020-06-10 17:14:53 -07:00
Johnny Steenbergen
d9925ffbc4
feat(pkger): extend SummaryNotifcationRules with its env references
...
references: #18407
2020-06-10 16:23:43 -07:00
Johnny Steenbergen
205d022b52
feat(pkger): extend SummaryNotifcationEndpoints with its env references
...
references: #18407
2020-06-10 15:57:06 -07:00
Johnny Steenbergen
98cc30fa24
feat(pkger): extend SummaryCheck with its env references
...
references: #18407
2020-06-10 15:57:06 -07:00
Johnny Steenbergen
ef00f66a55
feat(pkger): extend SummaryDashboard with its env references
...
references: #18407
2020-06-10 15:22:08 -07:00
Johnny Steenbergen
bb270f1145
feat(pkger): extend SummaryLabel with its env references
...
references: #18407
2020-06-10 14:18:37 -07:00
Johnny Steenbergen
70b3619df6
feat(pkger): extend SummaryBucket with its env references
2020-06-10 13:34:33 -07:00
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 ( #18331 )
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 : #18271
2020-06-02 08:18:11 -07:00
Lyon Hill
a69534f38b
fix: ensure the write endpoint contains a bucket in the request ( #18275 )
...
closes #18201
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 : #17997
2020-05-28 16:59:21 -07:00
Lyon Hill
dd69b5f851
feat: add onboard user to the swagger doc ( #18264 )
...
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 ( #18043 )
2020-05-28 13:42:38 -05:00
Jakub Bednář
96110ec5f9
fix(swagger): added missing Permission type: dbrp ( #18260 )
2020-05-28 11:50:48 -06: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
Russ Savage
6adb741d73
fix(swagger): update opID for post resend endpoint
2020-05-27 09:05:15 -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
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 ( #18167 )
...
* 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 ( #18042 )
2020-05-18 11:50:22 -06:00
Ben Johnson
2ea1eb9491
Merge pull request #18096 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 ( #17959 )
...
* 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 ( #18066 )
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 ( #18056 )
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 ( #17944 )
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 ( #17919 ) ( #17990 )
2020-05-07 15:06:32 -07:00
Vlasta Hajek
330a3eb09b
fix: adding default handler for post on setup ( #17972 ) ( #17973 )
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 ( #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
Johnny Steenbergen
89e34365bb
feat(pkger): add the ability to remove a stack and all its associated resources
...
closes : #17554
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 : #17554
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: #17554
2020-04-30 13:24:15 -07:00
George
67307d804e
chore(errors): interpret more cases as influxdb error type in http.CheckError ( #17888 )
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 ( #17918 )
2020-04-30 16:33:23 +01: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
Alirie Gray
2c0916addf
refactor: create new token package ( #17874 )
2020-04-30 07:52:21 -07:00
Lyon Hill
d720661e77
feat(tenant): change the tenant services default behavior to enabled ( #17872 )
...
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
Johnny Steenbergen
af0fc05f5e
fix(http): provide support for telegraf update in http client
2020-04-24 17:05:55 -07:00
jlapacik
d60b877df3
Merge branch 'master' into chore/merge-master-into-algo-w
2020-04-23 11:35:57 -07:00
Lyon Hill
50b51e14b3
fix(delete): fix delete handler to add org filter for bucket lookup ( #17834 )
2020-04-23 08:32:50 -06:00
jlapacik
63fd3655be
Merge branch 'master' into chore/merge-master-into-algo-w
2020-04-22 14:52:59 -07: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
Johnny Steenbergen
d1af15c399
chore: remove extranenous fields on http.Task type
...
also drops a skipped test that has been skipped for over a year. Tried
unskipping it, but now it fails for all sorts of reasons, without the
race flag enabled.
2020-04-20 15:34:58 -07:00
Johnny Steenbergen
e5e5500401
feat(dashboards): extend dashboard update API to take cells as a put doc operation
2020-04-20 14:04:45 -07:00
jlapacik
335968a552
Merge branch 'master' into chore/merge-master
2020-04-20 13:59:21 -07:00
Johnny Steenbergen
8251c362ee
chore(pkger): refactor parser notification rule state out into stateful type
...
this PR also drops a bunc of dead code that was necessary for times of integration.
references: #17434
2020-04-17 14:02:29 -07:00
jlapacik
90fb7543ce
Merge branch 'master' into chore/merge-master
2020-04-16 14:43:52 -07:00
Johnny Steenbergen
21694416a3
chore(pkger): refactor parser dashboard state out into stateful type
...
references: #17434
2020-04-16 13:27:36 -07:00
Johnny Steenbergen
f084a93fa2
chore(pkger): refactor parser telegraf config state out into stateful type
...
references: #17434
2020-04-16 12:05:07 -07:00
Lyon Hill
c02e83038f
fix: org filtering for both kv and tenant need to match behaviors. ( #17758 )
2020-04-16 12:22:21 -06:00
Johnny Steenbergen
da2cf7e94a
chore(pkger): refactor parser task state out into stateful type
...
references: #17434
2020-04-16 10:06:44 -07:00
Alirie Gray
4e690062cb
fix(labels): prevent adding duplicate labels to resources in kv ( #17340 )
2020-04-16 09:02:50 -07:00
jlapacik
7541af8414
chore: merge master into algow
2020-04-15 14:42:03 -07:00
Johnny Steenbergen
94ae519cc6
chore(pkger): refactor parser notification endpoint state out into stateful type
...
references: #17434
2020-04-15 14:26:25 -07:00
Pavel Závora
bbfb460be5
Merge pull request #17732 from influxdata/sranka-context-aware-client-write
...
fix(http/write_handler): propagate context to http request
2020-04-15 07:06:43 +02:00
Johnny Steenbergen
c8a79f5653
chore(pkger): refactor parser variable state out into stateful type
...
references: #17434
2020-04-14 16:48:56 -07:00
Johnny Steenbergen
cb7f8ba521
chore(pkger): refactor parser check state out into stateful type
...
references: #17434
2020-04-14 15:43:50 -07:00
Johnny Steenbergen
68183bb156
chore(pkger): refactor embedded types out of stateful types
2020-04-14 14:12:23 -07:00
Johnny Steenbergen
c718b676ef
chore(pkger): refactor pkger data model to separate parsed and stateful datum
2020-04-14 09:28:09 -07:00
Pavel Závora
744a2c15c9
fix(http/write_handler): propagate context to http request
...
_http.NewRequestWithContext_ (available since golang 1.13) ensures that the supplied context also controls the entire lifetime of a request and its response.
2020-04-14 11:17:55 +02:00
Johnny Steenbergen
e09d65f361
fix(swagger): fix indention problem in swagger doc
...
closes : #17652
2020-04-10 14:11:56 -07:00
Johnny Steenbergen
cee77081b2
feat(pkger): extend tasks with unique constraints
2020-04-08 14:38:32 -07:00
Brett Buddin
6516b598c7
chore(swagger): Add "now" to the query API endpoint.
2020-04-08 13:04:25 -04:00
Brett Buddin
dab8269841
fix(query): Respect the now-time of the compiled query if it's provided.
2020-04-08 11:50:47 -04:00
Gianluca Arbezzano
0a363b2ba7
feat(tracing): add userID to lookup traces
...
This commit adds `user_id` as a tag for traces. It helps to lookup and
filter traces we need by userID.
OrgID is harder to get right, so I will open an issue, but it will be
nice to have it in as well.
Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
Co-authored-by: George MacRorie <gmacrorie@influxdata.com>
2020-04-08 14:19:05 +02:00
Alirie Gray
8975fd2365
refactor(tenant): move bucket and urm auth layers to tenant service ( #17474 )
...
Co-authored-by: Lyon Hill <lyondhill@gmail.com>
2020-04-07 11:13:27 -07:00
Ariel Salem
ffa48c59b8
fix(ui): fixed dark lines in checks ( #17651 )
2020-04-07 10:56:55 -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
Johnny Steenbergen
e6317a04ee
chore(pkger): refactor summary/diff types for Endpints|Checks|Variables
2020-04-02 12:35:51 -07:00
Lorenzo Affetti
13fc4f335d
test(launcher): e2e test memory limits
2020-04-02 11:20:42 +02:00
Johnny Steenbergen
f5b9a30b1f
feat(pkger): extend labels diff and summary types to include PkgName and Remove
...
the pkgName refers to the unqiue label resource within the pkg and the
Remove field indicates the label will be removed when applying the pkg
2020-04-01 14:13:45 -07:00
Johnny Steenbergen
34c3b35ca3
feat(pkger): add stack state management for buckets
2020-04-01 13:09:14 -07:00
Johnny Steenbergen
098fd27ab4
feat(pkger): extend DiffBucket with name for existing and new bucket values
...
provides mapping between pkgName and resource the diff represents. Now that
stacks are in place, the existing bucket may change names.
2020-03-31 13:34:40 -07:00
Lyon Hill
1a66ca3900
feat(tenant): Add in api elements to tenant service ( #17447 )
...
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2020-03-27 08:56:22 -06:00
Johnny Steenbergen
8c70dc9b23
feat(pkger): add create stack endpoint for http server
2020-03-26 12:37:43 -07:00
Ariel Salem
4f65cda351
fix(ui): fixed threshold check bug that wouldn't allow threshold checks to be created where fields had spaces in them ( #17391 )
2020-03-23 19:17:52 -07:00
Christopher M. Wolff
20c2439230
refactor(http): change *ast.Package to json.RawMessage in query requests ( #17316 )
2020-03-23 12:39:24 -07:00
Marc Delagrammatikas
ea8e6d15d0
refactor: fixes typo in OnboardInitialUser method
...
Fixes typo introduced by 7b99c28a99
2020-03-20 10:48:20 -07:00
Marc Delagrammatikas
7b99c28a99
refactor: rename Generate to OnboardInitialUser
...
Renaming Generate in anticipation of a new method that will onboard
users other than the initial user. The intent is to simplify multi-user
setups.
Co-authored-by: Chris Goller <goller@gmail.com>
2020-03-18 15:35:26 -07:00
Johnny Steenbergen
97e56c0f00
fix(http): fixup logging for http middleware
2020-03-17 10:49:16 -07: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
Kelvin Wang
c511f06fa5
feat(cmd/influx): add profile management
2020-03-12 11:09:54 -04:00
Lorenzo Affetti
76067d548e
Merge pull request #17201 from influxdata/fix/notification-endpoint-auth
...
fix(authorizer): fix endpoint handler auth
2020-03-11 18:30:36 +01:00
Lorenzo Affetti
4e22b0b1af
fix(authorizer): fix endpoint handler auth
2020-03-11 18:09:53 +01: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
8d2ba699a0
refactor(http): remove the spec and update lang usage ( #17148 )
...
This removes the spec and updates the lang package usage to make use of
passing in the runtime as a parameter.
It removes all direct dependendencies on the flux runtime from the http
package.
2020-03-09 13:30:43 -05:00
Jonathan A. Sternberg
0d6e4e310b
Merge branch 'master' into feat/use-algo-w
2020-03-06 16:46:49 -06:00
Jonathan A. Sternberg
834a8740e0
refactor(task/backend): move the task/backend constants to the global package ( #17133 )
...
This moves a few types and constants to the global package so it can be
used without importing the `task/backend` package. These constants are
referenced in non tasks-specific code.
This is needed to break a dependency chain where the task backend will
call into the flux runtime to perform parsing or evaluation of a script
and to prevent the http package from inheriting that dependency.
2020-03-06 16:19:32 -06:00
Johnny Steenbergen
6818925643
feat(pkger): add support for exporting all and filter by resource types
...
note: all associations are still included for resources that match the
filte criteria.
2020-03-06 11:51:38 -08:00
Brett Buddin
de0b92ebc9
fix(http): Revert d51447fc34
.
2020-03-06 12:24:12 -05:00
Jonathan A. Sternberg
bcbb9df72e
refactor(task): tasks will now use the flux language service ( #17104 )
...
The tasks subsystem will now use the flux language service to parse and
evaluate flux instead of directly interacting with the parser or
runtime. This helps break the dependency on the libflux parser for the
base influxdb package.
This includes the task notification packages which were changed at the
same time.
2020-03-05 14:36:58 -06:00
Brett Buddin
f897c15187
Merge pull request #17091 from influxdata/bb/require-content-type
...
fix(http): Require Content-Type for query endpoint
2020-03-05 12:06:48 -05: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
Brett Buddin
d51447fc34
fix(http): Require Content-Type for query endpoint.
2020-03-05 11:12:33 -05:00
Alirie Gray
c4e9201859
refactor(api): add HTTPC client service to notification rules API ( #17087 )
2020-03-04 16:32:33 -08:00
Jorge Landivar
3c8ad39733
fix(checks): typo causing panic in checks endpoint
2020-02-28 10:54:06 -06:00
Lorenzo Affetti
d4af93eec2
refactor(http): make client contain every service available, and make it more pluggable
2020-02-26 17:45:38 +01:00
Gavin Cabbage
fe21b9eb88
feat(http): checks client ( #16922 )
2020-02-26 11:34:10 -05:00
pierwill
d70076e643
fix(http): Add secure flag to session cookie ( #16574 )
2020-02-25 14:37:11 -08:00
Lorenzo Affetti
4a83a80784
Merge pull request #16998 from influxdata/fix/add-document-service
...
feat(http): add document service to http Service
2020-02-25 22:47:37 +01:00
Alirie Gray
0ed292b1be
fix(tasks): update tasks authorization ( #16994 )
2020-02-25 12:59:59 -08:00
Lorenzo Affetti
3171cf0656
feat(http): add document service to http Service
2020-02-25 16:22:33 +01:00
Alirie Gray
3120b4c47e
refactor(tasks): add Client to http TaskService ( #16912 )
2020-02-24 11:41:21 -08:00
Lorenzo Affetti
9defb8a77f
feat(http): add document service
2020-02-21 15:58:40 +01:00
tmgordeeva
890c943643
fix(backup): handle backup with no credentials file ( #16877 )
...
* fix(backup): handle backup with no credentials file
Backups and restores should work whether or not the original installation uses
a credentials file and whether or not the backup contains a credentials file.
2020-02-14 09:19:58 -08:00
George
f239a2ed9c
fix(kv): remove URM and Authorizations by UserID Index ( #16852 )
...
* Revert "fix(kv): Don't stop when key not found from index."
This reverts commit bd9167d383
.
* Revert "fix(kv): push down org ID to skip in delete URM (#16841 )"
This reverts commit a5f508de77
.
* Revert "fix(kv): delete authorization from correct index bucket (#16835 )"
This reverts commit 7349216e94
.
* Revert "feat(kv): Index Authorizations by User ID (#16818 )"
This reverts commit df36fe957b
.
* Revert "feat: add indexes to urm for user lookups (#16789 )"
This reverts commit 9561d0a4f4
.
2020-02-13 15:27:57 +00:00
Nathaniel Cook
03f65cf045
fix(influxql): add explicit routing to influxql service ( #16832 )
...
Prior to this change influxql requests were sent to the same back end as Flux queries.
This MAY not always be the case. Now InfluxQL queries are specifically routed to the InfluxQLService.
In the case of this OSS build the FluxService and InfluxQLService are the same.
2020-02-12 10:07:29 -07:00
Johnny Steenbergen
e650c941c7
fix: remove duplicate content types from httpc requests
...
2 issues from investigating this error. First is the status check func
did not identify it was a media unsupported issue adn tries to unmarshal
the empty response body. The 2nd, was the double content type headers were
causing an error. Locally this error does not surface, cannot repoduce on
macos, but in cloud it is persistent.
closes : #16819
2020-02-11 11:14:44 -08:00
George
df36fe957b
feat(kv): Index Authorizations by User ID ( #16818 )
...
* feat(kv): add user id index on authorizations
* chore(auths): test FindAuthorizations both with and without a populated index
* chore(kv): cleanup index skipping flag in auths service
* fix(kv): bad flag around auth by user index population
* fix(kv): auth by user index lookup use correct buckets
* chore(kv): ensure indexer is called as expected when auth user index missing
* chore(kv): add benchmarks around authorization lookup
2020-02-11 17:34:20 +00:00
kelwang
2761c1f48a
Merge pull request #16786 from influxdata/feat_cli_secret
...
feat(cmd/influx): add secret cli
2020-02-10 10:39:18 -07:00
Nathaniel Cook
9f7d4f9be0
feat(query): adds support for influxql as language type for queries ( #16712 )
...
This change allows for the InfluxQL language type to be used with the
/v2/query API endpoint.
This change also introduces a way to give the transpiler an explicit
bucket name instead of using the DBRPMapping service.
Requests to the endpoint will know the bucket name directly but will
likely not have run the migration step to populate the DBRP mappings.
2020-02-07 15:20:50 -07:00
Kelvin Wang
e3acd7f86b
feat(http): add secret service
2020-02-07 15:54:28 -05:00
Johnny Steenbergen
684f7b82ad
feat(pkger): extend HTTP API to enable users to submit multiple pkgs in one call
2020-02-07 08:08:58 -08: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
64c8707594
feat(pkger): add support for env references for buckets
2020-02-04 17:00:11 -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