Commit Graph

11594 Commits

Author SHA1 Message Date
Armon Dadgar 0964285761 Adding LANMembers to the Consul.Interface 2014-01-21 11:52:01 -08:00
Armon Dadgar 7aa278e2ef Allow setting the health check notes 2014-01-20 17:19:20 -10:00
Armon Dadgar 939c381d87 Adding CheckTTL for TTL based checks 2014-01-20 17:12:40 -10:00
Armon Dadgar a1b2a13df5 Testing the CheckMonitor 2014-01-20 16:58:05 -10:00
Armon Dadgar 9e63d1fa32 CheckMonitor runs forever and runs the first check immediately 2014-01-20 16:46:01 -10:00
Armon Dadgar a4201255df Adding basic CheckMonitor to invoke scripts 2014-01-20 16:44:23 -10:00
Armon Dadgar fe27fa191f Accept command line advertise addr 2014-01-20 15:17:12 -10:00
Armon Dadgar a6e4235b96 Adding tests for checks and services endpoints 2014-01-20 15:06:44 -10:00
Armon Dadgar cb7541c7af Exposing the agent checks and services over HTTP endpoints 2014-01-20 15:00:52 -10:00
Armon Dadgar d5d705b931 Adding tests for check anti-entropy 2014-01-20 14:31:02 -10:00
Armon Dadgar 1d3fb0772e Testing anti-entropy of services 2014-01-20 14:22:59 -10:00
Armon Dadgar 28a9598c91 Preventing multiple nodes in bootstrap mode from adding each other as Raft peers 2014-01-20 13:56:29 -10:00
Armon Dadgar 01c73ee9ae change isConsulServer to parse flags 2014-01-20 13:39:07 -10:00
Armon Dadgar be61bdc5b8 Handle the serf check and consul service 2014-01-15 17:28:23 -10:00
Armon Dadgar 4ee8bde861 Export the consul service id and name 2014-01-15 17:27:37 -10:00
Armon Dadgar 9d34893992 Export the serf check ID 2014-01-15 17:24:16 -10:00
Armon Dadgar 1feec1adf8 First pass at local state + anti-entropy 2014-01-15 15:14:50 -10:00
Armon Dadgar 554ebdfc9a Methods for random staggering 2014-01-15 12:34:17 -10:00
Armon Dadgar 46e3075344 Adding AEConfig and some methods to scale timing 2014-01-15 12:17:40 -10:00
Armon Dadgar 54359b9ad6 DNS filters service nodes if they have failing checks 2014-01-15 11:30:04 -10:00
Armon Dadgar 0e08e200e4 DNS Lookup uses Health.ServiceNodes 2014-01-15 11:20:01 -10:00
Armon Dadgar 7831f34606 CheckServiceNodes will return node checks that are not service associated 2014-01-15 11:14:28 -10:00
Armon Dadgar 15719e6d15 Adding tests for the health endpoints 2014-01-10 15:25:37 -08:00
Armon Dadgar 779bc3b50b First pass at health endpoints 2014-01-10 15:13:37 -08:00
Armon Dadgar 0cdd9071aa Do not remove ourself when we leave from Raft 2014-01-10 15:05:34 -08:00
Armon Dadgar ee37fbc6a2 Fixing testServerDC method 2014-01-10 12:58:04 -08:00
Armon Dadgar cf29019545 Simplify Raft peer adds using only reconciliation 2014-01-10 12:55:55 -08:00
Armon Dadgar 28c1e556d6 Check for error when sending RPC byte 2014-01-10 12:09:19 -08:00
Armon Dadgar 992db5d291 Refactor testServerDC 2014-01-10 11:07:29 -08:00
Armon Dadgar 4b33ff20d0 Cleanup log 2014-01-10 11:07:04 -08:00
Armon Dadgar 4c992a88c1 Log cleanup 2014-01-10 11:06:11 -08:00
Armon Dadgar 27320017b9 Improve idempotence check for consul service registration 2014-01-09 22:12:08 -08:00
Armon Dadgar 0507568a37 Verify that consul service is registered 2014-01-09 18:02:44 -08:00
Armon Dadgar 5c6596fa8a Fixing issue that would prevent consul server registration 2014-01-09 17:59:31 -08:00
Armon Dadgar 8c6f03ad07 Auto-register the consul service 2014-01-09 17:57:13 -08:00
Armon Dadgar 0f0f29eb31 Testing leader functions and reconciliation 2014-01-09 17:46:33 -08:00
Armon Dadgar 028829a36d Fixing some tests 2014-01-09 17:22:01 -08:00
Armon Dadgar c0029c6967 First pass at Serf reconciliation 2014-01-09 15:49:09 -08:00
Armon Dadgar 1f3934bcc0 Adding utility method to parse consul nodes 2014-01-09 15:45:14 -08:00
Armon Dadgar a0338f14cd Adding a ReconcileInterval config 2014-01-09 15:44:25 -08:00
Armon Dadgar 679dae613e Retain reference to RPC endpoints 2014-01-09 15:30:36 -08:00
Armon Dadgar d781e29d7c Cleanup 2014-01-09 11:33:23 -08:00
Armon Dadgar 799cba67a5 Updating agent to deal with new API 2014-01-08 15:13:27 -08:00
Armon Dadgar 2f8448c286 Adding Health endpoint to combine service nodes with health 2014-01-08 15:06:13 -08:00
Armon Dadgar 0de92171ee Adding CheckServiceNodes to get health info with service nodes 2014-01-08 14:58:53 -08:00
Armon Dadgar 7a6dacd63e Minor structs cleanup 2014-01-08 14:43:36 -08:00
Armon Dadgar 7b4f7ca6b6 Testing the health endpoints 2014-01-08 14:23:52 -08:00
Armon Dadgar fdf3f750ea First pass at health endpoints 2014-01-08 13:56:34 -08:00
Armon Dadgar 9f0e5b99a3 Adding stubs for Health endpoints 2014-01-08 13:52:09 -08:00
Armon Dadgar 65ad4d1c47 Adding FSM support for register/deregister health checks 2014-01-08 13:39:40 -08:00