mirror of https://github.com/status-im/consul.git
ui: Replace proxy icon with mesh icon (#8804)
This commit is contained in:
parent
4c9630ffad
commit
76d3909f30
|
@ -21,14 +21,14 @@
|
||||||
<ConsulInstanceChecks @type="node" @items={{reject-by 'ServiceID' '' item.Checks}} />
|
<ConsulInstanceChecks @type="node" @items={{reject-by 'ServiceID' '' item.Checks}} />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if item.ProxyInstance}}
|
{{#if item.ProxyInstance}}
|
||||||
<dl class="proxy">
|
<dl class="mesh">
|
||||||
<dt>
|
<dt>
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
Proxy
|
This service uses a proxy for the Consul service mesh
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</dt>
|
</dt>
|
||||||
<dd data-test-proxy>
|
<dd data-test-mesh>
|
||||||
connected with proxy
|
in service mesh with proxy
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -29,6 +29,10 @@ export default Route.extend({
|
||||||
: hash({
|
: hash({
|
||||||
...model,
|
...model,
|
||||||
chain: this.data.source(uri => uri`/${nspace}/${dc}/discovery-chain/${params.name}`),
|
chain: this.data.source(uri => uri`/${nspace}/${dc}/discovery-chain/${params.name}`),
|
||||||
|
// Whilst `proxies` isn't used anywhere in the show templates
|
||||||
|
// it provides a relationship of ProxyInstance on the ServiceInstance
|
||||||
|
// which can respond at a completely different blocking rate to
|
||||||
|
// the ServiceInstance itself
|
||||||
proxies: this.data.source(
|
proxies: this.data.source(
|
||||||
uri => uri`/${nspace}/${dc}/proxies/for-service/${params.name}`
|
uri => uri`/${nspace}/${dc}/proxies/for-service/${params.name}`
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue