Commit Graph

476 Commits (506517d58f156112a181d3dc70c607aac2126f0a)

Author SHA1 Message Date
Jade McGough e9fba06b3f WIP add colors to labels 2018-12-17 23:00:56 -08:00
Brandon Farmer a9065c0001 Update swagger to denote endpoints using generated client 2018-12-17 11:14:08 -08:00
Brandon Farmer 1b982ea984 Move misc api calls to generated client 2018-12-17 11:14:08 -08:00
kelwang 48fe377af3
Merge pull request #1926 from influxdata/convert_dashboard_error
fix(http): convert dashboard errors
2018-12-17 13:01:25 -05:00
Michael Desa c33d94f5ec
Merge pull request #1799 from zhulongcheng/paging
feat(http/paging): add paging implementation
2018-12-17 12:43:05 -05:00
Chris Goller 0ea2f7b128
Merge pull request #1986 from zhulongcheng/rename-auth
fix(http): rename auths to authorizations
2018-12-17 11:24:21 -06:00
kelwang 014dda0abe
Merge pull request #1990 from influxdata/convert_scraper_errors
fix(http): convert scraper target error
2018-12-17 12:18:08 -05:00
zhulongcheng 94d86186c7 fix(http): rename auths to authorizations 2018-12-18 00:12:16 +08:00
Chris Goller 0783e94953
Merge pull request #1982 from zhulongcheng/404
add custom-404 handler
2018-12-17 09:55:24 -06:00
Chris Goller d0263a4301
Merge pull request #1950 from zhulongcheng/doc-macro
docs(http): put macros/:id endpoint
2018-12-17 09:50:31 -06:00
Kelvin Wang 4cabda439e fix(http): convert scraper target error 2018-12-17 09:08:19 -05:00
zhulongcheng 5f40883342 add custom-404 handler 2018-12-16 22:55:39 +08:00
zhulongcheng eddbf27329 docs(http): put macros/:id endpoint 2018-12-16 17:14:35 +08:00
Jade McGough 6713d6d12e fix(http): add task labels endpoint documentation 2018-12-14 16:01:46 -08:00
Jade McGough 591de7f145 chore(http): remove authorization header description from swagger 2018-12-14 15:19:04 -08:00
zhulongcheng 5fdb8f7738 add /telegrafs/:id/members path 2018-12-15 00:18:50 +08:00
zhulongcheng bec174676e fix failed rebase 2018-12-15 00:18:50 +08:00
zhulongcheng 6b089708b8 remove unused functions 2018-12-15 00:18:50 +08:00
zhulongcheng c534a43f2f add tests for members/owners endpoints 2018-12-15 00:18:50 +08:00
zhulongcheng 79591aba20 implement get members/owners response definitions 2018-12-15 00:18:50 +08:00
zhulongcheng 7cd1994cd4 add ResourceType param to filter resource members 2018-12-15 00:18:50 +08:00
zhulongcheng a06044279a implement post members/owners response definitions 2018-12-15 00:18:50 +08:00
zhulongcheng 3b43d83da0 add UserService to members/owners endpoint handlers 2018-12-15 00:18:50 +08:00
zhulongcheng 3ecdda8a22 add members/owners response definitions 2018-12-15 00:18:50 +08:00
zhulongcheng 090e16a1e7 update swagger User schema to match endpoint response 2018-12-15 00:14:00 +08:00
zhulongcheng 496dc5f730 fix a typo 2018-12-15 00:13:11 +08:00
Lyon Hill f723192d5c
Add ready checking into swagger and update the doc to match health check (#1925)
* Add ready checking into swagger and update the doc to match health checking

* make a few minor changes to the swagger doc
2018-12-14 08:53:25 -07:00
Brandon Farmer 41757e17e7 Move org resources to use generated client 2018-12-13 16:57:53 -08:00
Brandon Farmer f5a035bffc
Merge pull request #1909 from influxdata/chore/switch-buckets-ui-generated
Switch buckets ui to use generated client
2018-12-13 16:42:18 -08:00
Jade McGough 909fb6e98c
fix(http): remove id param for /buckets and update swagger (#1942) 2018-12-13 16:27:34 -08:00
Brandon Farmer 816e5def43 Switch buckets ui to use generated client 2018-12-13 16:23:48 -08:00
Christopher M. Wolff a28dfe8f79
fix(query): restore error messages in repl (#1936)
Fixes #1932
2018-12-13 14:11:17 -08:00
Jade McGough 7d114afbc4
fix(http): op and error keys no longer required in error responses (#1934) 2018-12-13 12:02:59 -08:00
Kelvin Wang 6ca7c68e2e fix(http): convert dashboard errors 2018-12-13 14:36:46 -05:00
kelwang f32b6f2fea
Merge pull request #1924 from zhulongcheng/conv-macro-err
fix(http): convert macro errors
2018-12-13 12:45:42 -05:00
Chris Goller b7a8361977
Merge pull request #1556 from zhulongcheng/fix-auth-definition
docs(http): update authorization definition
2018-12-13 09:13:51 -06:00
zhulongcheng 8522c93063 fix(http): convert macro errors 2018-12-13 23:11:52 +08:00
Iris Scholten 6a2e507389
Merge pull request #1899 from influxdata/swagger-telegraf-config-schema
Update telegraf config schema to match cur swagger
2018-12-12 15:23:55 -08:00
Iris Scholten 50fbba9227 Update telegraf config schema to match cur swagger
chore(http): updated go validation library and fixed swagger test

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-12-12 15:11:18 -08:00
Nathaniel Cook d65a980f9b
Merge pull request #1839 from influxdata/flux-staging
chore: update Flux to v0.9.0
2018-12-12 15:57:46 -07:00
Iris Scholten 0ed9c1bd6a Fix(ui/onboarding): Fix signin
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-12-12 11:40:19 -08:00
Brandon Farmer f67eb65562
Merge pull request #1859 from influxdata/chore/move-user-api-generated
Use generated client for users endpoints
2018-12-12 11:16:51 -08:00
Nathaniel Cook 896837b9e5 Merge branch 'master' into flux-staging 2018-12-12 11:41:35 -07:00
kelwang d13064d6ef
Merge pull request #1787 from influxdata/convert_user_error
fix(http): convert user errors
2018-12-12 13:31:46 -05:00
Jade McGough 78d0fc2b17
fix(testing): compare expected error messages against actual (#1857)
* fix(testing): compare expected error messages against actual

* remove nonsense

* remove nonsense

* add expected error message for bucket not found

* oops
2018-12-12 10:24:33 -08:00
Jade McGough 58ff2c4eec
fix(http): don't panic if an invalid macro id is requested (#1848) 2018-12-12 09:18:56 -08:00
Jonathan A. Sternberg 23e6b59497
fix(http): update the query handler to use valid flux syntax
The test used `AND` instead of `and` which is not valid syntax. It also
did not include packages and imports in the generated JSON from parsing
the flux query.
2018-12-12 11:11:56 -06:00
zhulongcheng 75ce16b633 make prev/next links omitempty 2018-12-13 00:16:24 +08:00
zhulongcheng 6d27a08208 flatten paging links 2018-12-12 23:25:07 +08:00
Edd Robinson 46aed2774f Add uptime to ready endpoint 2018-12-12 11:41:50 +00:00