open-consul/ui-v2/app/services/repository
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
..
type UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
acl.js ui: Move repo services to repository/ folder and standardize naming (#4694) 2018-10-26 17:36:15 +01:00
coordinate.js UI: Add support for blocking queries on the service instance detail page (#5487) 2019-05-01 18:22:23 +00:00
dc.js ui: Move repo services to repository/ folder and standardize naming (#4694) 2018-10-26 17:36:15 +01:00
intention.js ui: Move repo services to repository/ folder and standardize naming (#4694) 2018-10-26 17:36:15 +01:00
kv.js ui: Replaces destroyRecord with unloadRecord for KV 404's (#5837) 2019-06-04 15:56:20 +01:00
node.js UI: Add support for blocking queries on the service instance detail page (#5487) 2019-05-01 18:22:23 +00:00
policy.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
proxy.js UI: Add support for blocking queries on the service instance detail page (#5487) 2019-05-01 18:22:23 +00:00
role.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
service.js UI: Add support for blocking queries on the service instance detail page (#5487) 2019-05-01 18:22:23 +00:00
session.js ui: Prefer `cursor` over `index`, add `configuration` option to repos (#5042) 2019-05-01 18:21:54 +00:00
token.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00