Commit Graph

316 Commits

Author SHA1 Message Date
Armon Dadgar 6a1b36bd46 Testing Client RPC to server 2013-12-19 15:08:55 -08:00
Armon Dadgar c644f1e57b Test joining a Serf pool 2013-12-19 14:56:38 -08:00
Armon Dadgar 8c853d31a7 Adding client tests 2013-12-19 14:54:32 -08:00
Armon Dadgar ebfda68bef Adding initial consul client 2013-12-19 14:48:14 -08:00
Armon Dadgar b4ecf22106 Refactor isConsulServer into util 2013-12-19 14:37:54 -08:00
Armon Dadgar ee7f13b205 Refactor ensurePath to util 2013-12-19 14:18:55 -08:00
Armon Dadgar d0cfb06d74 Adding agent skeleton 2013-12-19 12:18:06 -08:00
Armon Dadgar ea925ba5e3 Move rpc structs into sub-package 2013-12-19 12:03:57 -08:00
Armon Dadgar 1c5a8d01b1 Adding basic CLI infrastructure 2013-12-19 11:22:08 -08:00
Armon Dadgar d31e08291c Remove comment 2013-12-19 11:15:38 -08:00
Armon Dadgar 60fb194090 Make tests more reliable 2013-12-18 16:44:56 -08:00
Armon Dadgar 108df68d3d Guard against accessing slices that may have contents changed 2013-12-18 16:40:32 -08:00
Armon Dadgar 4abc881adc Switch Raft from SQLite to MDB 2013-12-18 16:23:17 -08:00
Armon Dadgar e827a2ca27 Adding snapshot support 2013-12-18 15:09:38 -08:00
Armon Dadgar 85251683cc Starting port of state store to MDB 2013-12-18 15:03:25 -08:00
Armon Dadgar 3b47cce733 FSM logs snapshot time 2013-12-17 11:13:19 -08:00
Armon Dadgar 589e58ab27 Adding support and tests for FSM snapshotting 2013-12-16 10:47:14 -08:00
Armon Dadgar 21478ce3a7 Adding ability to snapshot StateStore 2013-12-12 15:14:08 -08:00
Armon Dadgar b7beda2a63 Changing how state store is opened to allow shared connections 2013-12-12 14:41:13 -08:00
Armon Dadgar fd831ade43 Remove unused raft endpoints 2013-12-12 11:48:22 -08:00
Armon Dadgar d17b32d165 Adding NodeServices endpoing 2013-12-12 11:46:25 -08:00
Armon Dadgar 0b2cd77bbe Support querying for ServiceNodes 2013-12-12 11:37:19 -08:00
Armon Dadgar 5b40ba49bf Remove useless check since we are doing a DISTINCT query 2013-12-12 11:08:01 -08:00
Armon Dadgar 47cd33ae46 Adding ability to list services 2013-12-12 11:07:14 -08:00
Armon Dadgar 7915a23531 Adding node listing 2013-12-12 10:48:36 -08:00
Armon Dadgar 255be3559c Support datacenter listing 2013-12-12 10:35:50 -08:00
Armon Dadgar 4a2230bfc8 Remove unused methods 2013-12-11 16:43:29 -08:00
Armon Dadgar 03965f0721 Test leader forwarding 2013-12-11 16:42:19 -08:00
Armon Dadgar 15f045596b Adding support for cross-dc forwarding 2013-12-11 16:33:19 -08:00
Armon Dadgar d4476e3df6 Track remote consul servers 2013-12-11 16:24:34 -08:00
Armon Dadgar 7bc7d4cd4f Adding support for deregistration 2013-12-11 15:34:10 -08:00
Armon Dadgar 6b3578bc26 Testing Catalog.Register endpoint 2013-12-11 14:57:40 -08:00
Armon Dadgar 7dc6662a93 Adding FSM support for Register 2013-12-11 14:38:18 -08:00
Armon Dadgar 05d5eb08a8 Adding state store methods 2013-12-11 14:27:27 -08:00
Armon Dadgar 3b8888bdc8 consul: starting work on some RPC layers 2013-12-11 14:04:44 -08:00
Armon Dadgar eb428df842 Adding some state store methods with tests 2013-12-11 14:03:09 -08:00
Armon Dadgar d96636ced1 Stubs 2013-12-10 18:19:15 -08:00
Armon Dadgar 148607ac88 consul: working on fsm state 2013-12-10 17:00:48 -08:00
Armon Dadgar 637137b997 Adding Status.Leader endpoint 2013-12-10 15:16:41 -08:00
Armon Dadgar 808e23bbd4 consul: Adding method to force remove failed nodes 2013-12-10 14:42:29 -08:00
Armon Dadgar 29d0f901dc consul: Adding LANMembers and WANMembers 2013-12-10 13:17:54 -08:00
Armon Dadgar 0ade6bb750 consul: abandon join on shutdown or member fail 2013-12-09 16:25:24 -08:00
Armon Dadgar 207171f264 consul: Adding tons of shit, leave test 2013-12-09 16:05:15 -08:00
Armon Dadgar c4a4b9df34 consul: type safe event handlers 2013-12-09 15:29:44 -08:00
Armon Dadgar 15a1cf589b consul: status rpc endpoint 2013-12-09 15:29:20 -08:00
Armon Dadgar dbc9eeb8a7 consul: store the peerstore 2013-12-09 15:29:01 -08:00
Armon Dadgar 500927cbb1 consul: Leave does a RemovePeer RPC call 2013-12-09 15:01:42 -08:00
Armon Dadgar e699a14fe3 consul: helper to make RPC calls 2013-12-09 14:58:49 -08:00
Armon Dadgar ae30ace448 consul: ConnPool creates RPC client 2013-12-09 14:52:22 -08:00
Armon Dadgar 1a9a51c5c2 consul: Adding Raft rpc endpoint 2013-12-09 14:49:07 -08:00