Commit Graph

74 Commits

Author SHA1 Message Date
Armon Dadgar 2739abab7b agent: Pass UiDir into the HTTP layer 2014-04-30 23:43:56 -04:00
Armon Dadgar 57a45ead6b Merge pull request #68 from hashicorp/f-consistency
Adding support for "stale" and "consistent" read modes
2014-04-21 15:55:31 -07:00
Armon Dadgar 00bedd4020 agent: Fix decoding of checks. Fixes #60 2014-04-21 15:02:36 -07:00
Armon Dadgar 386d60f8b2 agent: Remove wrapQuery, call setMeta directly 2014-04-21 12:40:11 -07:00
Armon Dadgar 3fbbbc4eea agent: Parse the consistency flags 2014-04-21 12:26:12 -07:00
Armon Dadgar 78f7cb1d5a agent: Fixing similar deregister routing bug with checks 2014-04-18 10:56:00 -07:00
Armon Dadgar b40039b5b8 agent: Fix service deregister routing 2014-04-18 10:54:18 -07:00
Jacques Fuentes 3506b38a40 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 2b6ee141cb HTTP: add content-type: application/json header 2014-04-17 14:38:14 -04:00
Armon Dadgar 6cfde2bf12 agent: First pass at KVS endpoints 2014-03-31 17:12:10 -07:00
Armon Dadgar c7d27cf424 agent: Use EnableDebug to control adding pprof HTTP endpoints 2014-03-19 17:50:57 -07:00
Armon Dadgar c58c53f448 agent: RPC changes and blocking query support 2014-02-05 14:36:13 -08:00
Armon Dadgar 959ea3d5ec agent: Skeleton for HTTP based service/check registration 2014-01-30 14:58:36 -08:00
Armon Dadgar cb7541c7af Exposing the agent checks and services over HTTP endpoints 2014-01-20 15:00:52 -10:00
Armon Dadgar 779bc3b50b First pass at health endpoints 2014-01-10 15:13:37 -08:00
Armon Dadgar 5a087809dc Adding more HTTP endpoints 2014-01-03 17:15:51 -08:00
Armon Dadgar 0061b9a105 Adding DNS based node lookup 2014-01-02 17:58:58 -08:00
Armon Dadgar 1e035d5453 Rename HTTP server method 2014-01-02 11:45:58 -08:00
Armon Dadgar 5c874584be Adding index page with 404 catchall 2013-12-24 17:09:51 -08:00
Armon Dadgar 37aa0ae7a5 Better error logging 2013-12-24 12:22:42 -08:00
Armon Dadgar ead9c42abc Finish implementing the HTTP catalog interface 2013-12-24 11:55:14 -08:00
Armon Dadgar 39d9e3e78f More HTTP endpoints 2013-12-23 16:20:51 -08:00
Armon Dadgar f062e31be7 Adding catalog datacenter http methods 2013-12-23 14:26:34 -08:00
Armon Dadgar 469245a06d Working on Agent HTTP interface 2013-12-23 11:38:51 -08:00