consul/ui-v2/app/serializers
John Cowen 42adafbd02 ui: Reconcile ember-data store when records are deleted via blocking (#5745)
* ui: Reconciliate ember-data store when records are deleted via blocking

Currently we are barely using the ember-data store/cache, but it will
still cache records in the store even though technically we aren't using
it.

This adds a SyncTime to every record that uses blocking queries so we
can delete older records from the ember-data cache to prevent them
building up

* ui: Add basic timestamp method we can access from tests, fixup tests

Adds a timestamp method that we can access from within tests so we can
test that the SyncTime is being set.

There is probably a better way to do this, but this is also probably the
simplest approach - we are also likely to revisit this at a later date
2019-09-04 08:34:57 +00:00
..
acl.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
application.js ui: Reconcile ember-data store when records are deleted via blocking (#5745) 2019-09-04 08:34:57 +00:00
coordinate.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
dc.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
intention.js Tie up real endpoints 2018-06-25 12:25:15 -07:00
kv.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
node.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
policy.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
proxy.js UI: Service Instances (#5326) 2019-05-01 18:22:10 +00:00
role.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
service.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
session.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
token.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00