0f4b1435d9
move implementations to external repos ( #17 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-25 13:44:41 +03:00
c4a303190a
lint fixes ( #14 )
...
* lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-21 14:53:21 +03:00
199ff66bd4
enable cache for build, closes #8 ( #12 )
...
* enable cache for build, closes #8
* goimports
* lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-20 15:23:41 +03:00
0a42845a40
fix tests
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-20 14:20:27 +03:00
Dominic Wong
d5da9c0728
Unify the store tests ( #1952 )
...
Add more tests for store
2020-08-20 14:20:12 +03:00
06136312bb
regen files with never protoc ( #6 )
...
* regen files with never protoc
* rewrite import path
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-19 17:47:17 +03:00
Dominic Wong
2eac8ed64f
Fix cockroach store not respecting WriteTTL option ( #1943 )
...
* cockroach fixes for expiry
* cockroach should run in the background
2020-08-18 18:30:05 +01:00
Asim Aslam
1fa3ac5599
write nil when expiry is zero
2020-08-12 12:52:14 +01:00
Dominic Wong
69a53e8070
expiry can be taken from options or record ( #1928 )
2020-08-11 18:11:18 +01:00
Asim Aslam
563768b58a
v3 refactor ( #1868 )
...
* Move to v3
Co-authored-by: Ben Toogood <bentoogood@gmail.com>
2020-07-27 13:22:00 +01:00
Dominic Wong
9dfeb98111
cockroach typo in init ( #1872 )
2020-07-27 10:16:40 +01:00
ben-toogood
68927e875b
store/service: use client passed in Init options ( #1843 )
2020-07-15 14:01:33 +01:00
Alex Unger
42c28f2b6d
Fix Comments ( #1833 )
...
* update store url
* fix leftover copy paste
2020-07-14 13:13:32 +01:00
Janos Dobronszki
3f4b58b58c
Let bolt do locking per each List Get etc op, instead of managing fil… ( #1831 )
2020-07-14 10:35:46 +02:00
Lars Lehtonen
2b033b6495
store/cockroach: fix dropped errors ( #1796 )
...
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-07-06 20:14:36 +01:00
Dominic Wong
5967a68e78
cached file store ( #1739 )
...
* cached file store
2020-06-26 16:13:53 +01:00
ben-toogood
58c6bbbf6b
registry/service: pass domain options via rpc ( #1719 )
...
* registry/service: regenerate proto
* registry/service: pass domain in proto request options
* registry/service: stop defaulting metadata
* registry: add default domain const; remove from implementations
* registry/memory: fix typo
2020-06-19 10:34:12 +01:00
Dominic Wong
aec27be9b4
Fix race when opening DB for first time ( #1691 )
2020-06-12 10:42:52 +01:00
Asim Aslam
7b379bf1f1
WIP: Add metadata to store record ( #1604 )
...
* Add metadata to store record
* Add metadata to cockroach store
* add metadata to store service implementation
* fix breaking cache test
* Test/fix cockroach metadata usage
* fix store memory metadata bug
2020-06-03 09:45:08 +01:00
Asim Aslam
6a661fd08c
check if the db conn is nil before doing anything ( #1652 )
2020-05-20 14:03:38 +01:00
Ben Toogood
410fec8ee4
Fix auth bug
2020-05-13 16:49:17 +01:00
Ben Toogood
efb64b7dbb
Pass client to more of the runtime
2020-05-11 17:57:39 +01:00
Ben Toogood
506006f0fa
Auth Options
2020-05-11 11:47:59 +01:00
ben-toogood
5387f73b5d
Handle cockroach createDB error ( #1603 )
2020-05-06 10:58:14 +01:00
Asim Aslam
08a2de1ef5
Account for missing options database/table in cockroach store
2020-05-01 15:31:55 +01:00
Asim Aslam
7a2dea6cc2
Set database/table from init first
2020-05-01 15:22:44 +01:00
Asim Aslam
e8105d22ad
cruft
2020-05-01 00:25:17 +01:00
Asim Aslam
c76a5e608d
sql fixes
2020-04-30 23:53:54 +01:00
Asim Aslam
359b8bc503
Add opts to service proto ( #1517 )
...
* Add opts to service proto
* Support database/table opts
2020-04-30 22:51:25 +01:00
268651df18
regenerate all proto based files ( #1531 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-14 16:25:09 +03:00
Asim Aslam
51d4f737b8
fixup store cache#
2020-04-11 12:10:19 +01:00
Asim Aslam
3f81f685df
Move sync
2020-04-11 12:00:34 +01:00
Asim Aslam
bb1ccf09e8
prefix store dir
2020-04-11 11:23:41 +01:00
Asim Aslam
6d553cb6fe
add whitespace
2020-04-11 09:34:04 +01:00
Asim Aslam
c612d86480
Move sync store
2020-04-11 09:33:10 +01:00
Asim Aslam
d4b2c948dd
Remove cloudflare store
2020-04-10 19:50:57 +01:00
Asim Aslam
57853b2849
remove etcd store
2020-04-10 17:43:02 +01:00
Jake Sanders
6a666c9c7d
Add json tags to store.Record ( #1518 )
2020-04-09 19:38:43 +01:00
Asim Aslam
53549b6b30
Add options for Database/Table ( #1516 )
...
* Add options for Database/Table
* fix opts
2020-04-09 17:56:13 +01:00
Jake Sanders
0a27a08184
Add Databases and Tables endpoints to store RPC proto ( #1515 )
...
* Add Databases and Tables to store RPC
* add Database to TablesRequest
2020-04-09 16:37:32 +01:00
8c1b477279
store/cockroach: fixup test ( #1512 )
...
* store/cockroach: fixup test
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-09 14:58:50 +03:00
Jake Sanders
2e379ca7d0
Don't break the build!
2020-04-09 12:18:02 +01:00
Jake Sanders
2659215d5e
cockroachDB doesn't support this syntax ( #1509 )
2020-04-09 12:11:24 +01:00
1063b954de
dont display t.Log/t.Logf as errors in github actions ( #1508 )
...
* fix tests and github action annotations
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-09 14:05:46 +03:00
Jake Sanders
1e7cd8c484
Make the constraint explicit rather than inferred ( #1506 )
2020-04-08 23:52:35 +01:00
Asim Aslam
45700eaabe
set database/table in header
2020-04-08 19:25:57 +01:00
Jake Sanders
77f5cc5023
Fix nil dereference in cloudflare store ( #1504 )
2020-04-08 13:00:30 +01:00
Jake Sanders
cc027d900e
Close statements, add default table if the store was not initialised through service.Init() ( #1502 )
2020-04-08 12:08:08 +01:00
Asim Aslam
98fc3dfbad
use single data bucket
2020-04-08 09:57:51 +01:00
Asim Aslam
4b0e27413e
add Store Close method ( #1500 )
...
* add Store Close method
* Update sync store build failure
2020-04-08 09:51:10 +01:00