mirror of https://github.com/hashicorp/consul
3eec5edadf
* 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 |
||
---|---|---|
.. | ||
components/discovery-chain | ||
dom | ||
helpers | ||
http | ||
model | ||
routing | ||
search | ||
storage | ||
ticker | ||
acls-status-test.js | ||
ascend-test.js | ||
atob-test.js | ||
btoa-test.js | ||
callable-type-test.js | ||
create-fingerprinter-test.js | ||
createURL-test.js | ||
get-environment-test.js | ||
get-form-name-property-test.js | ||
get-object-pool-test.js | ||
hasStatus-test.js | ||
isFolder-test.js | ||
keyToArray-test.js | ||
left-trim-test.js | ||
non-empty-set-test.js | ||
promisedTimeout-test.js | ||
remove-null-test.js | ||
right-trim-test.js | ||
sumOfUnhealthy-test.js | ||
templatize-test.js | ||
ucfirst-test.js | ||
update-array-object-test.js |