open-consul/ui-v2/app/services
John Cowen 91a8c13aa0
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
..
client ui: Add blocking queries to gateways (#7967) 2020-06-03 16:46:52 +00:00
clipboard
code-mirror
data-sink ui: Amends to the data-sink service/component (#7740) 2020-05-12 17:14:37 +00:00
data-source ui: Add blocking queries to gateways (#7967) 2020-06-03 16:46:52 +00:00
repository ui: Ensure routing tab is shown when connect enabled (#8209) 2020-07-01 10:21:15 +01:00
atob.js
btoa.js
data-structs.js ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
dom-buffer.js UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
dom.js ui: Remove WithSearching mixin, use helpers instead (#7961) 2020-06-03 16:46:53 +00:00
env.js ui: Logout button (#7604) 2020-05-12 17:14:24 +00:00
feedback.js UI Release Merge (1.8-beta-2: ui-staging merge) (#7919) 2020-05-19 17:18:04 +01:00
form.js
lazy-proxy.js
logger.js
repository.js ui: Reduce discovery-chain log errors (#8065) 2020-06-10 16:07:06 +01:00
search.js
settings.js ui: Add DataSource component (#7448) 2020-05-12 17:14:18 +00:00
sort.js ui: Add ability to sort service based on health (#7989) 2020-06-03 16:46:57 +00:00
state.js ui: Adds `<StateChart />` component for wiring together Ember+XState (#7742) 2020-05-12 17:14:38 +00:00
store.js ui: New Empty States (#7940) 2020-06-03 16:46:50 +00:00
ticker.js ui: Discovery Chain (#6746) 2019-12-18 12:26:47 +00:00
timeout.js ui: Delete the Promise rsvp imports from codebase (#7372) 2020-05-12 17:14:12 +00:00