Commit Graph

14 Commits

Author SHA1 Message Date
Nathan Zadoks 53c14e139f Parse ACL tokens for the catalog register/deregister endpoints
Fix #1738
2016-05-17 13:16:33 -04:00
James Phillips 763d5ea8a7 Fixes nil slices from HTTP endpoints.
These would manifest in the HTTP output as Javascript nulls instead of
empty lists, so we had unintentionally changed the interface while
porting to the new state store. We added code to each HTTP endpoint to
convert nil slices to empty ones so they JSON-ify properly, and we added
tests to catch this in the future.
2015-11-14 21:05:37 -08:00
James Phillips b63909cf67 Adds coordinate sorting support to catalog queries for nodes and service nodes. 2015-10-23 15:23:01 -07:00
Armon Dadgar cb33d73ffe 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 48ce8e3e86 agent: Fix decoding of checks. Fixes #60 2014-04-21 15:02:36 -07:00
Armon Dadgar 53d3449947 agent: Remove wrapQuery, call setMeta directly 2014-04-21 12:40:11 -07:00
Armon Dadgar 71b95a0f47 agent: Updating to remove BlockingQuery 2014-04-21 12:25:36 -07:00
Armon Dadgar 500d2d2282 agent: RPC changes and blocking query support 2014-02-05 14:36:13 -08:00
Armon Dadgar c4af4b7bda Updating agent to deal with new API 2014-01-08 15:13:27 -08:00
Armon Dadgar c0d53a9d62 Adding DNS based node lookup 2014-01-02 17:58:58 -08:00
Armon Dadgar 135c1d407c Finish implementing the HTTP catalog interface 2013-12-24 11:55:14 -08:00
Armon Dadgar f4761aab83 Remove debug line 2013-12-23 16:21:11 -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