open-consul/ui-v2/app/services
John Cowen 9999ccf503
ui: Replaces destroyRecord with unloadRecord for KV 404's (#5837)
Just because Consul gives us a 404 this doesn't guarantee the KV doesn't
exist, it doesn't even mean we don't have access to it. Furthermore we
should never destroyRecord's without user interaction (therefore only via the
repo.delete method).

This switches destroyRecord to unloadRecord which performs the
additional legwork to keep ember-data in sync with the actual truth.

unloadRecord unloads the record from ember-data rather than sending an API
delete request, which would have been the intent here.
2019-06-04 15:56:20 +01:00
..
client UI: Add EventSource ready for implementing blocking queries (#5070) 2019-05-01 18:22:06 +00:00
code-mirror ui: Refactors the code-mirror linting/restrict legacy tokens to HCL (#4866) 2019-05-01 18:21:35 +00:00
repository ui: Replaces destroyRecord with unloadRecord for KV 404's (#5837) 2019-06-04 15:56:20 +01:00
atob.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
btoa.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
confirm.js More detailed error messages for duplicate intentions 2018-06-25 12:25:15 -07:00
dom-buffer.js ui: fix production build only empty role modal (#5806) 2019-05-08 10:01:26 +01:00
dom.js UI: Service Instances (#5326) 2019-05-01 18:22:10 +00:00
error.js More detailed error messages for duplicate intentions 2018-06-25 12:25:15 -07:00
feedback.js UI: Removes success notification on faking a success response for `self` (#4906) 2018-11-07 15:57:41 +00:00
form.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
lazy-proxy.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
logger.js WIP: Logger 2018-06-25 12:25:14 -07:00
repository.js ui: Prefer `cursor` over `index`, add `configuration` option to repos (#5042) 2019-05-01 18:21:54 +00:00
search.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
settings.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
store.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
timeout.js ui: Adds tick whilst editing the link template in the Settings area (#5820) 2019-05-17 12:33:12 +01:00