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
Ryan Uber
1d4a6ea790
consul/state: test for index modification during deletes
2015-10-15 14:59:09 -07:00
Ryan Uber
8a8aef0503
consul/state: add service delete functions
2015-10-15 14:59:09 -07:00
Ryan Uber
8c38210559
consul/state: working on node deletion
2015-10-15 14:59:09 -07:00
Ryan Uber
66b3250e55
consul/state: add function for returning all nodes
2015-10-15 14:59:09 -07:00
Ryan Uber
8671c5f80b
consul/state: track highest index when querying services
2015-10-15 14:59:09 -07:00
Ryan Uber
a52ed3c35b
consul/state: querying node services works
2015-10-15 14:59:09 -07:00
Ryan Uber
f9823a2a08
consul/state: read transactions don't block writes
2015-10-15 14:59:09 -07:00
Ryan Uber
0085512eb8
consul/state: more tests for EnsureNode/GetNode
2015-10-15 14:59:09 -07:00
Ryan Uber
b2d9c10fad
consul/state: working on service registration storage
2015-10-15 14:59:09 -07:00
Ryan Uber
82039191a1
consul/state: node registration and retrieval works
2015-10-15 14:59:09 -07:00
Ryan Uber
8181be18f2
consul/state: start tests for schema
2015-10-15 14:59:09 -07:00
Ryan Uber
89f87b7b5e
consul/state: round out schema
2015-10-15 14:59:09 -07:00
Ryan Uber
633a270803
consul/state: starting on new state store
2015-10-15 14:59:09 -07:00
Ryan Uber
e115ada1e6
Merge pull request #1307 from hashicorp/f-rpc
...
Switch to net-rpc-msgpackrpc
2015-10-15 14:57:54 -07:00
Ryan Uber
b6ca82dd41
consul: comment msgpack handle
2015-10-15 14:57:29 -07:00
Ryan Uber
2715b93619
Fix CHANGELOG
2015-10-15 14:52:58 -07:00
Ryan Uber
d6af59cded
Merge pull request #1309 from hashicorp/f-remove-migrate
...
Removes consul-migrate for 0.6
2015-10-15 14:50:19 -07:00
Jeff Mitchell
b8e4c8deb8
Merge pull request #1310 from hashicorp/fix-http-defaultclient
...
Don't use http.DefaultClient
2015-10-15 17:49:55 -04:00
Jeff Mitchell
f49fc095ef
Don't use http.DefaultClient
...
Two of the changes are in tests; the one of consequence is in the API.
As explained in #1308 this can cause conflicts with downstream programs.
Fixes #1308 .
2015-10-15 17:49:35 -04:00
Ryan Uber
bdd1a9d064
Update CHANGELOG.md
2015-10-15 14:48:59 -07:00