Commit Graph

163 Commits

Author SHA1 Message Date
William Tisäter b278d1de94 Return exit code 2 if member filter doesn't match any node 2014-05-04 11:54:45 +02:00
Armon Dadgar 2898a8e64e agent: Key list of root returns empty list with 200 instead of 404 2014-04-30 23:44:30 -04:00
Armon Dadgar d1213d4e17 agent: Summarize node level checks as well 2014-04-30 23:44:29 -04:00
Armon Dadgar 790a753d7d agent: Support key listing with seperator 2014-04-30 23:44:27 -04:00
Armon Dadgar 416ff8f7d6 agent: Adding UI services endpoint 2014-04-30 23:43:59 -04:00
Armon Dadgar acf67a1630 agent: Adding node UI endpoint 2014-04-30 23:43:59 -04:00
Armon Dadgar fbce850317 agent: Adding nodes UI endpoint 2014-04-30 23:43:59 -04:00
Armon Dadgar 3fe10ccb57 agent: Redirect to UI if we have one 2014-04-30 23:43:58 -04:00
Armon Dadgar 1a4cb628f5 agent: Simplify serving of ui files 2014-04-30 23:43:57 -04:00
Armon Dadgar f0c9ba4c01 agent: Improving UI file serving 2014-04-30 23:43:56 -04:00
Armon Dadgar e20b70b9f6 agent: Adding endpoint to serve the UI 2014-04-30 23:43:56 -04:00
Armon Dadgar 2739abab7b agent: Pass UiDir into the HTTP layer 2014-04-30 23:43:56 -04:00
Armon Dadgar c42168bd6f agent: Adding -ui-dir CLI flag 2014-04-30 23:43:56 -04:00
Armon Dadgar 2605b8e27c agent: Adding UiDir config param 2014-04-30 23:43:56 -04:00
Armon Dadgar 64efde9be0 agent: Limit health check output to 4K. Fixes #83. 2014-04-29 15:28:56 -07:00
Armon Dadgar eb6b85510d command/info: Move warning output to the top 2014-04-29 11:09:14 -07:00
Armon Dadgar 1727b1a086 command/info: Warn on GOMAXPROCS = 1. Fixes #87. 2014-04-29 10:58:49 -07:00
Armon Dadgar e6e4f7c410 agent: Write out the meta data before a potential 404 2014-04-26 12:20:49 -06:00
Tarrant 32da5b2de0 When mangaling JSON to parse durations do a case insensitive key lookup 2014-04-24 19:56:55 -07:00
Armon Dadgar cc51bf6926 agent: Adding debug log messages 2014-04-23 12:21:47 -07:00
Armon Dadgar 903789aee4 agent: Adding random stagger to anti-entropy. Fixes #72. 2014-04-23 12:21:34 -07:00
Armon Dadgar 018482dc4c Store check output in dedicated field. Fixes #59. 2014-04-21 16:20:22 -07:00
Armon Dadgar 81a0a56fac agent: Support server-side filtering of passing checks. Fixes #57. 2014-04-21 16:08:26 -07: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 c1bd7169f5 agent: Improve DNS parser. Fixes #39. 2014-04-21 15:33:01 -07:00
Armon Dadgar 00bedd4020 agent: Fix decoding of checks. Fixes #60 2014-04-21 15:02:36 -07:00
Armon Dadgar 6bbe8fd493 agent: Adding minimum check interval. Fixes #64. 2014-04-21 14:42:42 -07:00
Armon Dadgar 91bed7b313 agent: Adding HTTP tests for new features 2014-04-21 13:19:18 -07:00
Armon Dadgar e2ea4804bd agent: Updating tests for new API 2014-04-21 13:11:05 -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 09ddc01d27 agent: Updating to remove BlockingQuery 2014-04-21 12:25:36 -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
Haney Maxwell 0a5d75da5d documentation: minor comment consistency in agent.go 2014-04-17 22:46:31 -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 7cbe3fb139 command/members: API update for columnize 2014-04-16 16:21:30 -07:00
Armon Dadgar bb33a47bab agent: Add warning if windows and running server mode 2014-04-14 16:49:50 -07:00
Armon Dadgar d7d30f5cf5 agent: Simplify the local state sync 2014-04-14 12:57:54 -07:00
Armon Dadgar d8ca1f367c agent: Fixing wrong port usage for server 2014-04-14 12:37:49 -07:00
Armon Dadgar 612d811167 agent: Testing start_join parsing 2014-04-11 17:03:19 -07:00
Armon Dadgar a8d9fefdfe agent: Adding support for -join flag. Fixes #33. 2014-04-11 16:59:16 -07:00
Armon Dadgar 6fd3f81c48 command: Fixing more tests 2014-04-11 16:34:29 -07:00
Armon Dadgar c9b2cd1078 agent: Nice info output 2014-04-11 15:54:03 -07:00
Armon Dadgar 8dd1e51bae agent: Simplifying configs 2014-04-11 15:46:55 -07:00
Armon Dadgar 922014530f agent: First pass at improving flags 2014-04-11 15:22:35 -07:00
Armon Dadgar 8177e2f811 agent: Adding tests for TLS configs 2014-04-07 15:07:00 -07:00
Armon Dadgar 592953309e agent: Passthrough of TLS configurations 2014-04-07 15:07:00 -07:00
Armon Dadgar 30307f877b agent: Add backwards compatibility hack for old 'tag' definitions 2014-04-03 14:22:43 -07:00