ui: Add X-Range header alongside the HTTP info for services/intentions

This header value controls whether ember-data should reconcile its local
store/data or not.
pull/8384/head
John Cowen 4 years ago
parent e9f6361d26
commit f8771ae3ea

@ -9,7 +9,12 @@ export default Adapter.extend({
requestForQuery: function(request, { dc, filter, index, uri }) {
return request`
GET /v1/connect/intentions?${{ dc }}
X-Request-ID: ${uri}
X-Request-ID: ${uri}${
typeof filter !== 'undefined'
? `
X-Range: ${filter}`
: ``
}
${{
index,

@ -5,6 +5,7 @@ export default Adapter.extend({
if (typeof gateway !== 'undefined') {
return request`
GET /v1/internal/ui/gateway-services-nodes/${gateway}?${{ dc }}
X-Range: ${gateway}
X-Request-ID: ${uri}
${{

Loading…
Cancel
Save