Commit Graph

1 Commits (a3e353eea82fddd24990f806b7f1b7800d4570fc)

Author SHA1 Message Date
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