influxdb/bolt
Michael Desa 28cea4d957 feat(platform): add generic kv store
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

feat(kv): add kv store interface for services

feat(bolt): add boltdb implementation of kv.Store

spike(platform): add kv backed user service

feat(kv): add static cursor

Note here that this operation cannot be transactionally done. This poses
a bit of issues that will need to be worked out.

fix(bolt): use error explicit error message

squash: play with interface a bit

fix(kv): remove commit and rollback from kv interface

feat(inmem): add inmem kv store

chore: add note for inmem transactions

fix(bolt): remove call to tx in kv store tests

feat(kv): add tests for static cursor

doc(kv): add comments to store and associated interfaces

doc(bolt): add comments to key value store

feat(testing): add kv store tests

test(testing): add conformance test for kv.Store

test(inmem): add kv.Store conformance tests

doc(inmem): add comments to key value store

feat(inmem): remove CreateBucketIfNotExists from Tx interface

feat(bolt): remove CreateBucketIfNotExists from Tx

feat(inmem): remove CreateBucketIfNotExists from Tx

doc(kv): add note to bucket interface about conditions methods can be called

feat(kv): add context methods to kv.Tx

feat(bolt): add context methods to bolt.Tx

feat(inmem): add context methods to inmem.Tx

test(kv): add contract tests for view/update transactions

feat(kv): ensure that static cursor is always valid

Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

fix(kv): remove error from cursor methods

test(kv): remove want errors from cursor test

test(testing): add concurrent update test for kv.Store

feat(kv): make kv user service an example service

fix(testing): add concurrnent update test to the kv.Store contract tests

test(platform): fix example kv service tests

dep(platform): make platform tidy
2018-12-18 16:08:48 -05:00
..
authorization.go leo's proposed change 2018-11-16 19:33:20 -05:00
authorization_test.go fix(http): convert auth errors 2018-11-16 19:30:34 -05:00
basic_auth_service.go fix(http): convert user errors 2018-12-11 20:11:26 -05:00
basic_auth_service_test.go (feat/testing) add onboarding and basic auth service 2018-11-02 12:20:45 -04:00
bbolt.go Labels (#1668) 2018-12-03 08:07:08 -08:00
bbolt_test.go feat(platform): add generic kv store 2018-12-18 16:08:48 -05:00
bucket.go Labels (#1668) 2018-12-03 08:07:08 -08:00
bucket_test.go Revert "Revert "convert /buckets endpoint error to platform error "" 2018-11-30 13:27:40 -05:00
dashboard.go fix(http): convert dashboard errors 2018-12-13 14:36:46 -05:00
dashboard_test.go fix(http): convert dashboard errors 2018-12-13 14:36:46 -05:00
keyvalue_log.go Ensure error don't end in punctuation: ST1005 2018-11-30 10:54:24 +00:00
keyvalue_log_test.go feat(platform): add keyvalue log interface with boltdb implementation 2018-10-31 09:41:55 -04:00
kv.go feat(platform): add generic kv store 2018-12-18 16:08:48 -05:00
kv_test.go feat(platform): add generic kv store 2018-12-18 16:08:48 -05:00
label.go fix more error responses 2018-12-18 09:22:48 -08:00
label_test.go use new error library 2018-12-17 23:59:04 -08:00
macro.go fix(http): convert macro errors 2018-12-13 23:11:52 +08:00
macro_test.go fix(http): convert macro errors 2018-12-13 23:11:52 +08:00
onboarding.go feat(auth): add description string to Authorization 2018-12-07 14:22:23 -08:00
onboarding_test.go (feat/testing) add onboarding and basic auth service 2018-11-02 12:20:45 -04:00
organization.go fix(http): convert org errors endpoint 2018-12-06 11:05:13 -05:00
organization_test.go fix(http): convert org errors endpoint 2018-12-06 11:05:13 -05:00
scraper.go fix(http): convert scraper target error 2018-12-17 09:08:19 -05:00
scraper_test.go fix(http): convert scraper target error 2018-12-17 09:08:19 -05:00
secret.go feat(vault): add vault implementation of secret service 2018-11-30 13:07:32 -08:00
secret_test.go feat(bolt): add boltdb implementation of secret service 2018-11-15 12:42:01 -05:00
session.go fix(http): convert user errors 2018-12-11 20:11:26 -05:00
session_test.go test(bolt): ensure boltdb session service conforms to tests 2018-09-27 15:45:16 -04:00
source.go test(bolt): add tests for missing orgs and buckets (#1051) 2018-10-11 13:31:46 -05:00
source_test.go fix(bolt/source): insert missing organization IDs 2018-10-11 09:54:18 -05:00
telegraf.go fix 404 to an empty array 2018-11-14 11:16:48 -05:00
telegraf_test.go add telegraf store service 2018-10-17 15:01:04 -04:00
user.go fix(http): convert user errors 2018-12-11 20:11:26 -05:00
user_resource_mapping.go fix(platform): use authorizer instead of authorizion for endpoints 2018-11-20 10:56:58 -08:00
user_resource_mapping_test.go feat(bolt): user-resource mapping boltdb implementation (#900) 2018-09-27 12:15:26 -07:00
user_test.go feat(platform): add generic kv store 2018-12-18 16:08:48 -05:00
view.go Feat/filter view type (#1781) 2018-12-07 17:15:24 -08:00
view_test.go feat(platform): move chronogaf v2 dashboards to platform 2018-08-24 13:22:58 -04:00