consul/ui-v2/app
John Cowen 07b49f8887
ui: Ensure routing tab is shown when connect enabled (#8209)
In https://github.com/hashicorp/consul/pull/8065 we attempted to reduce
the amount of times that the UI requests the discovery chain endpoint
when connect is disabled on a datacenter.

Currently we can only tell if connect is disabled on a datacenter by
detecting a 500 error from a connect related endpoint.

In the above PR we mistakenly returned from a catch instead of
rethrowing the error, which meant that when a none 500 error was caught
the discovery chain data would be removed. Whilst at first glance this
doens't seem like a big problem due to the endpoint erroring, but we
also receive a 0 error when we abort endpoints during blocking queries.
This means that in certain cases we can remove cached data for the
discovery chain and then delay reloading it via a blocking query.

This PR replaces the return with a throw, which means that everything is
dealt with correctly via the blocking query error detection/logic.
2020-07-01 10:21:15 +01:00
..
adapters ui: Support for Node Identities (#8137) 2020-06-23 09:59:43 +01:00
components ui: Don't hide TTL check output (#8187) 2020-06-29 15:29:20 +01:00
controllers ui: Update helper to return Proxy and Service Health if the Service has a Proxy (#8168) 2020-06-23 10:28:29 -04:00
forms
helpers ui: Update helper to return Proxy and Service Health if the Service has a Proxy (#8168) 2020-06-23 10:28:29 -04:00
initializers
instance-initializers
mixins ui: Support for Node Identities (#8137) 2020-06-23 09:59:43 +01:00
models ui: Support for Node Identities (#8137) 2020-06-23 09:59:43 +01:00
routes
routing
search/filters
serializers
services ui: Ensure routing tab is shown when connect enabled (#8209) 2020-07-01 10:21:15 +01:00
sort/comparators
styles ui: Support ingress gateways upstreams with multiple addresses (#8185) 2020-06-25 09:50:39 -04:00
templates ui: Add namespaced versions of templated policies (#8173) 2020-06-23 17:58:43 +01:00
utils ui: Make sure right trim doesn't try to overtrim (#8171) 2020-06-23 18:34:21 +01:00
validations
app.js
env.js
index.html
router.js