Commit Graph

28452 Commits (ac43477d68a7d8cdce0155ac795ea383b4e09863)

Author SHA1 Message Date
Mark Rushakoff 4df856c229 chore(task): add messages to all HTTP errors from tasks
Closes #11544.
2019-01-25 09:22:34 -08:00
Mark Rushakoff 1d38d18d79 chore: remove pkg/deep
Looks like the last reference to it was deleted in March 2018
(df7a660fb3).

Prior to that the last use was switched to go-cmp, which we've more
or-less standardized on, at this point.
2019-01-25 08:19:40 -08:00
Edd Robinson 19a36e0dc7 Remove copy-on-write when caching bitmaps
In the case of caching TSI bitmaps belonging to immutable .tsi files,
the underlying bitset data can be mmapped. It is possible, though rare,
for this data to be unmapped (e.g., via a TSI compaction) but for the
cached bitmap to be subsequently read. This leads to a segfault.

This only happens when copy-on-write is set to true on the roaring
bitmap, because in that case only the internal pointers are cloned.

This change will reduce the TSI cache performance by around 10%, which I
have deemed to account for only a few microseconds typically.
2019-01-25 13:38:22 +00:00
Leonardo Di Donato 4d5f39334e fix: json tags for label mappings
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-25 11:17:36 +01:00
Leonardo Di Donato bd8bb5cb52 feat(authorizer): authorize the look up of labels by resource 2019-01-25 11:17:36 +01:00
Leonardo Di Donato bcabc0a085 fix: we need resource type to filter labels by resources 2019-01-25 11:17:36 +01:00
Leonardo Di Donato ddac968127 feat(authorizer): authorization for deletion of label mappings
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-25 11:17:36 +01:00
Leonardo Di Donato d8d23a0f77 feat(authorizer): test the authorization of label mappings creation 2019-01-25 11:17:36 +01:00
Leonardo Di Donato 605fa99ba8 feat(authorizer): authorization of label mappings creation 2019-01-25 11:17:36 +01:00
Leonardo Di Donato 1849f29f14 chore: refactor according to label mappings improvements
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-25 11:17:36 +01:00
Leonardo Di Donato 72679393b9 fix(influxdb): label mappings reference label ID, resource ID, and resource type now 2019-01-25 11:17:36 +01:00
Leonardo Di Donato ead0cb3dcf feat(authorizer): test labels permissions on create, find, delete, and update operations
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-25 11:17:36 +01:00
Leonardo Di Donato a2a1f8641f feat(authorizer): initial (incomplete) auth for labels v2 2019-01-25 11:17:36 +01:00
Leonardo Di Donato 5d85bff7ce feat: add labels resource type 2019-01-25 11:17:36 +01:00
Leonardo Di Donato f57f6ae4d4 chore: test specific error for labels not found 2019-01-25 11:17:36 +01:00
Leonardo Di Donato df1fa88cb3 chore: use specific error for labels not found 2019-01-25 11:17:36 +01:00
Iris Scholten 7838e3478e chore(ui/dataLoaders): Move the dataLoaders sidebar, utils, and constants to dataLoaders dir 2019-01-24 17:03:39 -08:00
Iris Scholten 5570e5ef44
Merge pull request #11574 from influxdata/chore/move-dataloaders-configure-verify
chore(ui/dataLoaders): Move the verify and configure components to dataLoaders dir
2019-01-24 16:48:12 -08:00
Brandon Farmer 5e35e7f1ef
Merge pull request #11569 from influxdata/feat/move-organizations-external-client
Move organizations to external client library
2019-01-24 16:36:39 -08:00
Iris Scholten f772e0d630 chore(ui/dataLoaders): Move the verify and configure components to dataLoaders dir 2019-01-24 16:36:07 -08:00
Iris Scholten 30a0ee8475
Merge pull request #11562 from influxdata/chore/move-dataloaders-selection
chore(ui/dataLoaders): Move selection step components to dataloaders dir
2019-01-24 16:34:33 -08:00
Brandon Farmer 5cf5d98c11 Move organizations to external client library 2019-01-24 16:21:54 -08:00
Brandon Farmer 32c32eff0f
Merge pull request #11563 from influxdata/feat/move-buckets-external-client
Move buckets to use external client library
2019-01-24 16:06:15 -08:00
Mark Rushakoff a0ff60c075 fix(task): respect limit when finding runs 2019-01-24 15:32:16 -08:00
Brandon Farmer 82295be8ff Move buckets to use external client library 2019-01-24 15:16:27 -08:00
Iris Scholten 678ab37225 chore(ui/dataLoaders): Move selection step components to dataloaders dir 2019-01-24 15:14:12 -08:00
Lyon Hill bdf65f5dfe
Remove owner from task json responses (#11504)
* Remove owner from task json responses

* allow for crud to run in parallel with other tests

To be parallel we just cant assume we only have 1 task.
2019-01-24 16:05:24 -07:00
Iris Scholten c91f2be31d
Merge pull request #11553 from influxdata/chore/move-dataloader-actions
chore(ui/dataLoaders): Move dataloaders actions and reducers to dataLoaders dir
2019-01-24 15:03:32 -08:00
Brandon Farmer aefcdb2fdb
Merge pull request #11561 from influxdata/feat/move-label-external-client
Move labels to external client library
2019-01-24 14:57:49 -08:00
Brandon Farmer eed89b6fc4 Move labels to external client library 2019-01-24 14:49:34 -08:00
Christopher Henn 5c766311a3 Move time machine code into timeMachine directory 2019-01-24 14:45:13 -08:00
Brandon Farmer 30ba4f0ee4
Merge pull request #11558 from influxdata/feat/tasks-use-external-client
Switch tasks to use external client library
2019-01-24 14:37:14 -08:00
Iris Scholten 6c1576e32c chore(ui/dataLoaders): Move dataloaders actions and reducers to dataLoaders dir 2019-01-24 14:27:23 -08:00
Brandon Farmer 83b22f5576 Switch tasks to use external client library 2019-01-24 14:27:08 -08:00
kelwang 27b4d45e9e
Merge pull request #11309 from influxdata/add_urm_scraper
Add urm scraper
2019-01-24 14:21:09 -08:00
Brandon Farmer 85c53c7493
Merge pull request #11552 from influxdata/feat/move-get-me-to-client-lib
Move me request to client library
2019-01-24 13:38:11 -08:00
Brandon Farmer f7ce392db4 Move me request to client library 2019-01-24 13:15:01 -08:00
Brandon Farmer c601b4501c
Merge pull request #11551 from influxdata/feat/move-auth-to-external-client
Move authentication to external client
2019-01-24 12:57:01 -08:00
Brandon Farmer 2bbee05c37 Move authentication to external client 2019-01-24 12:08:32 -08:00
Mark Rushakoff 04a86c92af fix(http): consistently use influxdb errors in task handlers
And ensure that the task HTTP client consistently expects influxdb
errors, so that they're properly extracted and returned to the caller.

Closes #11426.
2019-01-24 11:25:02 -08:00
Iris Scholten e528a998e4
Merge pull request #11522 from influxdata/feat/config-name-collector
feat(ui/dataLoaders): Add telegraf plugin information step with config naming
2019-01-24 09:56:56 -08:00
Christopher Henn d4a61653cb Employ new AST types for rendering queries 2019-01-24 09:17:39 -08:00
Christopher Henn 251402702c Add types for JSON representation of a Flux AST 2019-01-24 09:17:39 -08:00
Christopher Henn 9dcb6ca4d5 Display latest commit hash in UI 2019-01-24 08:55:13 -08:00
AJ Bond d8fde82f3d chore(docker): Update Influxd Dockerfile
* Update ca-certificates install
* Clean up apt-get cache directories
* Reduce copy steps to single copy operation
2019-01-24 09:41:47 -05:00
Leonardo Di Donato bd3c9cc75c fix(vault): correct testcontainers-go dep
Fixes #11199

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-24 14:14:11 +01:00
Palak Bhojani 294614f57e feat(ui/dataLoaders): Add telegraf plugin information step with name input 2019-01-23 17:53:31 -08:00
Mark Rushakoff 84f8f8d88c chore(task): move 'task retry' command to 'task run retry'
Runs are retried; tasks aren't.

Closes #11170.
2019-01-23 16:34:10 -08:00
Chris Goller e2cedd0a87
Merge pull request #11519 from influxdata/fix/docker-ca-certs
ci(docker): add ca-certificates to the docker build
2019-01-23 17:21:45 -06:00
Chris Goller f76a8a93e8 ci(docker): add ca-certificates to the docker build 2019-01-23 17:20:23 -06:00