influxdb/testing
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
..
auth.go fix(http): convert auth errors 2018-11-16 19:30:34 -05:00
basic_auth.go (feat/testing) add onboarding and basic auth service 2018-11-02 12:20:45 -04:00
bucket_service.go Revert "Revert "convert /buckets endpoint error to platform error "" 2018-11-30 13:27:40 -05:00
cells.go Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
dashboards.go chore(bolt,http,mock,query,testing): fix megacheck errors 2018-11-01 12:54:46 -07:00
dbrp_mapping.go refactor(testing): rename MustIDFromString to MustIDBase16 2018-10-11 09:54:19 -05:00
keyvalue_log.go feat(platform): add keyvalue log interface with boltdb implementation 2018-10-31 09:41:55 -04:00
label_service.go Labels (#1668) 2018-12-03 08:07:08 -08:00
macro.go fix(http): convert auth errors 2018-11-16 19:30:34 -05:00
onboarding.go (feat/testing) add onboarding and basic auth service 2018-11-02 12:20:45 -04:00
organization_service.go tests(http): add tests for creation without IDs 2018-10-12 10:03:06 +02:00
scraper_target.go fix scraper id 2018-10-12 10:03:06 +02:00
secret.go feat(vault): add vault implementation of secret service 2018-11-30 13:07:32 -08:00
session.go chore(bolt,http,mock,query,testing): fix megacheck errors 2018-11-01 12:54:46 -07:00
source.go chore(bolt,http,mock,query,testing): fix megacheck errors 2018-11-01 12:54:46 -07:00
telegraf.go fix 404 to an empty array 2018-11-14 11:16:48 -05:00
user_resource_mapping_service.go refactor(testing): rename MustIDFromString to MustIDBase16 2018-10-11 09:54:19 -05:00
user_service.go fix(http): convert auth errors 2018-11-16 19:30:34 -05:00
util.go fix(http): convert auth errors 2018-11-16 19:30:34 -05:00