Commit Graph

16 Commits

Author SHA1 Message Date
Steve Streeting
9e815e53b4 fetchLocksToCache -> refreshLockCache 2016-12-14 09:46:36 +00:00
Steve Streeting
2d42802239 Refine naming for LockCache methods 2016-12-14 09:44:58 +00:00
Steve Streeting
21cb7a2b83 Move detail of locks cache into dedicated LockCache type 2016-12-13 14:48:17 +00:00
Steve Streeting
fdb85ac0d4 Expose the minimum guaranteed information from locking.Lock
API version currently has some fields which may go away, or which may
be solely internal in future. For now only expose the fields which are
always useful.
2016-12-12 15:04:36 +00:00
Steve Streeting
f71598bc20 Add test for cached locks, fix cached locks 2016-12-12 14:56:40 +00:00
Steve Streeting
3ea24f1647 Add lock tests and tweak cache to store entire locks 2016-12-12 10:26:12 +00:00
Steve Streeting
7ac855b684 Add Close func to lock Client to save cache 2016-12-12 10:26:12 +00:00
Steve Streeting
761656d01b Report errors when creating dir structure for lock cache 2016-12-06 10:06:46 +00:00
Steve Streeting
cf1b0e1ed8 Move CurrentCommitter to Configuration instead of API
This removes another implicit dependency on global config from API pkg
2016-12-05 11:45:24 +00:00
Steve Streeting
de63cd1d46 Remove remote arg from lock methods, configuration handles this now 2016-12-05 11:25:02 +00:00
Steve Streeting
7d835d5851 HttpLifecycle really depends on Configuration not just EndpointAccess 2016-12-05 11:15:36 +00:00
Steve Streeting
491070607c Create a Client stateful wrapper for locking API 2016-12-05 09:47:29 +00:00
Steve Streeting
7f578a97ce Make error types public 2016-11-28 17:09:49 +00:00
Steve Streeting
5cd9dcee01 Drop channel wrappers in locking pkg, simplify & make self-contained 2016-11-28 17:01:06 +00:00
Steve Streeting
4f6fdb8dc2 Make api.Client instance local not public 2016-11-28 16:20:04 +00:00
Steve Streeting
092c879dbe Move lock implementation to separate package 2016-11-28 16:20:04 +00:00