Mark Rushakoff
ed15dd2305
refactor(task): add Executor.Wait method
...
This is to ensure that Scheduler.Stop blocks until outstanding task runs
finish. There were enterprise tests failing because outstanding runs of
a task were calling (*testing.T).Log after the test finished.
2018-11-21 14:27:56 -08:00
Mark Rushakoff
5b3f51a7b2
test(task): ensure that deleting a task, deletes its meta
2018-11-21 14:11:37 -08:00
Mark Rushakoff
558d10f28b
test(task): skip long tests in -short mode
...
Before, running go test -short -count=1 ./task/... would take about 15
seconds. By skipping these two long tests in short mode, that takes
about 10 seconds instead. In particular, the task package itself went
from 10 seconds to under a second, but there wasn't a realized 10 second
gain due to packages being tested in parallel.
2018-11-21 14:11:11 -08:00
Christopher Henn
a30e644c4a
Fix null property access bug in ColorSchemeDropdown
2018-11-21 13:32:41 -08:00
Brandon Farmer
169015bd85
Merge pull request #1547 from influxdata/fixes/task-nesting
...
Fixes tasks request for frontend
2018-11-21 13:11:26 -08:00
Christopher Henn
b8536ba325
Implement clockface-based color scheme selector
2018-11-21 13:04:46 -08:00
Christopher Henn
307ca66abc
Fix display of custom color schemes in dygraphs
2018-11-21 13:04:46 -08:00
Christopher Henn
3ab0c09580
Fix dygraph suffix and prefix formatting
...
A hack brought over from Chronograf 1.7. Without this, a screen tearing
bug will be visible near the y axis after updating the y axis' prefix or
suffix.
2018-11-21 13:04:46 -08:00
Christopher Henn
43f5fdca7b
Remove unused components
2018-11-21 13:04:46 -08:00
Christopher Henn
67a48551e1
Fix ability to set y label in xy graphs
2018-11-21 13:04:46 -08:00
Stuart Carnie
f001c303cd
Merge pull request #1312 from influxdata/sgc-reader
...
Implement ResultSet and GroupResultSet for protobuf streams
2018-11-21 12:06:58 -07:00
Stuart Carnie
79f06f6b97
feedback: Add nil comparison tests
2018-11-21 12:01:36 -07:00
Stuart Carnie
f3d15be61b
chore: Add key order sanity check to StreamReaders
2018-11-21 12:01:36 -07:00
Stuart Carnie
8920dab57a
feedback: Changes per PR feedback
2018-11-21 12:01:36 -07:00
Stuart Carnie
831e2ab943
feat(reads): Implement merge operation for []reads.GroupResultSet
...
Specifically the currently supported GroupNone and GroupBy operations
2018-11-21 12:01:36 -07:00
Stuart Carnie
268a52148a
feat(reads): Implement merge operation for []reads.ResultSet
2018-11-21 12:01:36 -07:00
Stuart Carnie
7fb015cc7f
chore: Add GroupBy benchmark
2018-11-21 12:01:36 -07:00
Stuart Carnie
26408dc1fa
chore(reads): Document ResultSet and GroupResultSet APIs; add func Err
...
* add option to Group sort to specify precedence of `nil`
* improve unit tests for GroupResultSet implementation
2018-11-21 12:01:35 -07:00
Stuart Carnie
0237059d05
feat(reads): Implement ResultSet and GroupResultSet for protobuf streams
2018-11-21 12:01:35 -07:00
Brandon Farmer
6ddc0cb370
Fixes tasks request for frontend
...
- task in no longer nested
2018-11-21 11:00:00 -08:00
Brandon Farmer
1f388f2634
Merge pull request #1543 from influxdata/refactor/api-utils
...
Move api initialization to util
2018-11-21 10:46:37 -08:00
Christopher Henn
58d8ac8f67
Use EmptyGraphMessage in SingleStatTransform
...
For consistency.
2018-11-21 10:11:21 -08:00
Christopher Henn
7e98b0b38a
Style single stat charts
2018-11-21 10:11:21 -08:00
Christopher Henn
8a848b4ed2
Fix number checking in SingleStatTransform
2018-11-21 10:11:21 -08:00
Brandon Farmer
e5c63d23d9
Move api initialization to util
2018-11-21 10:08:31 -08:00
zhulongcheng
8984490ace
unify code style
2018-11-21 10:08:20 -08:00
zhulongcheng
19dd22fcfa
fix typos
2018-11-21 10:08:20 -08:00
zhulongcheng
07874d6246
add tests for /tasks endpoint
2018-11-21 10:08:20 -08:00
zhulongcheng
f206175f79
add mock implementation of task service
2018-11-21 10:08:20 -08:00
zhulongcheng
6a01187dc5
fix POST /tasks param
2018-11-21 10:08:20 -08:00
zhulongcheng
2f6e36c3ca
update GET /tasks response to implement swagger definition
2018-11-21 10:08:20 -08:00
zhulongcheng
631cb9a5f8
update task swagger definition
2018-11-21 10:08:20 -08:00
Christopher Henn
3834744464
Consolidate similar view types to "xy" view type
2018-11-21 08:42:54 -08:00
Delmer
dd71ce5578
feat(ui/logs): add logs time selection actions ( #1495 )
...
adds simple log time selection
2018-11-21 08:15:50 -08:00
zhulongcheng
ed799a3d6c
remove Index.CreateSeriesIfNotExists
2018-11-21 20:16:45 +08:00
zhulongcheng
dbfa140cc4
remove Engine.CreateSeriesIfNotExists
2018-11-21 20:16:45 +08:00
zhulongcheng
085ce852b7
remove CreateSeriesIfNotExists from engine tests
2018-11-21 20:16:45 +08:00
Jade McGough
096143977a
Merge pull request #1396 from bednar/user-mapping-response
...
fix GetMembersHandler
2018-11-21 00:47:35 -08:00
Jade McGough
c76539d13d
Merge pull request #1397 from bednar/url_missing_member_id
...
Fixed the organizations members paths
2018-11-21 00:45:41 -08:00
Michael Desa
21e6c7bdce
Merge pull request #1540 from influxdata/fix/md-keep-query-authz
...
fix(platform): keep authorization struct on proxy query request
2018-11-20 16:50:14 -08:00
Brandon Farmer
a2781f0df8
Merge pull request #1539 from influxdata/fixes/nested-task-generated-client
...
Change swagger to represent nested task
2018-11-20 15:28:50 -08:00
Michael Desa
81d1520dc6
fix(platform): keep authorization struct on proxy query request
...
As a result of pr https://github.com/influxdata/platform/pull/1494 , idpe
broke. This PR undoes some of the work done from that PR, but fixes the
underlying issue with #1494 .
2018-11-20 15:20:51 -08:00
Brandon Farmer
272ffc44d6
Change swagger to represent nested task
2018-11-20 15:06:30 -08:00
Palakp41
d6874b80e7
Merge pull request #1537 from influxdata/feat/add-sorting-tasks-page
...
Feat/add sorting tasks page
2018-11-20 14:58:50 -08:00
Palak Bhojani
bf10974283
Added sorting on all the columns on task page
...
Change sortingHat to sort by a single (last clicked) column
Change sortingHat to sort by a single (last clicked) column
Created tests for TasksList
Create dummyData.ts in src/tasks instead of using the mocks/dummyData
Added IndexList instead of using table header on Dashbaord
Test snapshot
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-20 14:53:22 -08:00
Brandon Farmer
17a7585a62
Merge pull request #1536 from influxdata/updates/switch-task-ui-get-tasks-generated
...
Switch Task UI get tasks to use generated client
2018-11-20 14:23:18 -08:00
Brandon Farmer
90506ed51c
Move delete and get by id tasks to generated client
2018-11-20 14:14:45 -08:00
Brandon Farmer
4f8ae2ba5a
Switch Task UI get tasks to use generated client
2018-11-20 13:58:02 -08:00
Christopher Henn
af1d9e47b0
Fix issue with changing view types
...
Since the `id` was not preserved when switching view types, attempting
to save a view after changing its type would result in a new view being
created rather than the existing view being updated.
Also fixes an issue where a dygraph would not rerender when switching
from a step plot to line plot, or during similar conversions.
2018-11-20 13:12:09 -08:00
Christopher Henn
188e714942
Implement bar chart type
2018-11-20 13:12:09 -08:00