Commit Graph

401 Commits (44e5fbae0af1179632e924d3fb5300ab0d17fa5e)

Author SHA1 Message Date
Lyon Hill 678acd5307
feat(task): Allow the most recent run time to be shown in the api. (#1765)
* feat(task): Allow the most recent run time to be shown in the api.

When showing tasks in the api latest_completed will now show in the api if it has been run.

fixes #1705
2018-12-06 16:46:16 -07:00
Deniz Kusefoglu 83c23c89ef
Merge pull request #1763 from influxdata/feat/line-protocol
Add ability to file upload and call write api
2018-12-06 11:57:30 -08:00
Palak Bhojani f6f7494454 Add ability to file upload and call write api
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-06 10:06:06 -08:00
Jorge Landivar 59dbec0b0e
Merge pull request #1762 from influxdata/chore/delay2offset
Change delay to offset in tasks to match the flux spec
2018-12-06 12:02:33 -06:00
j. Emrys Landivar (docmerlin) 0cb888afc0 Change delay to offset in tasks to match the flux spec 2018-12-06 11:00:07 -06:00
Kelvin Wang 2b602bfcfe fix(http): convert org errors endpoint 2018-12-06 11:05:13 -05:00
Iris Scholten f306f0e4f6 Update cur_swagger for type safety in generated client 2018-12-05 09:28:34 -08:00
Jade McGough 46257f7ef1
fix(test): pass label service to task handler in tests (#1706) 2018-12-04 15:20:46 -08:00
zhulongcheng 851404fb06 fix(http/task): flatten runs response and links 2018-12-04 15:10:03 -08:00
Christopher M. Wolff f1d21b8132
refactor(query): update transpiler to reflect signature change to `group()` (#1689)
update other modules that used old syntax as well
2018-12-04 09:32:37 -08:00
Jade McGough 8c961e12bb
Labels (#1668)
* feat(platform): add label struct

* feat(platform): add label service interface

* WIP label service

* chore(http): simplify URMapping validation

* WIP label service skeleton

* add new GET labels handler

* feat(http): add POST handler for label service

* feat(http): add label delete handler

* fix json tag

* add happy path testing

* feat(http): add label endpoints to dashboard service

* make fmt

* add label delete handler

* make fmt again :(

* feat(bolt): add label implementation

* wire boltdb implementation of labels

* feat(mock): add mock for label service

* fix tests, add delete test

* add remaining tests, flesh out GET params

* unused code

* remove comments

* add labels endpoints

* clean up labels after deleting a dashboard

* fix issues from code review

* WIP remove type from labels

* feat(http): add label cli functions

* fixes

* make fmt

* feat(http): add labels to tasks and buckets

* feat(bolt): remove labels if their resources are deleted

* remove bolt cleanup for now

* make fmt

* type conversion magic

* feat(inmem): implement label service

* prevent race conditions

* remove labels from inmem if their resources are deleted

* fix race condition

* fix formatting
2018-12-03 08:07:08 -08:00
Jade McGough 873aae3fad
Revert "feat(http): add label service" (#1667)
This reverts commit 70a430c599.
2018-12-03 04:27:27 -08:00
Jade McGough 70a430c599
feat(http): add label service (#1346) 2018-11-30 21:08:35 -08:00
Michael Desa 56de056085 feat(vault): add vault implementation of secret service
test(platform): run testcontainer integration tests for nightly release

Integration tests for the vault secret service using testcontiners
should not run along with unit tests, however, they should run on some
regular schedule. This commit introduces `make test-integration` which
runs integration tests for vault using testcontainers. The command introduced
relies on docker being available on the host it is executed on.

chore(platform): make go modules tidy

chore: try to fix go mod

chore(platform): remove explicit logrus dependency

chore(platform): run go mod tidy

chore(platform): replace github.com/Sirupsen/logrus with github.com/sirupsen/logrus

chore(platform): update docker dependency

feat(vault): add vault implementation of secret service

test(platform): run testcontainer integration tests for nightly release

Integration tests for the vault secret service using testcontiners
should not run along with unit tests, however, they should run on some
regular schedule. This commit introduces `make test-integration` which
runs integration tests for vault using testcontainers. The command introduced
relies on docker being available on the host it is executed on.

chore(platform): make go modules tidy

chore: try to fix go mod

chore(platform): run go mod tidy

feat(vault): add vault implementation of secret service

chore(platform): make go modules tidy

feat(platform): add Put/Patch/Delete methods on secret service

feat(vault): add Put/Patch/Delete methods on vault secret service

feat(http): add http handler methods for secret service

feat(bolt): add Put/Delete/Patch methods to bolt secret service

feat(testing): add tests for Put/Patch/Delete methods in secret service

feat(mock): add mock secret service

feat(http): add tests for secrets endpoints

feat(http): update swagger for secrets endpoints

chore: run go mod tidy
2018-11-30 13:07:32 -08:00
Jorge Landivar b0fc331c6d
Merge pull request #1589 from influxdata/bug/1235
remove requestedAt param from retry call
2018-11-30 13:39:50 -06:00
j. Emrys Landivar (docmerlin) 7ffd18c7b8 remove requestedAt param from retry call and refactor TaskService interface 2018-11-30 13:14:21 -06:00
kelwang 6db9acc951
Revert "Revert "convert /buckets endpoint error to platform error "" 2018-11-30 13:27:40 -05:00
Mark Rushakoff b1c80c8991
Merge pull request #1627 from zhulongcheng/task-page-size
fix(task): add limit field to TaskFilter
2018-11-30 08:17:12 -08:00
Edd Robinson 186e0392ed Address PR feedback 2018-11-30 10:54:24 +00:00
Edd Robinson 9403c1ec8e Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
zhulongcheng d8c80fa50c add limit param to task service 2018-11-30 10:02:41 +08:00
zhulongcheng 97d29e8974 add limit param to swagger 2018-11-30 10:02:41 +08:00
Christopher Henn 759891e37f Add ability to create notes on a dashboard 2018-11-29 16:41:40 -08:00
Iris Scholten 2bd3031383
Merge pull request #1631 from influxdata/dataLoader/streaming-step
feat(ui/DataLoaders): Streaming/Listening step
2018-11-29 16:40:55 -08:00
Delmer 889da9cb71
feat(ui/graph): add gauge view options (#1570)
Adds gauge view, thresholdlist, and thresholditem
2018-11-29 19:26:29 -05:00
Iris Scholten 6e15d444a1 Add Streaming data step to onboarding wizard
Co-authored-by: Palak Bhojani <palak@influxdata.com>
2018-11-29 16:06:20 -08:00
kelwang 2a57dc1970
Revert "convert /buckets endpoint error to platform error " 2018-11-29 12:02:32 -05:00
Kelvin Wang 232d9d71e3 fix(http): fix bucket errors 2018-11-29 09:58:56 -05:00
Mark Rushakoff 45ec2265ac
Fix typo 2018-11-29 06:30:37 -08:00
Mark Rushakoff 5609b7fd93
refactor: prefer time.After 2018-11-29 06:26:11 -08:00
zhulongcheng 0c68d3126f PR review changes 2018-11-29 14:30:07 +08:00
zhulongcheng 03c0b4c896 add validation for beforeTime/afterTime params 2018-11-29 14:30:07 +08:00
Ben Johnson 868fdbbe03
megacheck 2018-11-28 15:52:11 -07:00
Ben Johnson 1862b4421d
Integrate scanned values statistics tracking. 2018-11-28 15:32:06 -07:00
Lyon Hill ee94aa46c7
Add ping to the QueryService (#1597) 2018-11-28 15:02:59 -07:00
Lyon Hill 4d90d826b3
Add the ability to have readiness probe seperate from liveness probes (#1581)
* Add the ability to have readiness probe seperate from liveness probes
2018-11-27 15:29:59 -07:00
docmerlin (j. Emrys Landivar) 57fe285e56 add run return to rerun 2018-11-27 11:48:32 -06:00
Brandon Farmer b2eb20369a
Merge pull request #1576 from influxdata/updates/switch-dashboard-ui-generated
Switch Dashboard UI to use generated client
2018-11-27 09:35:33 -08:00
Brandon Farmer 70f9de4a81 Switch Dashboard UI to use generated client 2018-11-26 16:45:12 -08:00
Alirie Gray 2a35824421
Merge pull request #1572 from influxdata/tasks/fill-in-options-in-update-task-page
Tasks/fill in options in update task page
2018-11-26 16:08:27 -08:00
Alirie Gray 69155e7caa Populate update task options pane with options returned from server
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-26 15:08:03 -08:00
Christopher M. Wolff a3ad02288b
Remove use of verbose from control.Config (#1573) 2018-11-26 16:02:41 -07:00
Mark Rushakoff 232fb90edb feat(task): add Delay field to platform.Task
This brings Delay in line with Every and Cron.
2018-11-21 14:37:35 -08:00
Brandon Farmer 6ddc0cb370 Fixes tasks request for frontend
- task in no longer nested
2018-11-21 11:00:00 -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 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