consul/ui-v2/tests/unit
John Cowen 3eec5edadf
ui: Discovery-Chain: Cope with some edge case configs (#7174)
* ui: Discovery-Chain: Cope with redirects that have failovers

We found a few stranger configurations for discovery-chain, one of which
was redirects that can then failover.

We altered the parsing here to include 2 passes, one to organize the
nodes into resolvers and children/subsets based on the nodes themselves, which
includes adding the failovers to resolvers and subsets.

We then do a second pass which can more reliably figure out whether a
target is a redirect or a failover (target failovers don't have a
corresponding node), this then adds the redirect children to the already
exising resolver (from the first pass) and then checks if the redirect
also has failovers and adds those if so.

* ui: Check to see if we have a user configured default route or not

...if we don't add one so the visualization looks complete
2020-01-30 16:09:05 +00:00
..
adapters ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
controllers ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
helpers ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
mixins ui: Acceptance test improvements to prepare for more NS tests (#6980) 2020-01-24 12:26:28 +00:00
models ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
routes ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
search/filters ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
serializers ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
services ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
utils ui: Discovery-Chain: Cope with some edge case configs (#7174) 2020-01-30 16:09:05 +00:00