consul/agent/structs
hc-github-team-consul-core 993f2d21c0
Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268)
This add a fix to properly verify the gateway mode before creating a watch specific to mesh gateways. This watch have a high performance cost and when mesh gateways are not used is not used.

This also adds an optimization to only return the nodes when watching the Internal.ServiceDump RPC to avoid unnecessary disco chain compilation. As watches in proxy config only need the nodes.

* backport of commit b0ce20b5e2
* backport of commit 3d4bde00cf
* backport of commit b2c77246b9
* backport of commit e7ab4d418d
* backport of commit d00d9c5da4
* backport of commit b2db3d5eb4
* backport of commit 50fb45ac74
* backport of commit 7b41a61c17
* backport of commit 2fa0e0a629
* backport of commit 88849c9030
* backport of commit 4ac54f10bc
* backport of commit 2a9dfc37f2

---------

Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
2024-01-19 08:17:22 -06:00
..
aclfilter [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acltemplatedpolicy Backport of [NET-6251] Nomad client templated policy into release/1.17.x (#19839) 2023-12-06 11:18:33 -05:00
acl.go [NET-5329] use acl templated policy under the hood for node/service identities (#18813) 2023-09-14 14:36:34 -04:00
acl_cache.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_cache_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_templated_policy.go Backport of [NET-6251] Nomad client templated policy into release/1.17.x (#19839) 2023-12-06 11:18:33 -05:00
acl_templated_policy_ce.go Backport of [NET-6251] Nomad client templated policy into release/1.17.x (#19839) 2023-12-06 11:18:33 -05:00
acl_templated_policy_ce_test.go Backport of NET-6251 API gateway templated policy into release/1.17.x (#19729) 2023-11-24 13:40:58 -05:00
acl_templated_policy_test.go [NET-5325] ACL templated policies support in tokens and roles (#18708) 2023-09-08 12:45:24 +00:00
acl_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_encrypt.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
autopilot.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
autopilot_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
catalog.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
catalog_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
check_definition.go Add TCP+TLS Healthchecks (#18381) 2023-09-05 13:34:44 -07:00
check_definition_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
check_type.go Add TCP+TLS Healthchecks (#18381) 2023-09-05 13:34:44 -07:00
config_entry.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_entry_apigw_jwt_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_discoverychain.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_entry_discoverychain_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_discoverychain_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_discoverychain_test.go Include RequestTimeout in marshal/unmarshal of ServiceResolverConfigE… (#19031) 2023-09-29 10:39:46 -07:00
config_entry_exports.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_entry_exports_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_exports_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_exports_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_entry_gateways.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_entry_gateways_test.go [NET-5688] APIGateway UI Topology Fixes (#19657) (#19765) 2023-11-29 11:23:52 -05:00
config_entry_inline_certificate.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_entry_inline_certificate_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_entry_intentions.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_entry_intentions_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_intentions_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_intentions_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_entry_jwt_provider.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_entry_jwt_provider_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_jwt_provider_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_entry_mesh.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_entry_mesh_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_mesh_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_entry_routes.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_entry_routes_test.go Add the plumbing for APIGW JWT work (#18609) 2023-08-31 12:23:59 -04:00
config_entry_sameness_group.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_entry_sameness_group_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_entry_status.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_entry_test.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
connect.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
connect_ca.go xds controller: setup watches for and compute leaf cert references in ProxyStateTemplate, and wire up leaf cert manager dependency (#18756) 2023-09-12 12:56:43 -07:00
connect_ca_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
connect_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
connect_proxy_config.go catalog,mesh,auth: Bump versions to v2beta1 (#18930) 2023-09-22 10:51:15 -06:00
connect_proxy_config_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
connect_proxy_config_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
deep-copy.sh [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
discovery_chain.go Backport of parse config protocol on write to optimize disco-chain compilation into release/1.17.x (#19859) 2023-12-07 15:35:26 -05:00
discovery_chain_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
envoy_extension.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
errors.go server: when the v2 catalog experiment is enabled reject api and rpc requests that are for the v1 catalog (#19129) 2023-10-11 10:44:03 -05:00
federation_state.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
identity.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
intention.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
intention_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
intention_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
peering.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
prepared_query.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
prepared_query_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
protobuf_compat.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
service_definition.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
service_definition_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
structs.deepcopy.go [NET-5688] APIGateway UI Topology Fixes (#19657) (#19765) 2023-11-29 11:23:52 -05:00
structs.deepcopy_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
structs.go Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268) 2024-01-19 08:17:22 -06:00
structs_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
structs_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
structs_ext_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
structs_filtering_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
structs_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
system_metadata.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing_catalog.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing_connect_proxy_config.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing_intention.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testing_service_definition.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
txn.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00