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
Armon Dadgar
ca43075041
NodeServices struct now includes the node address
2014-01-02 17:29:39 -08:00
Armon Dadgar
76baf19c9a
Fixing bug in state store
2013-12-31 18:31:17 -08:00
Armon Dadgar
8fee0cd50a
Changing the Join interfaces to match Serf
2013-12-30 12:20:17 -08:00
Armon Dadgar
88396b966a
Move rpc structs into sub-package
2013-12-19 12:03:57 -08:00
Armon Dadgar
8409f9fc0a
Adding NodeServices endpoing
2013-12-12 11:46:25 -08:00
Armon Dadgar
7757943156
Support querying for ServiceNodes
2013-12-12 11:37:19 -08:00
Armon Dadgar
e1c927f218
Adding ability to list services
2013-12-12 11:07:14 -08:00
Armon Dadgar
d3cba241bf
Adding node listing
2013-12-12 10:48:36 -08:00
Armon Dadgar
9a76a2bf12
Support datacenter listing
2013-12-12 10:35:50 -08:00
Armon Dadgar
f73f2a6513
Test leader forwarding
2013-12-11 16:42:19 -08:00
Armon Dadgar
5135724dae
Adding support for cross-dc forwarding
2013-12-11 16:33:19 -08:00
Armon Dadgar
43cc986202
Adding support for deregistration
2013-12-11 15:34:10 -08:00