consul/agent/discovery
hc-github-team-consul-core 43b5ed1283
Backport of DNS v2 - split up router into multiple responsibilities & break up router tests into multiple files. into release/1.18.x (#20780)
* backport of commit 008451aa1e

* backport of commit abdf8c8205

* backport of commit a0176356f7

* DNS v2 - split up router into multiple responsibilities & break up router tests into multiple files. (#20688)

* Update agent/dns.go

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>

* PR feedback

* split tests out into multiple files.

* Extract responsibilities from router into discoveryResultsFetcher, messageSerializer, responseGenerator.

* adding recordmaker tests

* add response generator test coverage.

* changing tests case name based on PR feedback

---------

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>

---------

Co-authored-by: John Murret <john.murret@hashicorp.com>
Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-03-01 17:09:38 +00:00
..
discovery.go Backport of DNS v2 - split up router into multiple responsibilities & break up router tests into multiple files. into release/1.18.x (#20780) 2024-03-01 17:09:38 +00:00
discovery_test.go Backport of NET-7631 - Fix Node records that point to external/ non-IP addresses into release/1.18.x (#20502) 2024-02-06 18:31:25 +00:00
mock_CatalogDataFetcher.go Backport of feat(v2dns): catalog v2 workload query support into release/1.18.x (#20469) 2024-02-04 17:14:10 -05:00
query_fetcher_v1.go Backport of NET-8056 - v2 DNS Testing Improvements into release/1.18.x (#20778) 2024-03-01 13:05:09 +00:00
query_fetcher_v1_ce.go Backport of NET-8056 - v2 DNS Testing Improvements into release/1.18.x (#20778) 2024-03-01 13:05:09 +00:00
query_fetcher_v1_ce_test.go Backport of feat(v2dns): catalog v2 workload query support into release/1.18.x (#20469) 2024-02-04 17:14:10 -05:00
query_fetcher_v1_test.go Backport of fix(v2dns): add node ttl to workloads, comment cleanup, and changelog into release/1.18.x (#20650) 2024-02-14 22:20:17 -05:00
query_fetcher_v2.go Backport of NET-8056 - v2 DNS Testing Improvements into release/1.18.x (#20778) 2024-03-01 13:05:09 +00:00
query_fetcher_v2_test.go Backport of feat(v2dns): catalog v2 service query support into release/1.18.x (#20578) 2024-02-09 21:52:09 -05:00