Commit Graph

28359 Commits (86a0040d8408653fd9d9c5c78d4ffe1b530470bd)

Author SHA1 Message Date
Jorge Landivar 86a0040d84
Merge pull request #11361 from influxdata/feat/end-to-end-tests
feat(tasks):end-to-end tests for the task system
2019-01-25 14:09:28 -06:00
docmerlin (j. Emrys Landivar) 0fec7aa6c4 feat(tasks): end-to-end tests for the task system 2019-01-25 13:28:25 -06:00
Iris Scholten 2250f08c09
Merge pull request #11580 from influxdata/chore/move-dataloader-components
chore(ui/dataLoaders): Move the dataLoaders sidebar, utils, and constants to dataLoaders dir
2019-01-25 11:19:58 -08:00
kelwang d90e635958
Merge pull request #11540 from influxdata/http_error_cleanup
Http error cleanup
2019-01-25 10:47:44 -08:00
Kelvin Wang 4e7785d92c update(http): changes based on review 2019-01-25 10:31:25 -08:00
Kelvin Wang f99f4759fa fix(http): fix task errors 2019-01-25 10:31:24 -08:00
Kelvin Wang 875162abd3 update(http): remove check error true 2019-01-25 10:29:27 -08:00
Kelvin Wang 79ce30691e update(http): remove kerrors, change the default to be influxdb error 2019-01-25 10:29:26 -08:00
Jacob Marble 296e119783
feat: Add influx ping subcommand (#11603)
* feat: Add influx ping subcommand
2019-01-25 10:01:55 -08:00
Edd Robinson 904cc1325a
Merge pull request #11602 from influxdata/er-cow-off
Remove copy-on-write when caching bitmaps
2019-01-25 17:43:27 +00:00
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