consul/test/integration/connect/envoy
R.B. Boyer 6a39b47448 Support Incremental xDS mode (#9855)
This adds support for the Incremental xDS protocol when using xDS v3. This is best reviewed commit-by-commit and will not be squashed when merged.

Union of all commit messages follows to give an overarching summary:

xds: exclusively support incremental xDS when using xDS v3

Attempts to use SoTW via v3 will fail, much like attempts to use incremental via v2 will fail.
Work around a strange older envoy behavior involving empty CDS responses over incremental xDS.
xds: various cleanups and refactors that don't strictly concern the addition of incremental xDS support

Dissolve the connectionInfo struct in favor of per-connection ResourceGenerators instead.
Do a better job of ensuring the xds code uses a well configured logger that accurately describes the connected client.
xds: pull out checkStreamACLs method in advance of a later commit

xds: rewrite SoTW xDS protocol tests to use protobufs rather than hand-rolled json strings

In the test we very lightly reuse some of the more boring protobuf construction helper code that is also technically under test. The important thing of the protocol tests is testing the protocol. The actual inputs and outputs are largely already handled by the xds golden output tests now so these protocol tests don't have to do double-duty.

This also updates the SoTW protocol test to exclusively use xDS v2 which is the only variant of SoTW that will be supported in Consul 1.10.

xds: default xds.Server.AuthCheckFrequency at use-time instead of construction-time
2021-04-29 18:54:53 +00:00
..
case-badauthz test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-basic Check for optionally prepended namespace in upstream assertion (#10049) 2021-04-15 18:31:28 -06:00
case-centralconf Add DC and NS support for Envoy metrics (#9207) 2020-11-16 16:37:19 -07:00
case-cfg-resolver-dc-failover-gateways-none Support Incremental xDS mode (#9855) 2021-04-29 18:54:53 +00:00
case-cfg-resolver-dc-failover-gateways-remote Support Incremental xDS mode (#9855) 2021-04-29 18:54:53 +00:00
case-cfg-resolver-defaultsubset test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-cfg-resolver-features test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-cfg-resolver-subset-onlypassing test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-cfg-resolver-subset-redirect test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-cfg-resolver-svc-failover test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-cfg-resolver-svc-redirect-http test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-cfg-resolver-svc-redirect-tcp test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-cfg-router-features test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-cfg-splitter-features test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-consul-exec test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-dogstatsd-udp test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-expose-checks xds: only try to create an ipv6 expose checks listener if ipv6 is supported by the kernel (#9765) 2021-02-19 14:38:43 -06:00
case-gateway-without-services Support Incremental xDS mode (#9855) 2021-04-29 18:54:53 +00:00
case-gateways-local test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-gateways-remote test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-grpc test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-http Check for optionally prepended namespace in upstream assertion (#10049) 2021-04-15 18:31:28 -06:00
case-http-badauthz test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-ingress-gateway-grpc test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-ingress-gateway-http test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-ingress-gateway-multiple-services test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-ingress-gateway-simple test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-ingress-gateway-tls test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-ingress-mesh-gateways-resolver test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-l7-intentions test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-multidc-rsa-ca test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-prometheus Add DC and NS support for Envoy metrics (#9207) 2020-11-16 16:37:19 -07:00
case-stats-proxy Add DC and NS support for Envoy metrics (#9207) 2020-11-16 16:37:19 -07:00
case-statsd-udp test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-terminating-gateway-hostnames Update assertion to not check for port 2021-04-06 17:10:38 +08:00
case-terminating-gateway-simple test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-terminating-gateway-subsets test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-terminating-gateway-without-services test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-upstream-config test: use direct service registration in envoy integration tests (#9138) 2020-11-09 13:59:46 -06:00
case-wanfed-gw Support Incremental xDS mode (#9855) 2021-04-29 18:54:53 +00:00
case-zipkin xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
consul-base-cfg Support Incremental xDS mode (#9855) 2021-04-29 18:54:53 +00:00
.gitignore activate most discovery chain features in xDS for envoy (#6024) 2019-07-01 22:10:51 -05:00
Dockerfile-bats remove reference to docker/ path for old docker mirror (#9783) 2021-02-17 18:37:31 -05:00
Dockerfile-consul-envoy Remove jfrog references (#9782) 2021-02-17 18:21:52 -05:00
Dockerfile-tcpdump Updates to Config Entries and Connect for Namespaces (#7116) 2020-01-24 10:04:58 -05:00
defaults.sh Envoy Mesh Gateway integration tests (#6187) 2019-07-24 17:01:42 -04:00
down.sh speed up envoy integration tests by removing docker-compose (#8982) 2020-10-22 13:20:31 -05:00
helpers.bash Support Incremental xDS mode (#9855) 2021-04-29 18:54:53 +00:00
main_test.go restore the discovery of tests cases by file system existence (#8983) 2020-10-19 16:51:38 -05:00
run-tests.sh Support Incremental xDS mode (#9855) 2021-04-29 18:54:53 +00:00
test-envoy-versions.sh xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00