influxdb/inmem
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
..
auth_service.go fix(http): convert auth errors 2018-11-16 19:33:20 -05:00
auth_test.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
basic_auth_test.go (feat/testing) add onboarding and basic auth service 2018-11-02 12:20:45 -04:00
bucket_service.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
dbrp_mapping_service.go feat(inmem): add in-memory service implementations 2018-09-14 09:25:14 -05:00
dbrp_mapping_test.go feat(inmem): add in-memory service implementations 2018-09-14 09:25:14 -05: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_service.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_service.go fix(testing): compare expected error messages against actual (#1857) 2018-12-12 10:24:33 -08: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
service.go Labels (#1668) 2018-12-03 08:07:08 -08: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_resource_mapping_service.go chore(inmem): remove unused u/r mapping function (#1176) 2018-10-25 21:53:45 -07:00
user_resource_mapping_test.go feat(bolt): user-resource mapping boltdb implementation (#900) 2018-09-27 12:15:26 -07:00
user_service.go fix(http): convert user errors 2018-12-11 20:11:26 -05:00
user_test.go fix(http): convert user errors 2018-12-11 20:11:26 -05:00
view.go Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
view_test.go feat(inmem): add in-memory service implementations 2018-09-14 09:25:14 -05:00