Commit Graph

31457 Commits (2727ae3c25bf91e37bdac6ffd61813f6a2d19ff7)

Author SHA1 Message Date
Edd Robinson 2727ae3c25 refactor: simpify Semaphore interface 2019-10-23 19:49:48 +01:00
Edd Robinson b6e911d72c refactor: move goroutine out to function 2019-10-23 19:49:46 +01:00
Edd Robinson 8f6701d4b1 feat(storage): add full compaction semaphore
By default this feature is disabled; the full compaction behaviour does
not change. When this feature is enabled compactions can be limited
across multiple storage engines running in multiple processes.

The mechanism by which this happens is not part of the abstraction added
here.
2019-10-23 19:45:01 +01:00
Edd Robinson 5453146c53 feat: add lessor interface 2019-10-23 19:45:01 +01:00
Michael Desa 0bd68520e2
Merge pull request #15550 from influxdata/chore/remove-parcel
chore(ui): remove dev dependency on parcel
2019-10-23 13:29:49 -04:00
Brandon Farmer 86c4592df1
Merge pull request #15305 from influxdata/check-labels
feat(influxdb): Add labels create endpoints
2019-10-23 10:14:34 -07:00
Michael Desa e8e80f8acd
chore(ui): remove dev dependency on parcel
The package `safer-eval` is used in parcel and has pretty regular
security vulnerablities. Since we're no longer using it, we should be
safe to remove it.

Link https://github.com/influxdata/influxdb/network/alert/ui/yarn.lock/safer-eval/open
2019-10-23 13:05:55 -04:00
Brandon Farmer 88bf178802 feat(influxdb): Add labels create endpoints
- Notification Rules
- Notification Endpoints
- Checks

Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2019-10-23 09:53:50 -07:00
alexpaxton 0fc47bc692
refactor(ui): convert confirmation overlay to confirmation button (#15496)
* refactor(ui): convert confirmation overlay to confirmation button

* refactor: write e2e tests for veo/de query mode switching

* refactor: assume query has changed if it is empty

* fix: formatting

* refactor(queryBuilder): use more semantic functions

* fix: remove unused variable
2019-10-22 23:03:51 -07:00
Jade McGough 09d24a61b4
fix(kv): allow system buckets to be created (#15542)
This code is no longer necessary, as we now enforce this behavior for http-originating bucket creations here: https://github.com/influxdata/influxdb/blob/master/http/bucket_service.go#L377

Without this change, all system buckets that are created or updated will have the incorrect type.
2019-10-22 16:11:24 -07:00
Brandon Farmer 928218f7f4
Merge pull request #15540 from influxdata/fix-system-bucket-lookup
fix(influxdb): Add OrgID to system buckets
2019-10-22 16:10:01 -07:00
Alirie Gray a8f5e5ba19
fix(tasks): create API facing interface for task runs (#15539) 2019-10-22 15:35:47 -07:00
Brandon Farmer a5b883536c fix(influxdb): system buckets must have org ids 2019-10-22 14:52:19 -07:00
Brandon Farmer 497fd469a9
Merge pull request #15536 from influxdata/fix-system-bucket-lookup
fix(influxdb): move system bucket fallback to kv level
2019-10-22 12:29:09 -07:00
Brandon Farmer 177df27d3f fix(influxdb): move system bucket fallback to kv level 2019-10-22 12:05:04 -07:00
Russ Savage 7aa489cd62
fix(alertHistory): verify columns exist before keeping them (#15525) 2019-10-22 11:49:51 -07:00
Ariel Salem 769c4101c8 fix(ui/collectorList-telegraf): sort telegrafs based on buckets (#15510)
* fix(ui/collectorList-telegraf): sort telegrafs based on buckets

* fix(ui/collectors): added tests to the sort by telegrafs/buckets functionality

* fix(ui/collectors): made PR suggested changes

* fix(ui/collectors): updated snapshot test

* fix(collectors): added collectors changes

* fix: labels test

* fix: sanity check

* chore: skip tests to resolve in separate PR

* fix: revisit page
2019-10-22 11:26:21 -07:00
Brandon Farmer 804f0b0125
Merge pull request #15531 from influxdata/fix-system-bucket-lookup
fix(influxdb): fall back to legacy system buckets
2019-10-22 10:41:13 -07:00
Brandon Farmer 8a7d170c79 fix(influxdb): fall back to legacy system buckets 2019-10-22 10:21:04 -07:00
Johnny Steenbergen 1e69c517b4
Merge pull request #15526 from influxdata/4447/fix_vault_flag_names
fix(vault): rename flags to match env vars and add missing token flag
2019-10-21 16:15:57 -07:00
Brandon Farmer f73647f2da
Merge pull request #15241 from influxdata/system-buckets
feat(influxdb): Add system buckets on org creation
2019-10-21 16:12:36 -07:00
Zoe Steinkamp f371e303a4
Merge pull request #15515 from influxdata/zs-SortByDescriptionNoEffect-#13950
fix(ui): Sort by description broken
2019-10-21 17:04:06 -06:00
Brandon Farmer bad4751709 fix(influxdb): authorizing system buckets 2019-10-21 15:49:10 -07:00
Andrew Watkins a40dacfabf chore: lowercase bdd 2019-10-21 15:27:35 -07:00
Andrew Watkins fb359722f8 chore: put space after comment 2019-10-21 15:26:33 -07:00
Andrew Watkins fbaeb8e58e fix: properly scope label creation 2019-10-21 15:26:21 -07:00
Zoe Steinkamp 355b43203c (fix)(ui) Sort by description broken
Fixed e2e test
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 48c8f439a0 (fix)(ui) Sort by description broken
Fix for circleCI test failing, removing sortKey
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 962ff6a2e0 (fix)(ui) Sort by description broken
Fixing file, getting rid of get function
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 2264d90396 (fix)(ui) Sort by description broken
Removing the only, clean up test file with es lint
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 5cad31c413 (fix)(ui) Sort by description broken
Also the test have been added that correlate to this issue
2019-10-21 16:16:51 -06:00
Brandon Farmer ea82dc3470 fix(tasks): tasks look up system bucket id 2019-10-21 14:48:47 -07:00
Brandon Farmer b343250390 fix(influxdb): fixes broken tests from system bucket changes 2019-10-21 14:48:47 -07:00
Brandon Farmer 2e0749b3ba feat(influxdb): Add system buckets on org creation
* Only allow users to create user buckets
* Only accept bucket creation parameters on post
2019-10-21 14:48:47 -07:00
Deary Hudson III c04249ec78
fix(http): /api/v2/orgs/:id/owners|members to 404 (#15504)
ensures that the endpoints:
  * /api/v2/orgs/:id/owners
  * /api/v2/orgs/:id/members
404 when the organization resource does not exist
2019-10-21 16:37:30 -05:00
Johnny Steenbergen 1bacb62b3a fix(vault): rename flags to match env vars and add missing token flag
the flags have to match the flags with the exception of beign lower case and
all `_` be changed to `-` in the flag. This is a result of using the cobra
flag to env var mapping with the `-` replaced to `_`.
2019-10-21 13:23:54 -07:00
Andrew Watkins d95a708032
build(webpack): remove eslint from ForkTsChecker plugin (#15519)
* build(webpack): remove eslint from ForkTsChecker plugin

* test(labels): refactor delete test
2019-10-21 11:30:49 -07:00
kelwang 913e689f46
Merge pull request #15511 from influxdata/delete_hex_parsing
fix(predicate): add some other values
2019-10-18 18:52:11 -04:00
Andrew Watkins 9cb2c0f6a4
refactor: RemoteDataState states in GetResources (#15508)
* refactor: RemoteDataState states in GetResources

* fix: e2e
2019-10-18 15:31:15 -07:00
Kelvin Wang c17a3b97ef fix(predicate): add some other values 2019-10-18 18:29:14 -04:00
alexpaxton aa34444df4
refactor(ui): redesign all page headers to make use of PageSubTitle (#15503)
* refactor(ui): redesign all page headers to make use of PageSubTitle

* chore: update changelog
2019-10-18 14:13:23 -07:00
kelwang 5bc1d755a9
Merge pull request #15255 from influxdata/delete-endpoint
feat(http): delete endpoint
2019-10-18 15:55:38 -04:00
Ariel Salem b69fcfbfbc
chore(ui/GetResources): parallelized GetResources CDM calls (#15501)
* chore(ui/GetResources): parallelized GetResources CDM calls

Refactored GetResources CDM call to take in an array of ResourceTypes to run in parallel rather than taking in a single ResourceType.

* chore(ui/GetResources): parallelized GetResources CDM calls

Refactored GetResources CDM call to take in an array of ResourceTypes to run in parallel rather than taking in a single ResourceType.

* fix(tests): updated components & refactored getresources to be async

* chore(ui/GetResources): parallelized GetResources CDM calls

Refactored GetResources CDM call to take in an array of ResourceTypes to run in parallel rather than taking in a single ResourceType.

* fix(tests): updated components & refactored getresources to be async

* fix(jstest): Fixed linter errors

* fix(jstest): fixed js test specs
2019-10-18 12:49:13 -07:00
Kelvin Wang e1d246a19d fix(predicate): remove unsupported operator parsing 2019-10-18 15:16:21 -04:00
Andrew Watkins c720147d7d
Merge pull request #15457 from influxdata/chore/eslint-upgrade
chore(eslint): upgrade eslint
2019-10-18 11:40:35 -07:00
Andrew Watkins 2119fd66a2 chore: exclude from tsconfig 2019-10-18 11:02:25 -07:00
Andrew Watkins a136e41d99 fix: buckets delete test 2019-10-18 10:58:35 -07:00
Andrew Watkins 75cfdccbdb chore: exclude coverage from linting 2019-10-18 10:48:05 -07:00
Andrew Watkins 2d002fb0f4 test: collectors reload page 2019-10-18 10:47:44 -07:00
Andrew Watkins 5ec64a0343 fix: thunk typings 2019-10-18 10:35:49 -07:00