Commit Graph

222 Commits (efdc6e592bb60a5357d90c045834d8943b4822c9)

Author SHA1 Message Date
Mark Rushakoff 264a420f07 chore: move stray chronograf files to correct directory 2018-08-06 09:37:00 -07:00
Mark Rushakoff 265235aaf1 refactor(query): move DefaultCompleter method to complete package
This is so Chronograf doesn't have to import the builtin package, which
finalizes builtin registration.

Also clarify that the builtin package should only be imported from main
or test packages.
2018-07-30 10:54:06 -07:00
Andrew Watkins 09879fa221
Merge pull request #498 from influxdata/cherry/flux-connection-page
feature(chronograf) flux connections page (#4026)
2018-07-27 13:57:12 -07:00
Andrew Watkins b223e763ef
Merge pull request #477 from influxdata/cherry/598762800
Bugfix/no org name (#4014)
2018-07-27 13:56:39 -07:00
Alirie Gray 4a895ea41a Flux/connections page (#4026)
* Load services on manages sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Flux dropdown on manage sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add flux connection dropdown with create, select, and update

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Prevent creation of Flux connection with duplicate name

Fixed bug where refreshing page allowed for Flux or connections
with duplicate names to be created

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add ability to delete a FluxService from the fluxservice dropdown

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Change FluxPage to use the active flux connection set by FluxConnectionPage

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Ensure that only flux services are loaded into redux services

* Polish styles for Flux Connection Page

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add pingflux as a part of adding and updating a flux service

Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Swagger routes and definitions for Service endpoints

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace flux overlay with redirect to flux connections pages

* Add test for FluxConnectionPage

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace hard-coded string with enum

* Use active from metadata instead of service object in ServiceDropdown

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add generic for getDeep on service metadata property

* Capitalize enum constant values in FluxFormMode

* Show error notification when user reaches edit route for nonexistant flux

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add tests for FluxDropdown

* Update types for async functions
2018-07-27 10:05:02 -07:00
Mark Rushakoff 0f52899677 hotfix(chronograf): add stub Asset functions to fix build
We need a long-term decision, but in the meantime we need a not-broken
build.
2018-07-26 14:58:20 -07:00
Andrew Watkins 1042c22469 Bugfix/no org name (#4014)
Fix runtime error when no orgs
2018-07-26 11:21:42 -04:00
Chris Goller 852f460fca chore(chronograf/bolt): fix outdated comment 2018-07-25 17:55:25 -05:00
Chris Goller 0d81058c49 fix(chronograf/bolt): max int64 overflows 32-bit archs 2018-07-25 17:50:18 -05:00
Chris Goller 85100c8e96 fix(ci): update to sirupsen/logrus from Sirupsen/logrus 2018-07-25 17:19:31 -05:00
Michael Desa d2ece11acb chore: make chronograf unit tests pass 2018-07-25 14:38:51 -04:00
Andrew Watkins 93ca5c9f76 chore(chronograf): Get Chronograf to "work" as in 1.6.x (w/o Kapacitor)
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-07-24 15:13:08 -07:00
Michael Desa a673aff68e feat(chronograf/bolt): add default source 2018-07-24 16:39:33 -04:00
Michael Desa cfe907e8f5 feat(chronograf): all chronograf api handler to platform 2018-07-24 15:55:49 -04:00
Michael Desa 6068e385db dep(chronograf/bolt): replace boltdb dependency with bbolt 2018-07-24 14:36:59 -04:00
Andrew Watkins c78b2ee19a chore(chronograf): Add SourceContext and fix source typing
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-07-24 14:23:18 -04:00
Andrew Watkins 45e42d2c6f feat(chronograf): Remove auth flow from CheckSources component
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-07-24 14:14:06 -04:00
Michael Desa 21e8509ca3 migration(chronograf): update chronograf go-github dependency
Previously goreleaser depended on an incompatible version of goreleaser.
This commit updates to the latest goreleaser and modifies the associated
chronograf code.
2018-07-23 15:50:40 -04:00
Michael Desa eca6747eca migrate: make chronograf migration compile 2018-07-23 15:30:21 -04:00
Michael Desa 7c777f7a92 migrate: update chrongraf influxql dependency 2018-07-19 18:07:48 -04:00
Michael Desa d36fe120a4 chore(chronograf): change package imports to be nested under platform
The following command it what was executed:
find . -type f |grep chronograf | xargs perl -p -i -e 's|github.com/influxdata/chronograf|github.com/influxdata/platform/chronograf|g'
2018-07-19 16:52:14 -04:00
Michael Desa 79c240de59 Move entire codebase into a subdirectory called chronograf
This was done so that there will not be any merge conflicts when
migrating things into platform.
2018-07-19 16:37:21 -04:00