consul/agent
Matt Keeler 93e29a7992 Upgrade to using hashicorp/go-metrics@v0.5.4
This also requires bumping the dependencies for:

* memberlist
* serf
* raft
* raft-boltdb/v2

Tidy up other submodules

Fixup a few ci jobs where build tag was missing.

Add tagging to the lint-enums job

Update linting rules to disallow usage of armon/go-metrics

Also prevent usage of hashicorp/go-metrics/compat as that should only be used by libraries.

Dont use the deprecated -tags option to enumcover

Try to get the tags passed through correctly.

Fix serf config cloning test due to new field present in the config.

Attempt to get build tags flowing properly when utilizing gotestsum splitting.

More quoting

One more attempt at passing build tags in GOFLAGS

Add tags to the golden file checker
2025-01-24 16:33:52 -05:00
..
ae remove v2 tenancy, catalog, and mesh (#21592) 2024-09-05 08:50:46 -06:00
auto-config [NET-6593] agent: check for minimum RSA key size (#20112) 2024-01-10 12:15:36 +00:00
blockingquery Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
cache Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
cache-types 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
cacheshim 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
checks security: fix AliasCheck panic (update) (#21510) 2024-07-03 10:48:08 -04:00
config Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
configentry Hash based config entry replication (#19795) 2023-12-12 08:29:13 -05:00
connect remove v2 tenancy, catalog, and mesh (#21592) 2024-09-05 08:50:46 -06:00
consul Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
debug [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
dns NET-10685 - Remove dns v2 code (#21598) 2024-08-13 16:53:48 -06:00
envoyextensions NET-6946 / NET-6941 - Replace usage of deprecated Envoy fields envoy.config.route.v3.HeaderMatcher.safe_regex_match and envoy.type.matcher.v3.RegexMatcher.google_re2 (#20013) 2024-01-03 09:53:39 -07:00
exec Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
grpc-external Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
grpc-internal Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
grpc-middleware Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
hcp Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
leafcert Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
local Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
log-drop [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
metadata [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
metrics Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
mock [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
pool [NET-6459] Fix issue with wanfed lan ip conflicts. (#19503) 2023-11-06 08:47:12 -06:00
proxycfg Fix PeerUpstreamEndpoints and UpstreamPeerTrustBundles to only Cancel watch when needed, otherwise keep the watch active (#21871) 2024-11-19 09:36:13 -05:00
proxycfg-glue NET-11737 - sec vulnerability - remediate ability to use bexpr to filter results without ACL read on endpoint (#21950) 2024-11-20 16:26:12 -07:00
proxycfg-sources remove v2 tenancy, catalog, and mesh (#21592) 2024-09-05 08:50:46 -06:00
router gossip: refactor some gossip related libraries into a central place (#21036) 2024-05-07 10:30:49 -05:00
routine-leak-checker [Security] Secvuln 8633 Consul configuration allowed repeated keys (#21908) 2024-11-14 09:57:08 -06:00
rpc Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
rpcclient NET-5879 - expose sameness group param on service health endpoint and move sameness group health fallback logic into HealthService RPC layer (#21096) 2024-05-14 13:32:49 +00:00
structs [Security] Secvuln 8633 Consul configuration allowed repeated keys (#21908) 2024-11-14 09:57:08 -06:00
submatview [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
systemd [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
token Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
uiserver remove v2 tenancy, catalog, and mesh (#21592) 2024-09-05 08:50:46 -06:00
xds Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
acl.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_endpoint.go [NET-6249] Add templated policies description (#19735) 2023-11-27 10:34:22 -05:00
acl_endpoint_test.go remove v2 tenancy, catalog, and mesh (#21592) 2024-09-05 08:50:46 -06:00
acl_test.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
agent.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
agent_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
agent_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
agent_endpoint.go NET-11737 - sec vulnerability - remediate ability to use bexpr to filter results without ACL read on endpoint (#21950) 2024-11-20 16:26:12 -07:00
agent_endpoint_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
agent_endpoint_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
agent_endpoint_test.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
agent_test.go gossip: refactor some gossip related libraries into a central place (#21036) 2024-05-07 10:30:49 -05:00
apiserver.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
apiserver_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
catalog_endpoint.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
catalog_endpoint_ce.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
catalog_endpoint_test.go NET-11737 - sec vulnerability - remediate ability to use bexpr to filter results without ACL read on endpoint (#21950) 2024-11-20 16:26:12 -07:00
check.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_endpoint.go NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
config_endpoint_test.go remove v2 tenancy, catalog, and mesh (#21592) 2024-09-05 08:50:46 -06:00
connect_ca_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
connect_ca_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
coordinate_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
coordinate_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
delegate_mock_test.go gossip: refactor some gossip related libraries into a central place (#21036) 2024-05-07 10:30:49 -05:00
denylist.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
denylist_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
discovery_chain_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
discovery_chain_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
dns.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
dns_ce.go NET-10685 - Remove dns v2 code (#21598) 2024-08-13 16:53:48 -06:00
dns_ce_test.go NET-10685 - Remove dns v2 code (#21598) 2024-08-13 16:53:48 -06:00
dns_node_lookup_test.go NET-10685 - Remove dns v2 code (#21598) 2024-08-13 16:53:48 -06:00
dns_reverse_lookup_test.go NET-10685 - Remove dns v2 code (#21598) 2024-08-13 16:53:48 -06:00
dns_service_lookup_test.go Fix TestDNS_ServiceLookup_ARecordLimits so that it only creates test agents the minimal amount of time (#21608) 2024-08-15 18:09:09 +00:00
dns_test.go [Security] Secvuln 8633 Consul configuration allowed repeated keys (#21908) 2024-11-14 09:57:08 -06:00
enterprise_delegate_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
event_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
event_endpoint_test.go Retry lint fixes (#19151) 2023-12-06 12:11:32 -05:00
federation_state_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
health_endpoint.go NET-5879 - expose sameness group param on service health endpoint and move sameness group health fallback logic into HealthService RPC layer (#21096) 2024-05-14 13:32:49 +00:00
health_endpoint_ce_test.go NET-5879 - expose sameness group param on service health endpoint and move sameness group health fallback logic into HealthService RPC layer (#21096) 2024-05-14 13:32:49 +00:00
health_endpoint_test.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
http.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
http_ce.go Fix audit-log encoding issue (CC-7337) (#20345) 2024-02-06 16:40:07 +05:30
http_ce_test.go OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
http_decode_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
http_register.go NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
http_test.go [Security] SECVULN-8621: Fix XSS Vulnerability where content-type header wasn't explicitly set in API requests (#21930) 2024-11-27 09:30:14 -08:00
intentions_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
intentions_endpoint_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
intentions_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
keyring.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
keyring_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
kvs_endpoint.go [Security] Close cross scripting vulnerability (#21342) 2024-06-17 13:54:37 -04:00
kvs_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
metrics.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
metrics_test.go update TestHTTPHandlers_AgentMetrics_LeaderShipMetrics to use 3 servers instead of 2 to allow quorum when leadership flails. (#21239) 2024-06-03 12:10:38 -06:00
nodeid.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
nodeid_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
notify.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
notify_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_endpoint.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
operator_endpoint_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
operator_endpoint_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
operator_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
peering_endpoint.go OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
peering_endpoint_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
peering_endpoint_test.go NET-9084 - add tests to peering endpoint and blockingquery package to assert blocking works properly. (#21078) 2024-05-09 14:55:13 -04:00
prepared_query_endpoint.go NET-7644/NET-7634 - Implement query lookup for tagged addresses on nodes and services including WAN translation. (#20583) 2024-02-12 14:27:25 -05:00
prepared_query_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
proxycfg_test.go remove v2 tenancy, catalog, and mesh (#21592) 2024-09-05 08:50:46 -06:00
reload.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
remote_exec.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
remote_exec_test.go Retry lint fixes (#19151) 2023-12-06 12:11:32 -05:00
retry_join.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
retry_join_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
service_checks_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
service_manager.go Ensure that upstream configuration is properly normalized. (#19076) 2023-10-06 13:59:47 -05:00
service_manager_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_endpoint_test.go Retry lint fixes (#19151) 2023-12-06 12:11:32 -05:00
setup.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
setup_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
sidecar_service.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
sidecar_service_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
signal_unix.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
signal_windows.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
snapshot_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot_endpoint_test.go Fix more test flakes (#19533) 2023-11-07 10:15:50 -06:00
status_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
status_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
streaming_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testagent.go Upgrade to using hashicorp/go-metrics@v0.5.4 2025-01-24 16:33:52 -05:00
testagent_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
translate_addr.go NET-7644/NET-7634 - Implement query lookup for tagged addresses on nodes and services including WAN translation. (#20583) 2024-02-12 14:27:25 -05:00
txn_endpoint.go Add TCP+TLS Healthchecks (#18381) 2023-09-05 13:34:44 -07:00
txn_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
ui_endpoint.go [NET-5688] APIGateway UI Topology Fixes (#19657) 2023-11-28 21:27:14 +00:00
ui_endpoint_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
ui_endpoint_test.go remove v2 tenancy, catalog, and mesh (#21592) 2024-09-05 08:50:46 -06:00
user_event.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
user_event_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
util.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
util_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
watch_handler.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
watch_handler_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00