James Phillips
b91e2d3a97
Completes rebase of network coordinates to new memdb.
2015-10-23 15:23:01 -07:00
James Phillips
7d5e29f6c6
Cleans up after latest rebase.
2015-10-23 15:23:01 -07:00
James Phillips
ee1cf1e13b
Adds distance sorting to health endpoint. Cleans up unit tests.
2015-10-23 15:23:01 -07:00
James Phillips
033e8e6625
Adds sort of DCs in catalog queries based on RTT. Cleans up.
...
* Makes the catalog endpoint respect disabling coordinates for all
RTT-sorting query types.
2015-10-23 15:23:01 -07:00
James Phillips
b63909cf67
Adds coordinate sorting support to catalog queries for nodes and service nodes.
2015-10-23 15:23:01 -07:00
James Phillips
3fedffbffb
Gets rid of the transitional "New" suffix on state store and RPC.
2015-10-15 14:59:09 -07:00
James Phillips
1463e6100a
Integrates new state store into leader and catalog/health endpoints.
2015-10-15 14:59:09 -07:00
James Phillips
cbcd977a39
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
33741f9156
consul: initial pass at refactoring RPC using net-rpc-msgpackrpc
2015-10-13 22:15:23 -07:00
Dale Wijnand
c5168e1263
Fix a bunch of typos.
2015-09-15 13:22:08 +01:00
Shawn Cook
d4ec6aa630
Update tests - NodeService init needs bool
2015-08-20 09:09:26 -07:00
Ryan Uber
36bddeca25
consul: filter services by ACL when using ChecksInState.
2015-07-27 16:57:56 -07:00
Ryan Uber
e413b0e7c7
consul: better tests for acl filtering
2015-06-11 13:23:49 -07:00
Ryan Uber
aa87f2b73c
consul: rename function to avoid collision and clean up
2015-06-11 13:04:47 -07:00
Ryan Uber
404d4d653c
consul: testing health endpoint service acl filtering
2015-06-11 09:39:35 -07:00
Ryan Uber
1e2751511d
consul: testing catalog endpoint acl filtering
2015-06-10 22:14:58 -07:00
Daniel Malon
e56b3861dc
advertise specific address for a service
...
Enable setting a specific address in a service definition for advertise. If no specific address is given it will fallback to the node address and reassemble the old behaviour.
2015-01-02 21:10:05 +00:00
Armon Dadgar
402d580863
consul: Check that ACL also allows registration
2014-11-30 21:10:42 -07:00
Armon Dadgar
d74f79b3fa
consul: Enforce service registration ACLs
2014-11-30 21:05:15 -07:00
Armon Dadgar
a80478594a
consul: Fix non-deterministic session IDs
2014-10-09 11:54:47 -07:00
William Tisäter
31037338a3
Change order of fixtures
2014-07-23 23:42:22 +02:00
William Tisäter
93e89b8148
Remove TODO comments
2014-05-26 23:44:46 +02:00
Armon Dadgar
9470f9a5a2
gofmt
2014-05-20 16:25:29 -07:00
Armon Dadgar
59c0d35184
Merge pull request #145 from abursavich/master
...
consul: use empty slice instead of nil slice when no tags exist for /v1/catalog/services
2014-05-19 15:37:43 -07:00
Andrew M Bursavich
1dd3dfe801
use empty slice instead of nil slice when no tags exist for service
2014-05-13 00:18:36 -07:00
William Tisäter
2f23eb42ea
Add TODOs for failing tests
2014-05-09 11:38:29 +02:00
William Tisäter
a211e1164c
Fix race condition in `TestCatalogListNodes`
2014-05-09 03:00:56 +02:00
William Tisäter
30f8573c78
Change blocking call sleep time
2014-05-09 02:36:25 +02:00
William Tisäter
89c018b681
Remove all sleeps from `catalog_endpoint_test.go`
2014-05-09 01:18:35 +02:00
William Tisäter
463f85c3c7
Move argument structs back in original position
2014-05-07 23:51:15 +02:00
William Tisäter
c624161827
Move `WaitForLeader` calls to top of test
2014-05-07 23:47:16 +02:00
William Tisäter
bdbe97545a
Drop client arguments from `WaitForLeader`
2014-05-07 23:41:14 +02:00
William Tisäter
2019f454d0
Fix `TestCatalogListNodes_StaleRaad` with `WaitForLeader`
2014-05-07 13:53:29 +02:00
William Tisäter
81b572cb31
Proof of concept using `WaitForResult` in tests
2014-05-07 02:48:25 +02:00
Armon Dadgar
28bd111098
consul: Adding strongly consistent read tests
2014-04-21 12:08:00 -07:00
Armon Dadgar
37f38fca15
consul: Testing a stale read
2014-04-21 11:57:39 -07:00
Armon Dadgar
dbdfcbc717
consul: Testing QueryMeta
2014-04-21 10:59:46 -07:00
Armon Dadgar
da9c89e9ba
consul: Support a stale read query
2014-04-21 10:59:46 -07:00
Armon Dadgar
1c3e574c71
consul: Updating all the tests
2014-04-03 12:03:10 -07:00
Armon Dadgar
f0134e42c6
consul: Support blocking queries for the Catalog
2014-02-05 11:10:10 -08:00
Armon Dadgar
b0707df2ab
consul: Enable ListNodes and ListServices to be a blocking query
2014-02-05 11:00:43 -08:00
Armon Dadgar
369193fbd6
consul: updating state store to associate changes with raft index
2014-02-04 18:33:15 -08:00
Armon Dadgar
9b80ab9a61
consul: benchmark the ListNodes RPC method
2014-02-01 12:16:33 -08:00
Armon Dadgar
26134960b1
Auto-register the consul service
2014-01-09 17:57:13 -08:00
Armon Dadgar
6992e8bf61
Fixing some tests
2014-01-09 17:22:01 -08:00
Armon Dadgar
490abc75a6
Minor structs cleanup
2014-01-08 14:43:36 -08:00
Armon Dadgar
dff6b6e3c5
Adding stubs for Health endpoints
2014-01-08 13:52:09 -08:00
Armon Dadgar
ad346fecdf
Adding FSM support for register/deregister health checks
2014-01-08 13:39:40 -08:00
Armon Dadgar
a84fdd51e1
Update for new interfaces
2014-01-08 10:31:42 -08:00
Armon Dadgar
870074056f
Support non-unique service entries per node
2014-01-06 14:18:38 -08:00