603 Commits

Author SHA1 Message Date
Ryan Uber
389f89274a consul: fail badly if an unsupported type is passed to the ACL filter 2015-06-11 17:06:35 -07:00
Ryan Uber
e06e5c5e99 consul: fix log message 2015-06-11 15:00:26 -07:00
Ryan Uber
71f21fdea7 consul: testing acl filters in isolation 2015-06-11 14:14:43 -07:00
Ryan Uber
77721e3a1a consul: better tests for acl filtering 2015-06-11 13:23:49 -07:00
Ryan Uber
a4d34b66d6 consul: testing internal endpoint acl filtering 2015-06-11 13:05:33 -07:00
Ryan Uber
d217c25668 consul: rename function to avoid collision and clean up 2015-06-11 13:04:47 -07:00
Ryan Uber
6623538c93 consul: break acl filtering into a separate struct 2015-06-11 12:08:21 -07:00
Ryan Uber
0159511714 consul: testing health endpoint service acl filtering 2015-06-11 09:39:35 -07:00
Ryan Uber
5128924b00 consul: testing catalog endpoint acl filtering 2015-06-10 22:14:58 -07:00
Ryan Uber
4a9965f062 consul: begin testing discovery ACLs 2015-06-10 19:25:58 -07:00
Ryan Uber
5b90b0f249 consul: use anonymous function for acl filtering 2015-06-10 18:43:48 -07:00
Ryan Uber
5fed1b5dc3 consul: filter internal endpoints for acls 2015-06-10 18:40:40 -07:00
Ryan Uber
c68f1dab8a acl: initial pass at service discovery acls 2015-06-10 18:40:09 -07:00
James Phillips
feb7f65703 Bumps protocol version to 3 to get serf version 5. 2015-06-02 17:50:35 -07:00
Sam Boyer
40478cb534 Condense switch fallthroughs into expr lists 2015-05-26 21:30:14 -04:00
Armon Dadgar
cee5b53423 consul: adding StopWatch test 2015-05-14 18:32:19 -07:00
Armon Dadgar
ab3632e409 consul: lower default query time and add small stagger 2015-05-14 17:59:43 -07:00
Armon Dadgar
c51c888142 consul: adding randomStagger util method 2015-05-14 17:59:11 -07:00
Armon Dadgar
926b8bc7fa consul: proactively clear timers 2015-05-14 17:42:47 -07:00
Armon Dadgar
e62ff966a3 consul: ensure blocking query cleans any lingering state 2015-05-14 17:38:42 -07:00
Armon Dadgar
1a50225911 consul: Adding methods to stop watching for changes 2015-05-14 17:33:02 -07:00
Armon Dadgar
c54ab04794 consul: adding Clear to NotifyGroup 2015-05-14 17:30:30 -07:00
Armon Dadgar
ebf961ef8b Merge pull request #927 from hashicorp/f-tls
Add new `verify_server_hostname` to mitigate possibility of MITM
2015-05-11 18:15:16 -07:00
Armon Dadgar
8d86290ebf Fixing merge conflict 2015-05-11 16:48:10 -07:00
Armon Dadgar
beec4972de consul: support the new TLS wrapper 2015-05-11 15:15:36 -07:00
Armon Dadgar
6cf2efca0c consul: thread the target DC through the RPC path 2015-05-11 13:09:19 -07:00
Armon Dadgar
92e5548b23 consul: use tlsutil.Wrapper instead of tls.Config directly 2015-05-11 13:09:19 -07:00
Armon Dadgar
b4531164e9 consul: updating for Raft API changes 2015-05-08 11:35:52 -07:00
Armon Dadgar
5d0f83d73d consul: more telemetry on RPCs and queries 2015-05-07 17:25:12 -07:00
Armon Dadgar
f3a8f907fb Merge pull request #909 from hashicorp/f-create
Support ACL upsert behavior
2015-05-06 11:22:11 -07:00
Armon Dadgar
35744c7210 consul: Adding flag to support future incompatible commands. Future self will thank me. 2015-05-05 19:44:21 -07:00
Armon Dadgar
cc9bd0a00b consul: ACL.Apply allows upserting with custom ID 2015-05-05 19:19:45 -07:00
Armon Dadgar
8b8abe2268 consul: fixing overly redundant logging 2015-05-05 13:00:47 -07:00
Armon Dadgar
a86f31517b Merge pull request #816 from pepov/master
Support different advertise address for WAN gossip
2015-05-04 15:40:25 -07:00
Ryan Mills
c92d45dd9b Remove 'unknown' as one of the valid states when setting the initial state of a check. 2015-04-13 20:46:01 +00:00
Ryan Mills
275af975e8 Allow specifying a status field in the agent/service/register and agent/check/register endpoints.
This status must be one of the valid check statuses: 'passing', 'warning', 'critical', 'unknown'.
If the status field is not present or the empty string, the default of 'critical' is used.
2015-04-12 02:00:31 +00:00
Ryan Uber
6cc0eefa76 Merge pull request #857 from hashicorp/f-boltdb
Raft uses BoltDB
2015-04-10 18:30:07 -07:00
Armon Dadgar
5f921653cd consul: do not clear connection cache on RPC errors 2015-04-07 14:17:20 -07:00
pepov
8cfe42f5dc add test using separate advertise addresses for wan and for lan 2015-03-28 16:08:19 +01:00
Michael Fraenkel
8c26836783 Support SesionTTLMin configuration
- Allow setting SessionTTLMin
- Validate on the Server
2015-03-27 05:13:57 -07:00
Ryan Uber
ed67f6593f consul: swap over to raft-boltdb 2015-03-26 20:01:52 -07:00
Ryan Uber
1200e25ec9 consul: allow returning custom error for merge delegate 2015-02-22 18:24:10 -08:00
Ryan Breen
b78eb40ef4 s/data center/datacenter/g 2015-02-19 17:45:47 -05:00
Armon Dadgar
d92e5d37e3 Revert "* use defer to avoid tracking lock"
This reverts commit a030abdefc54470394a2a44008e02f3b3d0510ec.
This commit causes a connection to be leaked if there is a race with
another concurrent RPC.
2015-02-16 14:04:47 -08:00
Emil Hessman
87dca96152 consul: clean up TempDirs in FSM tests 2015-01-26 08:34:23 +01:00
Armon Dadgar
149f25aaff Merge pull request #621 from hashicorp/f-leave
Changing interaction between Leave and RemovePeers
2015-01-21 16:28:19 -08:00
Ryan Uber
674be58e55 agent: support multiple checks per service 2015-01-20 21:48:42 -08:00
Armon Dadgar
8dc077edaa consul: Testing leave as leader and non-leader 2015-01-20 16:30:56 -08:00
Armon Dadgar
6f48675f14 consul: Wait for RemovePeer in Leave as a follower 2015-01-20 16:19:54 -08:00
Armon Dadgar
38f276dc47 consul: remove ourself from raft peer set if we are the leader 2015-01-20 16:19:29 -08:00