James Phillips
|
4afd9a8599
|
Adds tombstone tests and gets rid of unused logger.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
ad246e06a5
|
Makes sure we don't create a full table watch for tombstones.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
930780efd9
|
Adds snapshot/restore and watch tests for KVS.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
18d60f95c5
|
Allows lock holder to re-lock and set a KV, adds tests for corner cases around sessions.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
75f9cd5cc3
|
Adds kvs lock/unlock tests.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
72f15ceac0
|
Adds snap and watch tests for nodes, services, and checks.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
005a7e0ab1
|
Adds node snap and watch tests as well as a general watch test.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
c8d0d09087
|
De-generalizes graveyard since that ended up as a YAGNI (only useful for KV).
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
537fd67464
|
Cleans up unit tests for consistency.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
f1ee05eba5
|
Adds ensure registration unit test (and fixes bugs).
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
e339ebf86e
|
Adds reap tombstone test (and fixes bugs).
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
bc34ae2f5c
|
Adds ACL snapshot/restore test.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
21bc8e0996
|
Adds a watch tester helper that helps cut the cruft.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
30736bae5a
|
Completes state store for KV, sessions, tombstones, and nodes/services/checks (needs tests and integration).
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
009fd7d9f5
|
Integrates new state store for ACLs.
|
2015-10-15 14:59:09 -07:00 |
James Phillips
|
d57431e300
|
Gets new structs changes to compile, adds some corner case handling and extra unit tests.
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
7bf7ba6099
|
consul/state: list acls
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
92191298d0
|
consul/state: implement acl delete
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
16188e7604
|
consul/state: basic acl set/get/delete
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
391d4eed57
|
consul/state: basic session destroy works
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
8fa82612d2
|
consul/state: more tests
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
876aa667ba
|
consul/state: refactor some tests
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
a93e3410b9
|
consul/state: session lookup by node id works
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
bd0de2c1e4
|
consul/state: add session list method
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
a4c202aa90
|
consul/state: adding session registration
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
b0856c2215
|
consul/state: adding tree delete for kvs store
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
291fbe02ba
|
consul/state: list keys from the kv with a prefix/separator
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
8b29bfa303
|
consul/state: fix for maxIndex and better tests
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
a0dc2ded8d
|
consul/state: add CAS method for kv set
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
8a70ba2cc5
|
consul/state: initial pass at CAS delete operation for kvs
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
4ba89adb7d
|
consul/state: adding KVSList for listing a given prefix
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
a0fd9feda3
|
consul/state: adding shallow delete for kvs store
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
08d41224a3
|
consul/state: basic k/v operations
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
f05a322dc7
|
consul/state: adding node dump methods
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
3b36744277
|
consul/state: testing service registration update
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
26f717f215
|
consul/state: fetch node/check sets by service ID
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
f54a96f56b
|
consul/state: filter checks by state
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
2cde299be9
|
consul/state: support check lookups by service name
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
a4a73c3904
|
consul/state: return highest index for queries with compound results
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
9f281cbf80
|
consul/state: cleanup
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
e148bb55d8
|
consul/state: better tests for index table updates
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
fa8e015219
|
consul/state: test helpers
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
04d7e5849a
|
consul/state: node checks are removed with their associated nodes
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
aa14ca3a7c
|
consul/state: services are removed with their associated nodes
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
0809a7e825
|
consul/state: remove checks during service deregistration
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
b0132b140c
|
consul/state: add check deletion method
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
6ebed234bb
|
consul/state: set index if we have an existing health check
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
8c6f40f299
|
consul/state: negative tests
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
77f14af977
|
consul/state: basic health check retrieval works
|
2015-10-15 14:59:09 -07:00 |
Ryan Uber
|
cf569f4848
|
consul/state: persisting health checks works
|
2015-10-15 14:59:09 -07:00 |