open-consul/command
Grégoire Seux 6a57c7fec5 Implement /v1/agent/health/service/<service name> endpoint (#3551)
This endpoint aggregates all checks related to <service id> on the agent
and return an appropriate http code + the string describing the worst
check.

This allows to cleanly expose service status to other component, hiding
complexity of multiple checks.
This is especially useful to use consul to feed a load balancer which
would delegate health checking to consul agent.

Exposing this endpoint on the agent is necessary to avoid a hit on
consul servers and avoid decreasing resiliency (this endpoint will work
even if there is no consul leader in the cluster).
2019-01-07 09:39:23 -05:00
..
acl Doc changes for 1.4 Final (#4870) 2018-11-13 13:43:53 +00:00
agent Connect Envoy Command (#4735) 2018-10-10 16:55:34 +01:00
catalog Exit with error code 1 when failing to list DCs (#4583) 2018-09-12 09:55:02 -07:00
connect Implement /v1/agent/health/service/<service name> endpoint (#3551) 2019-01-07 09:39:23 -05:00
debug Fixed gziping function for debug archive (#5184) 2019-01-03 10:39:58 -05:00
event commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
exec Address flakiness in command/exec tests (#4517) 2018-08-10 15:04:07 -04:00
flags replace old fork of text package (#4501) 2018-08-14 12:23:18 -07:00
forceleave commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
helpers Move data source loading into a command helpers function 2018-05-24 10:34:08 -04:00
info commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
intention Fix unreachable code warning from go vet 2018-06-25 12:24:15 -07:00
join commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
keygen commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
keyring commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
kv Merge pull request #4194 from hashicorp/fix-kv-del-validation 2018-06-05 16:58:14 +01:00
leave commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
lock Improve reliability of tests with TestAgent (#4525) 2018-08-14 12:08:33 -04:00
maint [Security] Add finer control over script checks (#4715) 2018-10-11 13:22:11 +01:00
members commands: cleanup init 2017-10-18 02:39:10 +02:00
monitor Spelling (#3958) 2018-03-19 16:56:00 +00:00
operator Fixed flaky tests (#4626) 2018-09-04 12:31:51 +01:00
reload commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
rtt Fixed unstable test TestRTTCommand_LAN in command/rtt (#4585) 2018-08-27 11:37:13 -04:00
services Fix up tests broken by master merge; add proxy tests to services command (and fix it!); actually run the proxycfg.Manager 2018-10-10 16:55:34 +01:00
snapshot Spelling (#3958) 2018-03-19 16:56:00 +00:00
tls Builtin tls helper (#5078) 2018-12-19 09:22:49 +01:00
validate Update make static-assets goal and run format 2018-04-13 09:57:25 -07:00
version commands: run all tests in parallel (again) 2017-10-18 00:08:45 +02:00
watch Implement /v1/agent/health/service/<service name> endpoint (#3551) 2019-01-07 09:39:23 -05:00
commands_oss.go Builtin tls helper (#5078) 2018-12-19 09:22:49 +01:00
registry.go Abandon daemonize for simpler solution (preserving history): 2018-06-25 12:24:10 -07:00