open-consul/command
Paul Banks 979e1c9c94 Add -sidecar-for and new /agent/service/:service_id endpoint (#4691)
- A new endpoint `/v1/agent/service/:service_id` which is a generic way to look up the service for a single instance. The primary value here is that it:
   - **supports hash-based blocking** and so;
   - **replaces `/agent/connect/proxy/:proxy_id`** as the mechanism the built-in proxy uses to read its config.
   - It's not proxy specific and so works for any service.
   - It has a temporary shim to call through to the existing endpoint to preserve current managed proxy config defaulting behaviour until that is removed entirely (tested).
 - The built-in proxy now uses the new endpoint exclusively for it's config
 - The built-in proxy now has a `-sidecar-for` flag that allows the service ID of the _target_ service to be specified, on the condition that there is exactly one "sidecar" proxy (that is one that has `Proxy.DestinationServiceID` set) for the service registered.
 - Several fixes for edge cases for SidecarService
 - A fix for `Alias` checks - when running locally they didn't update their state until some external thing updated the target. If the target service has no checks registered as below, then the alias never made it past critical.
2018-10-10 16:55:34 +01:00
..
agent Implementation of Weights Data structures (#4468) 2018-09-07 15:30:47 +01:00
catalog Exit with error code 1 when failing to list DCs (#4583) 2018-09-12 09:55:02 -07:00
connect Add -sidecar-for and new /agent/service/:service_id endpoint (#4691) 2018-10-10 16:55:34 +01: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 commands: cleanup init 2017-10-18 02:39:10 +02: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 command/services: just add additional output feedback on success 2018-10-02 12:48:46 -07:00
snapshot Spelling (#3958) 2018-03-19 16:56:00 +00: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 Add -sidecar-for and new /agent/service/:service_id endpoint (#4691) 2018-10-10 16:55:34 +01:00
commands_oss.go command: register new commands 2018-10-01 09:17:36 -07:00
registry.go Abandon daemonize for simpler solution (preserving history): 2018-06-25 12:24:10 -07:00