Commit Graph

32108 Commits (540e785eb49aa84e8ca8e38b1242c68242033ccc)

Author SHA1 Message Date
Alex Boatwright 32d401e1d1
feat: connecting telegraf editor to a backend resource (#16287) 2019-12-20 14:17:15 -08:00
Alex Boatwright 292f810558
fix: speeding them tests right up (#16311) 2019-12-20 14:15:38 -08:00
Greg abd8ce0089
feat(http): add functionality to retrieve/store telegraf config as toml (#16132) 2019-12-20 14:20:13 -07:00
Johnny Steenbergen 61dceaa727 feat(pkger): add application functionality for the notification rules resource 2019-12-20 12:48:46 -08:00
Jacob Marble a2b2d828ee
fix(query): revert promqltests/go.sum (#16307)
Looks like #13370 mistakenly included a bad go.sum change
2019-12-20 11:22:31 -08:00
Will Cooke 2f4cca95f4
docs: Merge pull request #13370 from influxdata/new-contrib adding CONTRIBUTING.md
docs: Create CONTRIBUTING.md
2019-12-20 13:13:53 +00:00
timhallinflux ef5f1bb0af docs: create CONTRIBUTING.md
Update CONTRIBUTING.md

Added Security Vulnerability Reporting

Updated the text to include the simple changes.  This branch still needs updating to reflect 2.0 API etc.
~

fix(contribution): updated the text for V2.
fixes #13370

Update the 'Getting the source' section'

Remove the 'Cloning a fork' seciton

* If they have forked the repo, it should be clear how to clone the fork.

refactor

last refactor

Use # for section headings

Minor grammar edit.

Update CONTRIBUTING.md

Fix tripple backticks

Backticks weren't being picked up by Github's md renderer properly.

Fixed formatting

Made tabs and spaces consistent (went for tabs, since that's what go uses).  Made cli commands consistent by including $ at the start of the line.  Fixed copy a little bit.

Softened the language

Fixes: https://github.com/influxdata/influxdb/pull/13370#discussion_r359393716
Softened the language a bit.

Update CONTRIBUTING.md

Co-Authored-By: Stuart Carnie <stuart.carnie@gmail.com>

chore: improve CONTRIBUTING.md
2019-12-20 10:36:40 +00:00
Johnny Steenbergen 02aec6ed29 feat(pkger): add dry run functionality for notification rules 2019-12-19 16:31:22 -08:00
Alex Boatwright 3504ea275a
feat: generate types for tests (#16300) 2019-12-19 16:21:34 -08:00
Johnny Steenbergen 1d3e0daca4 feat(pkger): add parser support for notification rules 2019-12-19 12:56:02 -08:00
Zoe Steinkamp 5b859a27a6
Merge pull request #16269 from influxdata/zs-addviewcheckpage-#14782
Zs addviewcheckpage #14782
2019-12-19 13:07:39 -07:00
Alex Boatwright 6c334889ca
fix: pass variables into a function (#16291) 2019-12-19 10:36:04 -08:00
Zoe Steinkamp a306d08909 feat(ui): Add the view check page
prettier fix
2019-12-19 10:13:41 -07:00
Zoe Steinkamp 8750264807 feat(ui): Add the view check page
full fix
2019-12-19 09:37:42 -07:00
George 48b8cb84f7
feat(kv): define forward cursor interface (#16212)
* feat(kv): define forward cursor interface

* feat(kv): implement ForwardCursor on bolt and inmem buckets

* feat(kv): update tests to capture forward cursor

* fix(kv): typo in docs

* feat(kv): add Err method to ForwardCursor interface

* feat(inmem): batch pair channel sends in forward cursor

* fix(kv): remove Err field from kv.Pair

* feat(kv): add Close to kv.ForwardCursor interface
2019-12-19 17:30:05 +01:00
Jade McGough cc0943ceeb
chore(cli): improve walk function documentation (#16176) 2019-12-19 03:22:56 -08:00
Chris Goller 4755e50af8
ci: run go race tests in parallel over 8 containers (#16288)
* ci: run go race tests in parallel over 8 containers

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: add timing hint for splitting go tests

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: remove spurious grep

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: mod=readonly should ignore unknown internal/promqltests path

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: echo the packages tested

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: remove readonly experiment

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: filter promql internal tests

The promql internal tests has a special go.mod that shows
up in go list.  That directory cannot be tested.

Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 23:47:26 -06:00
Zoe Steinkamp 88acdfb9d3 feat (ui): Add the view check page
UI fixes
2019-12-18 22:38:55 -07:00
Johnny Steenbergen a8a4d3d0b2 feat(pkger): add export functionality to checks resource 2019-12-18 17:52:28 -08:00
Johnny Steenbergen 677e836bf4 feat(pkger): add apply functionality for checks
this work is to support pkger, but was able to add back in the
skipped tests. seeing failures upstream, and didn't catch it in
influxdb b/c the tests were being skipped.

closes: #14799
2019-12-18 15:02:03 -08:00
Chris Goller a942924cbb
ci: split go and js linting into separate circleci jobs (#16282)
* build: split go linting from tests

Signed-off-by: Chris Goller <goller@gmail.com>

* build: split js linting from tests

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: run go tests without verbose option

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: parallelize eslint with 8 containers

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cache node modules for eslint

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: lint circle yaml

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cd into ui directory for node caching

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: note eslint parallelization

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: update yarn cache directory to global

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cache jstest yarn downloads

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: note parallelization of jest tests

Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 16:57:08 -06:00
Jonathan A. Sternberg 98a807c580
feat: add an env script that will configure the environment for using go with libflux (#16271) 2019-12-18 16:45:55 -06:00
Bucky Schwarz a05bd3ec39 chore: add more context to honeybadger errors 2019-12-18 14:08:48 -08:00
Ariel Salem 63b8129188
fix(ui): fixed flakey tests (#16268)
fix(ui): fixed flakey tests
2019-12-18 14:03:31 -08:00
Johnny Steenbergen 1db3256980 feat(pkger): add check dry run functionality 2019-12-18 12:15:08 -08:00
Chris Goller a14ae9790a
build: split the jest test to run in parallel (#16274)
build: split the jest test to run in parallel
2019-12-18 13:56:29 -06:00
Chris Goller da6297f922
build: allow JSON imports in jest tests
Co-authored-by: Alex Boatwright <drdelambre@gmail.com>
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 13:34:57 -06:00
Chris Goller fe0aea0542
build: add circleci target to restrict max jest workers
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 13:18:03 -06:00
Chris Goller ec4fed37b1
build: remove max workers from jest to unify CI systems
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 13:07:52 -06:00
Johnny Steenbergen 7c10270c4c feat(pkger): add support for check resource to pgker parser
adds both basic resource specific and the label association
support to check resource in parser
2019-12-18 11:07:19 -08:00
Johnny Steenbergen 13ac83e0c4 chore: refactor bits of checks and its dependencies for readability 2019-12-18 11:07:19 -08:00
Chris Goller e4a6180309
build: split the jest test to run in parallel
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 12:03:52 -06:00
Zoe Steinkamp dd784a6e8c feat (ui): Add the view check page 2019-12-18 09:34:31 -07:00
David McKay 8db09124e6 fix: update test to use 'valid' marshalled predicate 2019-12-18 15:33:44 +00:00
George ff38420558
feat(tasks): remove flux stats from run log and replace with trace id (#16263)
* feat(tasks): trace id in task run logs

* refactor(tracing): move trace info utility into kit/tracing package
2019-12-18 16:30:38 +01:00
Brett Buddin 2967462705
Merge pull request #16249 from influxdata/bb-infinite-loop
fix(kv): Prevent infinite loop condition when listing tasks by org.
2019-12-18 10:06:42 -05:00
Brett Buddin 01b683c816
chore(changelog): Add fix for infinite loop to list. 2019-12-18 09:24:20 -05:00
Brett Buddin 6b544919a3
fix(kv): Prevent infinite loop condition when listing tasks by org.
In the event that findTaskByIDWithAuth cannot find the task ID contained
in the bucket, the outer loop will never terminate.

This ensures that we are calling Next() along-side any calls to continue
while using a Cursor.
2019-12-18 09:23:54 -05:00
Edd Robinson e24b66d78a feat: add predicate output to WAL dump tool 2019-12-18 12:05:26 +00:00
Johnny Steenbergen 213cdf58a9 chore(http): cleanup http pkg's check implementation cruft 2019-12-17 21:49:34 -08:00
Timmy Luong 409a4382bb fix(ui): retain user input when parsing invalid JSON during import 2019-12-17 19:06:05 -08:00
Bucky Schwarz 7c05b247dc chore: add getUserFlags utility function 2019-12-17 17:50:24 -08:00
Zoe Steinkamp 83f7c18b75 feat (ui): Add the view check page 2019-12-17 18:49:14 -07:00
Johnny Steenbergen 38606c66e1 feat(endpoint): drop id specific check for secret keys in all endpoints
the original design made the secrets unable to be reused, a bit to opinionated
to be useful eleswhere. This relaxes that requirement so that secrets can be
referenced here.
2019-12-17 17:10:27 -08:00
Greg 41e771a464
feat(http): expose list of available telegraf plugins (#16233) 2019-12-17 16:53:19 -07:00
Ariel Salem bba04e20b4
fix(ui): front end sorting for numeric values now being handled correctly (#16237)
fix(ui): front end table sort now works for numbers, skipping test until flake is resolved
2019-12-17 15:15:09 -08:00
Ariel Salem 25c5c5dde3
fix(ui): added check to ensure that windowperiod isn't calculated when the query is undefined (#16243)
fix(ui): added check to ensure that windowperiod isn't calculated when the query is an empty string and added AdditionalOptions prop types
2019-12-17 15:11:13 -08:00
Alex Boatwright 3a113c04fe
fix: errors from the editor (#16244) 2019-12-17 13:31:10 -08:00
Johnny Steenbergen 2fb1a5d3eb chore(http): refactor source http service client to use httpc.Client 2019-12-17 13:19:33 -08:00
Johnny Steenbergen f527636fe0 chore(http): refactor user http service to use the httpc.Client 2019-12-17 12:49:14 -08:00