Commit Graph

11 Commits (38ee6bbad95cf1c62d33e0688ba22412032f1090)

Author SHA1 Message Date
Russ Savage 1ce8806b8e feat: add flag to disable host list page 2020-02-10 13:50:28 -08:00
Alirie Gray 0f393b8bf3 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-26 18:16:02 -07:00
Iris Scholten d1f99bde8f Add test for cell editor overlay to check that isQuerySupportedByExplorer is getting passed down when a user-defined tempvar is getting used in query 2018-05-01 15:33:55 -07:00
Jared Scheib 7e05835b9c Test HostsPage render all components & hosts
Update Source & SourceLinks types to be current with all fields.
Properly mocked hosts & env mock api fns for spying.
Add note about kapacitors field on Source type differing
between client and server.

Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-17 17:41:41 -07:00
Iris Scholten 9ab401625b WIP test hostsPage async proxy request calls
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-16 18:29:16 -07:00
Andrew Watkins 09ccd3b152 Add test resources 2018-04-06 17:56:02 -07:00
Andrew Watkins 21754a10f9 Convert TickscriptEditor to TypesScript and add initial test 2018-04-06 17:56:02 -07:00
Brandon Farmer 42c03de005 Send insecure verify skip on kapacitor create
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-14 17:23:34 -07:00
Andrew Watkins 3f69abb9af Add more tests 2018-03-13 10:13:04 -07:00
Andrew Watkins e5ccbafd90 WIP introduce mocking api requests and testing resultant behavior 2018-03-13 10:11:11 -07:00
Andrew Watkins 531c93d117 Introduce mock api responses 2018-03-13 10:11:11 -07:00