open-consul/ui-v2/app/adapters
John Cowen 52b1a73d3b
ui: Use X-Range header as a signal as to whether to reconcile the ember-data store (#8384)
* ui: Use `X-Range` header/meta to decide whether to reconcile or not

Previously we used a `shouldReconcile` method in order to decide whether
a response should trigger a reconciliation of the frontend ember-data
'source of truth' or not. It's a lot nicer/clearer if this 'flag' can be set
alongside the HTTP request information, moreover we almost have the same
functionality in `If-Range`/`Partial Content` HTTP functionality.

Here we partly follow this HTTP semantics but use a custom `X-Range` header
instead.
2020-07-29 10:16:09 +02:00
..
acl.js ui: Replaces old request method with rpc. (#8298) 2020-07-13 14:23:15 +01:00
application.js ui: Replaces old request method with rpc. (#8298) 2020-07-13 14:23:15 +01:00
coordinate.js ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
dc.js ui: Improved main navigation (#7673) 2020-05-12 17:14:28 +00:00
discovery-chain.js ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
http.js ui: Remove jQuery from the production build (#8088) 2020-07-07 19:58:46 +01:00
intention.js ui: Use X-Range header as a signal as to whether to reconcile the ember-data store (#8384) 2020-07-29 10:16:09 +02:00
kv.js ui: Ensure KV flags are passed through to Consul on update (#7216) 2020-02-05 09:37:45 +00:00
node.js ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
nspace.js ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
oidc-provider.js ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
policy.js ui: oss don't ever POST/PUT Namespaces when writing data (#7238) 2020-02-07 15:50:50 +00:00
proxy.js ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
role.js ui: Support for Node Identities (#8137) 2020-06-23 09:59:43 +01:00
service.js ui: Use X-Range header as a signal as to whether to reconcile the ember-data store (#8384) 2020-07-29 10:16:09 +02:00
session.js ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
token.js ui: Replaces old request method with rpc. (#8298) 2020-07-13 14:23:15 +01:00