consul/agent
R.B. Boyer 3357a14339
server: ensure that central service config flattening properly resets the state each time (#10245)
The prior solution to call reply.Reset() aged poorly since newer fields
were added to the reply, but not added to Reset() leading serial
blocking query loops on the server to blend replies.

This could manifest as a service-defaults protocol change from
default=>http not reverting back to default after the config entry
reponsible was deleted.

Backport of #10239 to 1.9.x
2021-05-14 13:20:49 -05:00
..
ae Merge pull request #9284 from hashicorp/dnephin/agent-service-register 2020-11-27 20:50:53 +00:00
auto-config Fix flaky test by marking mock expectations as optional (#9596) 2021-01-20 15:59:07 +00:00
cache cache: Fix bug where connection errors can cause early cache expiry (#9979) 2021-04-08 10:11:46 +00:00
cache-types Merge pull request #9977 from hashicorp/grpc-tuning 2021-04-08 10:10:22 +00:00
checks Merge pull request #7583 from hashicorp/dnephin/id-printing 2021-01-08 00:02:59 +00:00
config Merge pull request #9851 from panascais-forks/fix-wan-ipv6-key 2021-03-10 16:59:23 +00:00
connect connect: if the token given to the vault provider returns no data avoid a panic (#9806) 2021-02-22 20:09:21 +00:00
consul server: ensure that central service config flattening properly resets the state each time (#10245) 2021-05-14 13:20:49 -05:00
debug chore: upgrade to gopsutil/v3 (#9118) 2020-11-07 01:49:01 +00:00
dns config: move NodeName validation to config validation 2020-08-17 17:25:02 -04:00
exec
grpc Merge pull request #9977 from hashicorp/grpc-tuning 2021-04-08 10:10:22 +00:00
local agent/local: only fallback to agent token for deletes 2021-05-10 16:04:05 -04:00
metadata Refactor to call non-voting servers read replicas (#9191) 2020-11-17 15:54:38 +00:00
mock checks: when a service does not exists in an alias, consider it failing (#7384) 2020-06-04 14:50:52 +02:00
pool introduce certopts (#9606) 2021-03-22 09:17:19 +00:00
proxycfg Avoid potential proxycfg/xDS deadlock using non-blocking send 2021-02-08 23:18:32 +00:00
router agent/router: refactor calculation of delay between rebalances. 2020-10-15 15:59:36 -04:00
routine-leak-checker introduce certopts (#9606) 2021-03-22 09:17:19 +00:00
rpc/subscribe Merge pull request #9188 from hashicorp/dnephin/more-streaming-tests 2021-02-26 17:37:29 +00:00
rpcclient/health [1.9.x] api: ensure v1/health/ingress/:service endpoint works properly when streaming is enabled (#9968) 2021-04-05 13:23:15 -05:00
structs server: ensure that central service config flattening properly resets the state each time (#10245) 2021-05-14 13:20:49 -05:00
submatview Merge pull request #9745 from hashicorp/dnephin/fix-streaming-bugs 2021-02-09 23:31:23 +00:00
systemd
token token: OSS support for enterprise tokens 2020-08-31 15:10:15 -04:00
uiserver update bindata_assetfs.go 2021-04-15 18:15:02 +00:00
xds [1.9.x] connect: update supported envoy versions to 1.16.4, 1.15.5, 1.14.6, and 1.13.7 (#10232) 2021-05-12 14:26:56 -05:00
acl.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 16:40:12 +00:00
acl_endpoint.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 16:40:12 +00:00
acl_endpoint_legacy.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
acl_endpoint_legacy_test.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
acl_endpoint_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
acl_test.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 16:40:12 +00:00
agent.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 16:40:12 +00:00
agent_endpoint.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 16:40:12 +00:00
agent_endpoint_test.go connect: connect CA Roots in the primary datacenter should use a SigningKeyID derived from their local intermediate (#9428) (#9733) 2021-02-09 16:55:11 -06:00
agent_oss.go agent/token: Move token persistence out of agent 2020-08-31 15:00:34 -04:00
agent_test.go server: initialize mgw-wanfed to use local gateways more on startup (#9528) 2021-01-25 23:31:21 +00:00
apiserver.go Merge pull request #9224 from hashicorp/dnephin/fix-multiple-http-listeners 2020-11-18 21:53:27 +00:00
apiserver_test.go agent: add apiServers type for managing HTTP servers 2020-09-03 13:40:12 -04:00
catalog_endpoint.go Merge pull request #9245 from hashicorp/telemetry/fix-missing-and-stale-docs 2020-11-20 20:55:51 +00:00
catalog_endpoint_test.go Add api mod support for /catalog/gateway-services (#8278) 2020-07-10 13:01:45 -06:00
check.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
config_endpoint.go connect: intentions are now managed as a new config entry kind "service-intentions" (#8834) 2020-10-06 13:24:05 -05:00
config_endpoint_test.go Expect default enterprise metadata in gateway tests (#7664) 2020-04-20 09:02:35 -05:00
connect_auth.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 16:40:12 +00:00
connect_ca_endpoint.go Add capability for the v1/connect/ca/roots endpoint to return a PEM encoded certificate chain (#8774) 2020-10-09 10:43:33 -04:00
connect_ca_endpoint_test.go Add capability for the v1/connect/ca/roots endpoint to return a PEM encoded certificate chain (#8774) 2020-10-09 10:43:33 -04:00
coordinate_endpoint.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
coordinate_endpoint_test.go Fix a number of problems found by staticcheck 2020-05-19 16:50:14 -04:00
denylist.go Replace whitelist/blacklist terminology with allowlist/denylist (#7971) 2020-05-29 14:19:16 -04:00
denylist_test.go Replace whitelist/blacklist terminology with allowlist/denylist (#7971) 2020-05-29 14:19:16 -04:00
discovery_chain_endpoint.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
discovery_chain_endpoint_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
dns.go Merge pull request #9198 from hashicorp/mkcp/telemetry/add-all-metric-definitions 2020-11-16 16:26:16 -08:00
dns_oss.go Update gateway-services-nodes API endpoint to allow multiple addresses 2020-06-24 16:35:23 -05:00
dns_test.go test: update tags for database service registrations and queries (#8693) 2020-09-16 14:05:01 -04:00
enterprise_delegate_oss.go Update to use a consulent build tag instead of just ent (#5759) 2019-05-01 11:11:27 -04:00
event_endpoint.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 16:40:12 +00:00
event_endpoint_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
federation_state_endpoint.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
health_endpoint.go Merge pull request #10189 from hashicorp/dnephin/http-api-health-query-meta 2021-05-06 18:05:50 +00:00
health_endpoint_test.go [1.9.x] api: ensure v1/health/ingress/:service endpoint works properly when streaming is enabled (#9968) 2021-04-05 13:23:15 -05:00
http.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 16:40:12 +00:00
http_decode_test.go Fix GRPCUseTLS flag HTTP API mapping 2020-09-29 18:29:56 +03:00
http_oss.go Merge pull request #9923 from hashicorp/dnephin/fix-ui-config 2021-03-25 16:29:01 +00:00
http_oss_test.go agent/http: un-embed the HTTPServer 2020-07-02 17:21:12 -04:00
http_register.go Merge pull request #9103 from hashicorp/feature/autopilot-mod 2020-11-09 16:30:48 +00:00
http_test.go agent: return the default ACL policy to callers as a header (#9101) 2020-11-12 16:39:16 +00:00
intentions_endpoint.go agent: allow the /v1/connect/intentions/match endpoint to use the agent cache (#8875) 2020-10-08 14:51:53 -05:00
intentions_endpoint_oss_test.go connect: various changes to make namespaces for intentions work more like for other subsystems (#8194) 2020-06-26 16:59:15 -05:00
intentions_endpoint_test.go server: deletions of intentions by name using the intention API is now idempotent (#9278) 2021-01-04 17:27:50 +00:00
keyring.go agent: Move setupKeyring functions to keyring.go 2020-08-13 11:58:21 -04:00
keyring_test.go testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00
kvs_endpoint.go Merge pull request #10023 from hashicorp/fix-raw-kv-xss 2021-04-15 13:44:02 +00:00
kvs_endpoint_test.go Merge pull request #10023 from hashicorp/fix-raw-kv-xss 2021-04-15 13:44:02 +00:00
nodeid.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-07 01:49:01 +00:00
nodeid_test.go testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00
notify.go Fixes memory leak when blocking on /event/list (#4482) 2018-08-02 14:54:48 +01:00
notify_test.go Fixes memory leak when blocking on /event/list (#4482) 2018-08-02 14:54:48 +01:00
operator_endpoint.go Merge pull request #9103 from hashicorp/feature/autopilot-mod 2020-11-09 16:30:48 +00:00
operator_endpoint_oss.go Add a CLI command for retrieving the autopilot configuration. (#9142) 2020-11-11 18:19:32 +00:00
operator_endpoint_test.go Add a CLI command for retrieving the autopilot configuration. (#9142) 2020-11-11 18:19:32 +00:00
prepared_query_endpoint.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
prepared_query_endpoint_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
reload.go Refactor uiserver to separate package, cleaner Reloading 2020-10-01 11:32:25 +01:00
remote_exec.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
remote_exec_test.go Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
retry_join.go wan federation via mesh gateways (#6884) 2020-03-09 15:59:02 -05:00
retry_join_test.go wan federation via mesh gateways (#6884) 2020-03-09 15:59:02 -05:00
service_checks_test.go Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
service_manager.go agent: when enable_central_service_config is enabled ensure agent reload doesn't revert check state to critical (#8747) 2020-09-24 16:24:04 -05:00
service_manager_test.go agent: enable enable_central_service_config by default (#8746) 2020-10-01 09:19:14 -05:00
session_endpoint.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
session_endpoint_test.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
setup.go Add prometheus guage definitions for replication metrics. (#10109) 2021-04-23 21:06:21 +00:00
sidecar_service.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
sidecar_service_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
signal_unix.go cli: forward SIGTERM to child process of 'lock' and 'watch' subcommands (#4737) 2018-10-02 15:57:21 -05:00
signal_windows.go cli: forward SIGTERM to child process of 'lock' and 'watch' subcommands (#4737) 2018-10-02 15:57:21 -05:00
snapshot_endpoint.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
snapshot_endpoint_test.go Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
status_endpoint.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
status_endpoint_test.go Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
streaming_test.go Merge pull request #9512 from pierresouchay/streaming_fix_grpc_tls2 2021-01-06 22:11:21 +00:00
testagent.go introduce certopts (#9606) 2021-03-22 09:17:19 +00:00
testagent_test.go config: Make Source an interface 2020-08-10 12:46:28 -04:00
translate_addr.go Add the v1/catalog/node-services/:node endpoint (#7115) 2020-01-24 09:27:25 -05:00
txn_endpoint.go api: rename HTTPServer to HTTPHandlers 2020-09-18 17:38:23 -04:00
txn_endpoint_test.go Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
ui_endpoint.go Move static token resolution into the ACLResolver (#10013) 2021-04-14 16:40:12 +00:00
ui_endpoint_oss_test.go agent: protect the ui metrics proxy endpoint behind ACLs (#9099) 2020-11-04 18:52:43 +00:00
ui_endpoint_test.go ui: Remove any trailing fullstop/period DNS characters from Gateways UI API (#9752) 2021-02-25 09:36:37 +00:00
user_event.go subscribe: Add steps to rpc/subscribe tests 2020-10-08 15:38:01 -04:00
user_event_test.go test: update tags for database service registrations and queries (#8693) 2020-09-16 14:05:01 -04:00
util.go agent: ensure that we always use the same settings for msgpack (#7245) 2020-02-07 15:50:24 -06:00
util_test.go testing: use t.Cleanup in testutil.TempFile 2020-08-14 20:06:01 -04:00
watch_handler.go watch: Allow args from different types 2020-07-10 17:18:32 -04:00
watch_handler_test.go watch: Allow args from different types 2020-07-10 17:18:32 -04:00