Commit Graph

18210 Commits

Author SHA1 Message Date
Armon Dadgar 2553c7b963 agent: First pass at parsing service and check definition 2014-02-03 15:15:35 -08:00
Armon Dadgar 936152092d consul: client re-uses the last connection if error free 2014-02-03 11:53:04 -08:00
Armon Dadgar 9b80ab9a61 consul: benchmark the ListNodes RPC method 2014-02-01 12:16:33 -08:00
Armon Dadgar 5c11f1fb79 consul: Adding some benchmarks to test state store 2014-02-01 12:00:56 -08:00
Armon Dadgar 7ce1477940 command/members: update for serf changes 2014-01-31 12:24:39 -08:00
Armon Dadgar dbc2822f2c agent: test the register/deregister service endpoint 2014-01-30 15:56:03 -08:00
Armon Dadgar 82b551bd80 agent: Adding tests for agent check endpoints 2014-01-30 15:51:15 -08:00
Armon Dadgar bfc5c21aa5 agent: First pass at register service and check locally 2014-01-30 15:35:38 -08:00
Armon Dadgar 98464b4ec0 agent: First pass at the easy endpoints 2014-01-30 15:18:05 -08:00
Armon Dadgar f3e30eb932 agent: Skeleton for HTTP based service/check registration 2014-01-30 14:58:36 -08:00
Armon Dadgar d051d9cb23 agent: Adding methods to register services and checks 2014-01-30 13:39:02 -08:00
Armon Dadgar dc11ffd359 agent: Adding CheckType which is used to wrap either a CheckMonitor or CheckTTL 2014-01-30 13:18:05 -08:00
Armon Dadgar 344ed9569c agent: syncCheck provides the relevant check to prevent a race condition 2014-01-30 13:17:34 -08:00
Armon Dadgar 1ecdeae1b6 consul: Update for serf 0.4 2014-01-30 13:13:29 -08:00
Armon Dadgar 3d411c7680 Adding CheckMonitors and CheckTTLs to agent 2014-01-21 12:05:56 -08:00
Armon Dadgar 1ebb6db8c1 Seperate localState from Agent 2014-01-21 11:52:25 -08:00
Armon Dadgar 9ea32b102f Adding LANMembers to the Consul.Interface 2014-01-21 11:52:01 -08:00
Armon Dadgar f8a0a3706f Allow setting the health check notes 2014-01-20 17:19:20 -10:00
Armon Dadgar c7d8b1dc75 Adding CheckTTL for TTL based checks 2014-01-20 17:12:40 -10:00
Armon Dadgar 714df8f9b3 Testing the CheckMonitor 2014-01-20 16:58:05 -10:00
Armon Dadgar 870ed8fed6 CheckMonitor runs forever and runs the first check immediately 2014-01-20 16:46:01 -10:00
Armon Dadgar 147018037e Adding basic CheckMonitor to invoke scripts 2014-01-20 16:44:23 -10:00
Armon Dadgar fc2e2927b7 Accept command line advertise addr 2014-01-20 15:17:12 -10:00
Armon Dadgar a6b4f65813 Adding tests for checks and services endpoints 2014-01-20 15:06:44 -10:00
Armon Dadgar 61aa8d1eb1 Exposing the agent checks and services over HTTP endpoints 2014-01-20 15:00:52 -10:00
Armon Dadgar ec1ca7babc Adding tests for check anti-entropy 2014-01-20 14:31:02 -10:00
Armon Dadgar ae45656f59 Testing anti-entropy of services 2014-01-20 14:22:59 -10:00
Armon Dadgar 334c2137ef Preventing multiple nodes in bootstrap mode from adding each other as Raft peers 2014-01-20 13:56:29 -10:00
Armon Dadgar 3e6787511e change isConsulServer to parse flags 2014-01-20 13:39:07 -10:00
Armon Dadgar 4c963f39f5 Handle the serf check and consul service 2014-01-15 17:28:23 -10:00
Armon Dadgar ed8cb1bc2b Export the consul service id and name 2014-01-15 17:27:37 -10:00
Armon Dadgar ea41b2bb26 Export the serf check ID 2014-01-15 17:24:16 -10:00
Armon Dadgar 7a74f58141 First pass at local state + anti-entropy 2014-01-15 15:14:50 -10:00
Armon Dadgar 394e322fee Methods for random staggering 2014-01-15 12:34:17 -10:00
Armon Dadgar 177a91c3f9 Adding AEConfig and some methods to scale timing 2014-01-15 12:17:40 -10:00
Armon Dadgar e3159d0318 DNS filters service nodes if they have failing checks 2014-01-15 11:30:04 -10:00
Armon Dadgar 9af24bd4c2 DNS Lookup uses Health.ServiceNodes 2014-01-15 11:20:01 -10:00
Armon Dadgar e4c6ad9807 CheckServiceNodes will return node checks that are not service associated 2014-01-15 11:14:28 -10:00
Armon Dadgar c584ac5077 Adding tests for the health endpoints 2014-01-10 15:25:37 -08:00
Armon Dadgar a03a92cf3d First pass at health endpoints 2014-01-10 15:13:37 -08:00
Armon Dadgar 80d9899aec Do not remove ourself when we leave from Raft 2014-01-10 15:05:34 -08:00
Armon Dadgar df1eea834a Fixing testServerDC method 2014-01-10 12:58:04 -08:00
Armon Dadgar 2030b2288d Simplify Raft peer adds using only reconciliation 2014-01-10 12:55:55 -08:00
Armon Dadgar 786755ebcd Check for error when sending RPC byte 2014-01-10 12:09:19 -08:00
Armon Dadgar d741a999f5 Refactor testServerDC 2014-01-10 11:07:29 -08:00
Armon Dadgar 6b45c2c5a4 Cleanup log 2014-01-10 11:07:04 -08:00
Armon Dadgar c5e2004be9 Log cleanup 2014-01-10 11:06:11 -08:00
Armon Dadgar c2ef218c30 Improve idempotence check for consul service registration 2014-01-09 22:12:08 -08:00
Armon Dadgar 27e558ee77 Verify that consul service is registered 2014-01-09 18:02:44 -08:00
Armon Dadgar 79717c95bf Fixing issue that would prevent consul server registration 2014-01-09 17:59:31 -08:00