Commit Graph

275 Commits (0a7a061ae752c9d4b5514a2d8dc683e872ba2cf3)

Author SHA1 Message Date
Michael Desa 3d653521d2 feat(platform): add meta field to dashboards
feat(testing): test for meta field on dashboard conformance tests

feat(http): ensure that dashboard json is encoded correctly

feat(bolt): update dashboard meta appropriately

fix(testing): use equate empty in dashboard test for empty cells list

feat(inmem): add meta to dashboards for conformance tests

feat(http): add support for dashboard conformance tests

feat(platform): add find options to FindDashboards method on dashboard svc

feat(testing): use find options in dashboard conformance tests

feat(mock): add find options to dashboard service

feat(bolt): add find options to dashboard service

feat(inmem): add find options to dashboard service

feat(http): add find options to dashboard service

feat(http): update dashboard swagger specification

fix(platform): fix mistakes after rebase

review(http): use default find options for dashboards
2018-10-23 13:43:06 -04:00
Chris Goller ba6c33b34e
Merge pull request #1078 from influxdata/test/swagger
test(swagger) add swagger validation test
2018-10-23 09:00:29 -05:00
Chris Goller 3072c0e3a5 test(http): remove spurious byte cast 2018-10-23 08:47:21 -05:00
Chris Goller a6464d5010 test(swagger) add swagger validation test 2018-10-23 08:47:21 -05:00
Chris Goller a6355c5442 feat(http): buckets now have multiple retention rules 2018-10-23 08:18:31 -05:00
Chris Goller a730bafaab docs(http): update dashboard with description 2018-10-22 20:44:25 -05:00
Chris Goller ad82fe9379 feat(dashboard): add description fields to dashboard 2018-10-22 20:25:18 -05:00
Jade McGough a057bc613a
Merge pull request #1103 from influxdata/fix/member-endpoints
fix member endpoints panic
2018-10-22 13:12:45 -07:00
Kelvin Wang c54df3d052 refactor(token): remove context token 2018-10-19 12:39:54 -04:00
Kelvin Wang 60fdf79726 add retention policy 2018-10-18 16:04:21 -04:00
Jade McGough 8b12e90a46 run go fmt 2018-10-16 15:18:22 -07:00
Jade McGough 9180e13093 fix(http): add zero value mock implementation of u/r mapping service 2018-10-16 15:14:16 -07:00
Jade McGough d280b7ea43 fix(http): inject user_resource_mapping_service when creating route handlers 2018-10-16 14:49:35 -07:00
Jade McGough 6268946aef chore(http): genericize references to orgs in user_resource_mapping_service 2018-10-16 14:23:56 -07:00
Jade McGough 1e0ad7a95d chore(http): remove unused handlers in org_service 2018-10-16 14:12:28 -07:00
Kelvin Wang 684b4e19a2 add json telegraf config 2018-10-16 10:21:27 -04:00
Kelvin Wang 020f944d14 draft of telegraf 2018-10-12 17:51:36 -04:00
Kelvin Wang 27b2715264 fix scraper id 2018-10-12 10:03:06 +02:00
Chris Goller b4e1cd4199 tests(http): add tests for creation without IDs 2018-10-12 10:03:06 +02:00
Chris Goller 4eadff4f55
docs(http): tasks fields can now be updated (#1059)
* docs(http): tasks fields can now be updated

* docs(http): update task name description
2018-10-11 17:24:58 -05:00
Jade McGough ce9c06f5c8 update swagger 2018-10-11 11:15:02 -07:00
Jade McGough 4a951cfca8 feat(http): add user/member endpoints to view service 2018-10-11 11:15:02 -07:00
Jade McGough 7e11247384 use constants for view service http routes 2018-10-11 11:15:02 -07:00
Chris Goller 735062c798 chore(http): update user server after rebase 2018-10-11 09:54:19 -05:00
Chris Goller 2bea48f15a refactor(testing): rename MustIDFromString to MustIDBase16 2018-10-11 09:54:19 -05:00
Chris Goller 4ead3308cf chore(http): remove extra blank line 2018-10-11 09:54:19 -05:00
Chris Goller 7a0206b2a5 refactor(http): remove variables named temp 2018-10-11 09:54:19 -05:00
Leonardo Di Donato ad7b756e45 fix(platform): platform test and pointers
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 3d732812d4 update(platform/http): partial refactoring for uint64 IDs 2018-10-11 09:54:18 -05:00
Leonardo Di Donato 6725ae6f64 feat(platform/id): method to create an invalid id
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 1ca7cd2a86 fix(http): session tests using uint64 IDs now 2018-10-11 09:54:18 -05:00
Leonardo Di Donato 95dfff47c6 fix(http): porting tests to uint64 IDs
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-By: Lorenzo Fontana <lo@linux.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 3ebc6548e3 fix(bolt/source): insert missing organization IDs
Before was working since 0 ids (eg., organization ID of empty source
istances) were valid ones. Not anymore.
2018-10-11 09:54:18 -05:00
Leonardo Di Donato d54fdd51e0 wip(http): porting to uint64 IDs
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 9fa032da28 fix(http): refactoring to support uint64 platform.IDs
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-By: Lorenzo Fontana <lo@linux.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 8d7f06cf4b feat(platform/id): using uint64 for platform.IDs
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-by: Lorenzo Fontana <lo@linux.com>
2018-10-11 09:54:18 -05:00
Jonathan A. Sternberg e7e17d6972
refactor: move the logger package from influxdb to platform
We are moving the necessary code for 2.0 from the influxdb 1.X
repository to the platform 2.0 repository. The logger is an unnecessary
dependency on the old influxdb that is making life more complicated.
2018-10-10 15:49:07 -05:00
Brandon Farmer d6c18abfd5
Merge pull request #1030 from influxdata/add-me-endpoint
Add a me endpoint for chronograf
2018-10-10 13:46:11 -07:00
Brandon Farmer 0799765d1b Add me endpoint to links 2018-10-10 13:31:34 -07:00
Lyon Hill 610faf18e7
Update the scheduler to add a few task logs (#1029) 2018-10-10 12:37:11 -06:00
Brandon Farmer 3eae61c202 Add me endpoint to swagger 2018-10-10 10:29:05 -07:00
Brandon Farmer d65008d24b Add a me endpoint for chronograf
Returns the currently signed in user from session or token
2018-10-10 10:07:54 -07:00
Jade McGough bb6d8cf156 fix(http): inject resource type into Post member factory 2018-10-09 13:19:19 -07:00
Jade McGough 4c7f66a1c3 feat(http): add owner/member endpoints for tasks 2018-10-09 13:19:19 -07:00
Jade McGough bf29ff7ca3 convert task service http endpoints into constants 2018-10-09 13:19:19 -07:00
Jade McGough 4a59e877c7
Merge pull request #974 from influxdata/filter-owners
Filter dashboards by owner
2018-10-08 18:57:09 -07:00
Jade McGough bd672f6933 fix(http): support multiple IDs in dashboard GET params 2018-10-08 18:54:40 -07:00
Jade McGough 86266b37c1 feat(http): if owner is specified for dashboards GET, only return their dashboards 2018-10-08 18:51:16 -07:00
Jade McGough ce849bb39e feat(http): add ids param to dashboard endpoint 2018-10-08 18:51:16 -07:00
Chris Goller 90494a5309 chore(fmt): fix and simplify go formatting 2018-10-08 17:23:54 -05:00