Commit Graph

21330 Commits

Author SHA1 Message Date
Armon Dadgar 9e7feea454 Setup logging for Raft properly 2013-12-23 15:30:45 -08:00
Armon Dadgar f062e31be7 Adding catalog datacenter http methods 2013-12-23 14:26:34 -08:00
Armon Dadgar caaff11634 Adding more agent tests 2013-12-23 13:52:10 -08:00
Armon Dadgar a820848fbf Remove useless config 2013-12-23 13:46:50 -08:00
Armon Dadgar c3866c9516 Ensure local server is always a raft peer 2013-12-23 11:50:58 -08:00
Armon Dadgar 21b43553bb Adding a Status.Peers endpoint to get peerset 2013-12-23 11:39:29 -08:00
Armon Dadgar 469245a06d Working on Agent HTTP interface 2013-12-23 11:38:51 -08:00
Armon Dadgar 8caf0034db Working on the agent 2013-12-20 16:39:32 -08:00
Armon Dadgar aeccadd217 Filling in Agent basics 2013-12-20 15:33:13 -08:00
Armon Dadgar 289e1c598b Agent skeleton 2013-12-19 17:14:46 -08:00
Armon Dadgar 862a838ff1 Adding time based reaping to ConnPool 2013-12-19 15:42:17 -08:00
Armon Dadgar e20189e2c4 Rename ConsulRPC to just consul.Interface 2013-12-19 15:20:10 -08:00
Armon Dadgar b0d6c443da Server also implements ConsulRPC interface 2013-12-19 15:18:25 -08:00
Armon Dadgar 9eb6ab8196 Minimize open connections maintained by client 2013-12-19 15:10:29 -08:00
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