Commit Graph

19 Commits

Author SHA1 Message Date
Armon Dadgar 4f67ca5488 agent: Fixing similar deregister routing bug with checks 2014-04-18 10:56:00 -07:00
Armon Dadgar f9fba3156b agent: Fix service deregister routing 2014-04-18 10:54:18 -07:00
Jacques Fuentes 852a47fe37 Ensure we write json header before writing bytes
In net/http once we've issued a Write() the response is sent
over the wire including the header! The tests didn't catch
this because I used a net/http/httptest.RequestRecorder
which doesn't follow those semantics.
2014-04-17 14:53:07 -04:00
Jacques Fuentes e83f723a66 HTTP: add content-type: application/json header 2014-04-17 14:38:14 -04:00
Armon Dadgar 5af036704d agent: First pass at KVS endpoints 2014-03-31 17:12:10 -07:00
Armon Dadgar 4a2b7e5e39 agent: Use EnableDebug to control adding pprof HTTP endpoints 2014-03-19 17:50:57 -07:00
Armon Dadgar 500d2d2282 agent: RPC changes and blocking query support 2014-02-05 14:36:13 -08:00
Armon Dadgar f3e30eb932 agent: Skeleton for HTTP based service/check registration 2014-01-30 14:58:36 -08:00
Armon Dadgar 61aa8d1eb1 Exposing the agent checks and services over HTTP endpoints 2014-01-20 15:00:52 -10:00
Armon Dadgar a03a92cf3d First pass at health endpoints 2014-01-10 15:13:37 -08:00
Armon Dadgar fcee14ba43 Adding more HTTP endpoints 2014-01-03 17:15:51 -08:00
Armon Dadgar c0d53a9d62 Adding DNS based node lookup 2014-01-02 17:58:58 -08:00
Armon Dadgar c4744d11c8 Rename HTTP server method 2014-01-02 11:45:58 -08:00
Armon Dadgar 121a087c2c Adding index page with 404 catchall 2013-12-24 17:09:51 -08:00
Armon Dadgar ac15ca1139 Better error logging 2013-12-24 12:22:42 -08:00
Armon Dadgar 135c1d407c Finish implementing the HTTP catalog interface 2013-12-24 11:55:14 -08:00
Armon Dadgar 851c4c8ed1 More HTTP endpoints 2013-12-23 16:20:51 -08:00
Armon Dadgar a2d4197149 Adding catalog datacenter http methods 2013-12-23 14:26:34 -08:00
Armon Dadgar 5e7e23dc52 Working on Agent HTTP interface 2013-12-23 11:38:51 -08:00