Commit Graph

18210 Commits

Author SHA1 Message Date
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
Armon Dadgar 1f02461f8c Support getting node checks in the snapshot 2014-01-08 12:19:11 -08:00
Armon Dadgar 2b79c125f2 Implementing the health methods with tests 2014-01-08 12:15:01 -08:00
Armon Dadgar c6c0f34fe8 Skeleton methods for health info 2014-01-08 11:35:27 -08:00
Armon Dadgar 266c6736bf Adding HealthCheck and an associated table 2014-01-08 11:21:29 -08:00
Armon Dadgar c40c2a9c1f Adding test for last row id restore 2014-01-08 10:43:44 -08:00
Armon Dadgar 6d4c1b0365 Remove unused variable 2014-01-08 10:39:06 -08:00
Armon Dadgar 842bf62587 Delete node in a transaction 2014-01-08 10:37:16 -08:00
Armon Dadgar 4ebf710394 Update for new interfaces 2014-01-08 10:31:42 -08:00
Armon Dadgar 7e84a75563 Switch state store to MDBTables 2014-01-08 10:31:20 -08:00
Armon Dadgar f3788b0472 Adding ServiceName to ServiceNode to simplify 2014-01-08 10:29:29 -08:00
Armon Dadgar e3ddf8fa00 Support multi-table transactions with MDBTable 2014-01-08 10:27:37 -08:00
Armon Dadgar ee81a5744a Handle record updates 2014-01-07 21:35:44 -08:00
Armon Dadgar 226185ae2e Supporting table Delete 2014-01-07 18:55:34 -08:00
Armon Dadgar 13916b1375 Refactoring some code to share with Delete 2014-01-07 17:43:57 -08:00
Armon Dadgar 63319b84fe Support blank fields 2014-01-07 17:28:15 -08:00
Armon Dadgar 3896176b43 Working on abstracting MDB storage 2014-01-07 16:58:28 -08:00
Armon Dadgar 64d567c5be Adding some utility functions 2014-01-07 16:58:16 -08:00
Armon Dadgar 7e96658fdb Testing DNS correctly deduplicates records 2014-01-06 14:56:41 -08:00
Armon Dadgar 04c2540072 Remove fix for upstream DNS bug 2014-01-06 14:37:02 -08:00
Armon Dadgar e0ba0e8d52 Support non-unique service entries per node 2014-01-06 14:18:38 -08:00
Armon Dadgar 21e614ca07 Adding tests for the agent HTTP endpoints 2014-01-06 13:21:48 -08:00
Armon Dadgar 5a087809dc Adding more HTTP endpoints 2014-01-03 17:15:51 -08:00
Armon Dadgar 1e3adb54f3 Handle new Raft API 2014-01-03 17:15:09 -08:00
Armon Dadgar 29fe144b5b Support DNS recursion and TCP queries 2014-01-03 15:43:35 -08:00
Armon Dadgar b9e0eef1ff Support Service lookups 2014-01-03 13:00:03 -08:00
Armon Dadgar 0061b9a105 Adding DNS based node lookup 2014-01-02 17:58:58 -08:00
Armon Dadgar 8f6d868097 NodeServices struct now includes the node address 2014-01-02 17:29:39 -08:00
Armon Dadgar 470d9f9984 Domain pass through 2014-01-02 15:51:40 -08:00
Armon Dadgar 71e85cea72 Adding a DNS domain config 2014-01-02 15:50:52 -08:00
Armon Dadgar a8d6e1cfd4 Start DNS server, change logs, add SOA records 2014-01-02 15:10:13 -08:00
Armon Dadgar 423ffaecc5 Adding basic DNS framework 2014-01-02 13:12:05 -08:00
Armon Dadgar 1e035d5453 Rename HTTP server method 2014-01-02 11:45:58 -08:00
Armon Dadgar 052ce19ddd Fixing bug in state store 2013-12-31 18:31:17 -08:00
Armon Dadgar 61bad89e51 Fix indexing error when getting nodes 2013-12-31 18:16:09 -08:00