Commit Graph

480 Commits (70369aedafa25b678dbd3bd51fddcf8620c51fc3)

Author SHA1 Message Date
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
Christopher Henn c4684151b0 Fix all existing type errors 2018-07-25 12:37:30 -07:00
Andrew Watkins 96295d300a
Merge pull request #4003 from influxdata/bugfix/flux-response
Change #partition to #group
2018-07-24 10:06:43 -07:00
Andrew Watkins 89009c88af Change partition to group 2018-07-24 08:40:00 -07:00
Andrew Watkins 787bf6df73 Change #partition to #group 2018-07-24 08:29:03 -07:00
Christopher Henn 85f222b62e Fix template variable replacement within regexes
Template variables used within regexes would not replace when the query
contained a '/' before the regex in the query (see test).

This commit rewrites the logic for replacing template variables within
regexes.
2018-07-23 10:08:45 -07:00
Christopher Henn cf7f44715b Add tests for Text template value resolution 2018-07-20 15:16:20 -07:00
Christopher Henn eb258cf314 Refactor template variable resolution
Now handles the `Text` case properly.
2018-07-20 15:16:20 -07:00
Christopher Henn 25b3a3d89c Ensure Map templates track selections 2018-07-18 16:55:20 -07:00
Christopher Henn 7e20617d17 Fix failing replacement tests
Since all tests shared the same `emptyTemplate` fixture, the `id` used
for each template in the graph construction was being clobbered.
2018-07-17 15:53:36 -07:00
Christopher Henn a02712942a Rename module 2018-07-17 15:53:36 -07:00
Christopher Henn 6a413070f9 Render templates in topologically sorted order 2018-07-17 15:53:36 -07:00
Christopher Henn 366b345641 Use template values when constructing dependency graph 2018-07-17 15:53:36 -07:00
Andrew Watkins 902acb33e8
Merge pull request #3944 from influxdata/chore/delete-auto-refresh-component
Chore/delete auto refresh component
2018-07-17 11:08:09 -07:00
Andrew Watkins 4c80ab0894 Delete AutoRefresh component 2018-07-17 10:57:43 -07:00
Andrew Watkins b937f012ed Fix link tests 2018-07-16 17:05:25 -07:00
Andrew Watkins 8ac70d0bc0 Fix buildInflux tests 2018-07-16 16:38:54 -07:00
Iris Scholten b196af3012 Convert influxql.test to typescript 2018-07-16 16:11:13 -07:00
Iris Scholten cf2da0a245 Convert auth reducer, action and test to ts 2018-07-16 16:03:26 -07:00
Iris Scholten 431de42d66 Convert app.test reducer and reducer test to ts 2018-07-16 15:13:31 -07:00
Iris Scholten f3ef13a54c Convert ui.test.js to typescript 2018-07-16 14:35:37 -07:00
Andrew Watkins 5e3a625e44
Merge pull request #3904 from influxdata/refactor/auto-refresh
Refactor AutoRefresh as singleton
2018-07-16 12:33:50 -07:00
Christopher Henn a022147177 Add tests 2018-07-16 12:24:31 -07:00
Christopher Henn cc2de563dd Support multi-level template dependencies 2018-07-16 12:24:31 -07:00
Andrew Watkins e17105151c Update Layout to TS 2018-07-16 10:01:34 -07:00
Andrew Watkins 8dea28e690 Update timeSeriesTransformers test to ts 2018-07-16 10:01:34 -07:00
Christopher Henn 6b1e38e377 Use sorted templates in query template replacement
This ensures that CSV and Map templates whose values contain other
templates are rendered approriately in the replaced query. For more
context, see #3853.
2018-07-13 17:38:54 -07:00
Alex Paxton 519ece6c58
Merge pull request #3892 from influxdata/bugfix/rule-select
Bugfix kapacitor rule enable / disable
2018-07-13 17:28:27 -07:00
Iris Scholten 6b85d7e936 Fix viewers getting logged out when changing text temp var 2018-07-13 17:00:07 -07:00
Christopher Henn 5333397c0e Yield histogram plot data to children 2018-07-13 14:02:38 -07:00
Iris Scholten 9403635036 Rename onSortChartBars to sortBarGroups 2018-07-12 15:26:56 -07:00
Iris Scholten b5926c0ef1 Sort histogram bars and tooltip in the order of severity 2018-07-12 15:21:43 -07:00
Alex P bd454b4a0e Update Test Snapshots 2018-07-12 13:26:49 -07:00
Alex Paxton ee59ea9188
Merge branch 'master' into logs-histogram-window 2018-07-12 12:55:41 -07:00
Daniel Campbell de855ac9a3
Merge pull request #3891 from influxdata/fix/stale-dashboard-switcher
Fix stale dashboard switcher
2018-07-12 11:51:49 -07:00
Alex P 56dbaf536c Update test snapshots 2018-07-12 11:44:43 -07:00
Alex P dd4e3b3d83 undo 2018-07-12 11:31:45 -07:00
Alirie Gray 7d52997630 Switched value and color properties of log config in tests 2018-07-12 11:28:22 -07:00
Alex P bfc9ed0c81 Update time range in proper format when either window or time are changed
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:49:44 -07:00
Alex P 3fa83d04ff Introduce time window dropdown and actions
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:43:35 -07:00
Delmer Reed 624b8fed60 Refactor switcher links updates into one method 2018-07-12 12:48:34 -04:00
Andrew Watkins 5da4cf9e4c Add test for bug 2018-07-12 09:05:02 -07:00
Delmer Reed a1b3927f73 Add test for updating dashboard name link 2018-07-12 11:21:39 -04:00
Andrew Watkins 3d9fbece04
Merge pull request #3884 from influxdata/chore/single-stat
Add precision to gauge and fix single stat bugs
2018-07-11 15:18:40 -07:00
Christopher Henn 4aa30e92b1 Add tests 2018-07-11 15:10:56 -07:00
Christopher Henn 22ee0e911f Rename TemplateControlDropdown to TemplateControl 2018-07-11 15:10:56 -07:00
Andrew Watkins 1a2ae2b3ab Add precision to gauge and fix single stat bugs 2018-07-11 14:34:01 -07:00
Delmer 4a526b96e3
Merge pull request #3866 from influxdata/fix/hosts-dashboard-header
Fix hosts links rendering
2018-07-11 14:56:55 -04:00
Iris Scholten e389b3343a
Merge pull request #3873 from influxdata/logs-viewer/severity-colors
Logs viewer Configs - severity colors
2018-07-11 10:21:25 -07:00
Iris Scholten 4389d8d7a9 Use severityLevelColors in logs table and histogram 2018-07-10 16:12:43 -07:00