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
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
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
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
0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2
2020-04-03 12:39:20 -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
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
Lorenzo Affetti
fd729f8a38
fix(http): refactor document service and fix auth
2020-03-09 20:32:31 +01: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
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