Commit Graph

32393 Commits (027d29dd30f7860f54cd1677cc43100f463eee7b)

Author SHA1 Message Date
Ariel Salem 18d2bf6d12
chore(ui): refactored tasks to use oats rather than client library (#16353)
chore(ui): refactoring tasks to use oats rather than client, need to finish tasks actions
2019-12-31 12:14:51 -08:00
Kelvin Wang f8c0ea032c fix(cmd/influx): show see help, instead of usage 2019-12-31 14:52:55 -05:00
Johnny Steenbergen 4fb855feff fix(kv): add legacy variable orgs index back
issue here is that the unique by name index for variables was implemented
and has the same functionality about it that this orgs index has. The duplicative
orgs index was nuked. The migration to hydrate the org/name index never
happened. This is a stop gap until that migration is in place.
2019-12-31 10:58:15 -08:00
Andrew Watkins a926700965
refactor(ui): normalize member resource (#16366)
* refactor(norm): add member schema

* refactor(norm): set members

* refactor(norm): add and delete members
2019-12-31 10:43:35 -07:00
Greg b2531c1f97
fix: improve date in `version` command (#16365)
set date in go like a sane person
2019-12-30 17:56:58 -07:00
Johnny Steenbergen e79771fdcc chore(kv): refactor new unique by store up into reusable store that composes into uniq by store 2019-12-30 16:44:57 -08:00
Johnny Steenbergen 5a6bda238c chore(kv): refactor variable service to use the new uniqByNameStore type 2019-12-30 16:44:57 -08:00
Johnny Steenbergen 300d89887d chore(kv): refactor notification endpoint to use reusable uniqByNameStore
this is work moving us towards more reusable components that add some
rigidity around handling indexes and the entity bucket. The behavior
is very common across much of the kv pkg. This can be reused throughout.
adding some easy wins for tracing(eventually metrics) that enable more
insight that what is currently possible. It normalizes these concerns
across the kv store.
2019-12-30 16:44:57 -08:00
Johnny Steenbergen fb325fbc10 chore(kv): drop duplicative tests 2019-12-30 16:27:36 -08:00
Greg 56973b8dc5
fix: add 'version' command to match github bug report template (#15629) 2019-12-30 12:53:52 -07:00
Johnny Steenbergen 8d6d44ac79 chore(bolt): nuke crufty bolt db service
kv store is a thing.. use it instead
2019-12-30 11:19:48 -08:00
Johnny Steenbergen e6f1805e5e chore(inmem): nuke the duplicative inmem store
use kv store... its a thing
2019-12-30 11:04:45 -08:00
Brett Buddin a2071478c8
Merge pull request #16336 from influxdata/ready-manual-override
feat(kit/check): Manual Overrides for Readiness Endpoint
2019-12-30 10:06:31 -05:00
Brett Buddin c42a232545
chore(kit/check): Add new readiness override to CHANGELOG. 2019-12-30 09:42:59 -05:00
Brett Buddin b4703566a8
feat(kit/check): Adds manual override capabilities to readiness endpoint.
With `/health`, it is possible to override the overall status reported.
This change adds the same functionality to `/ready`. This allows
incident responders to take an unhealthy pod out of a service without
killing it—giving them time to gather meaningful forensic data from the
pod. The new contract is:

Force not ready:

    GET /ready?force=true&ready=false

Force ready:

    GET /ready?force=true&ready=true

Disable override:

    GET /ready?force=false
2019-12-30 09:42:31 -05:00
Johnny Steenbergen 0dc5c2af92 feat(pkger): fixup flux query normalization in exporting of task 2019-12-27 15:16:48 -08:00
Johnny Steenbergen f1b5e19776 feat(influx): add hide headers flag to influx cli task cmd 2019-12-27 14:41:55 -08:00
Johnny Steenbergen 5bdcfaee4d fix(pkger): make pkger skip system tasks when exporting all tasks 2019-12-27 14:26:18 -08:00
Andrew Watkins fa3009d2f4
chore(redux-thunk): fix typings (#16335)
* chore(redux-thunk): fix typings

* chore: lower react-redux version

* chore(eslint): turn off thenable rule
2019-12-27 14:01:16 -08:00
Ariel Salem 7e23c828e9
feat(ui): added last run status to tasks (#16340)
feat(ui): added last run status to tasks
2019-12-27 13:21:04 -08:00
Johnny Steenbergen cce279a80e feat(pkger): add ability to provide secrets alongside package when applying
this provides the ability to add secret refs at runtime instead of adding
them to the pkg.
2019-12-27 12:41:42 -08:00
Ariel Salem 79c5c79286
feat(ui): added notification rule & checks last run status & error (#16338)
feat(ui): added last run status checks for notification rules and check rules, readded updateCheck to fix linter and functionality issues with program and added tests to ensure check creation and update stability
2019-12-27 10:14:34 -08:00
Johnny Steenbergen 33756ca7a8 fix(pkger): remove tasks created by checks from being exported when exporting by org 2019-12-27 09:36:23 -08:00
Deniz Kusefoglu 142fbcbb3f
feat(ui): Show users saving errors from check time machine (#16333) 2019-12-27 02:05:08 +00:00
Bucky Schwarz dd41af3d7a feat: Add group() to Query Builder 2019-12-26 17:02:41 -08:00
Johnny Steenbergen 5569193116 fix: add custom marshaler to dashboard builder config to stop breaking all external api clients with nil vals 2019-12-26 14:53:14 -08:00
Johnny Steenbergen 935389912a chore(pkger): reorder print statements to be alphabetical 2019-12-26 11:34:48 -08:00
Johnny Steenbergen 1c2421cb9c feat(pkger): add export support for tasks 2019-12-23 15:41:14 -08:00
Johnny Steenbergen c9431bceb8 feat(pkger): add apply functionality for task resource 2019-12-23 13:56:42 -08:00
Johnny Steenbergen 8e87498317 feat(pkger): add dry run functionality for task resource 2019-12-23 11:40:28 -08:00
Johnny Steenbergen aef32b0a0a chore(pkger): improve error handling in service
this provides influxdb.Errors whenever possible from the pker service layer.
the behavior that caused the error is somewhat implicated in the errro code.
it is not perfect but is a big step forward. using the http server/client to
run pkger stuff makes it abundantly clear the errors need to be communicated
better.

closes: #16313
2019-12-23 09:36:25 -08:00
Johnny Steenbergen e33d74b38c feat(pkger): add support for tasks to parser 2019-12-23 09:24:35 -08:00
Johnny Steenbergen af5b7fd7d3 feat(pkger): add export support for notification rules 2019-12-21 14:58:02 -08:00
alexpaxton 08f523ddc0
refactor(ui): Clockface replacement (#16241)
* refactor: use replace select group with tabs in save as dialog

* refactor: replace local RightClick with Clockface RightClick

* refactor: delete local RightClick code

* refactor: replace ResponsiveGridSizer with SquareGrid

* chore: delete local grid sizer components

* fix: repair broken e2e tests

* fix: attempt to fix e2e test

* fix: repair query builder e2e test

* fix: don't call stop propagation because there is no event object
2019-12-20 14:56:46 -08:00
alexpaxton 6e6c08e1f6
refactor(ui): update line protocol wizard (#16276)
* refactor: extend DragAndDrop to support custom classnames

* refactor: use OverlayFooter

* refactor: remove WizardOverlay from CollectorsWizard

* refactor: redesign and simplify line protocol wizard

* refactor: remove WizardOverlay from telegraf instructions

* fix: repair affected e2e test

* refactor: use vscss ariable to ensure height consistency between steps

* refactor: extract helper text into component to ensure consistency
2019-12-20 14:36:55 -08:00
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