diff --git a/ui-v2/app/instance-initializers/event-source.js b/ui-v2/app/instance-initializers/event-source.js index f354b9d12e..27acd00c5d 100644 --- a/ui-v2/app/instance-initializers/event-source.js +++ b/ui-v2/app/instance-initializers/event-source.js @@ -4,7 +4,7 @@ export function initialize(container) { if (env('CONSUL_UI_DISABLE_REALTIME')) { return; } - ['node', 'coordinate', 'session', 'service', 'proxy', 'discovery-chain'] + ['node', 'coordinate', 'session', 'service', 'proxy', 'discovery-chain', 'intention'] .concat(env('CONSUL_NSPACES_ENABLED') ? ['nspace/enabled'] : []) .map(function(item) { // create repositories that return a promise resolving to an EventSource @@ -70,6 +70,12 @@ export function initialize(container) { proxyRepo: 'repository/proxy/event-source', }, }, + { + route: 'dc/intentions/index', + services: { + repo: 'repository/intention/event-source', + }, + }, { service: 'form', services: { diff --git a/ui-v2/app/templates/settings.hbs b/ui-v2/app/templates/settings.hbs index b52a027675..fc5dc8fd80 100644 --- a/ui-v2/app/templates/settings.hbs +++ b/ui-v2/app/templates/settings.hbs @@ -28,7 +28,7 @@ {{#if (not (env 'CONSUL_UI_DISABLE_REALTIME'))}}

Blocking Queries

-

Keep catalog info up-to-date without refreshing the page. Any changes made to services and nodes would be reflected in real time.

+

Keep catalog info up-to-date without refreshing the page. Any changes made to services, nodes and intentions would be reflected in real time.