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 ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
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 ui: Move healthcheck ordering to use new comparators (#8096) 2020-06-16 14:13:29 +01:00
instance-initializers ui: Remove WithEventSource mixin, use a component instead (#7953) 2020-06-17 14:19:50 +01:00
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 ui: Token listing redesign (#8117) 2020-06-17 10:25:54 +01:00
routing ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
search/filters ui: Add ability to search nodes listing page with IP Address (#7204) 2020-02-04 10:45:25 -05:00
serializers ui: Add blocking queries to gateways (#7967) 2020-06-03 16:46:52 +00:00
services ui: Ensure routing tab is shown when connect enabled (#8209) 2020-07-01 10:21:15 +01:00
sort/comparators ui: Move healthcheck ordering to use new comparators (#8096) 2020-06-16 14:13:29 +01:00
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 ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
app.js ui: Upgrade to ember 3.16 Octane Edition (#7334) 2020-05-12 17:14:10 +00:00
env.js ui: Improve configuration/env/feature flag usage (also add build time year detection) (#7072) 2020-01-21 17:52:40 +00:00
index.html ui: Keyboard navigation improvements (#7090) 2020-01-20 14:15:15 +00:00
router.js ui: Create Tags & Meta tab (#7954) 2020-06-03 16:46:48 +00:00