2020-04-08 17:09:36 +00:00
|
|
|
{{yield}}
|
2020-02-12 17:46:29 +00:00
|
|
|
{{#if (gt items.length 0)}}
|
2020-04-08 17:09:36 +00:00
|
|
|
<ListCollection @cellHeight={{73}} @items={{items}} class="consul-service-list" as |item index|>
|
2020-05-11 14:04:27 +00:00
|
|
|
<a data-test-service-name href={{href-to routeName item.Name}} class={{service/health-checks item}}>
|
2020-04-21 14:21:52 +00:00
|
|
|
{{item.Name}}
|
2020-04-08 17:09:36 +00:00
|
|
|
</a>
|
2020-04-21 14:21:52 +00:00
|
|
|
<ul>
|
2020-05-05 16:29:51 +00:00
|
|
|
<ConsulKind @item={{item}} as |Kind|>
|
|
|
|
<li>
|
|
|
|
<Kind />
|
|
|
|
</li>
|
|
|
|
</ConsulKind>
|
2020-04-21 14:21:52 +00:00
|
|
|
<ConsulExternalSource @item={{item}} as |ExternalSource|>
|
|
|
|
<li>
|
|
|
|
<ExternalSource />
|
|
|
|
</li>
|
|
|
|
</ConsulExternalSource>
|
|
|
|
{{#if (not-eq item.InstanceCount 0)}}
|
|
|
|
<li>
|
|
|
|
{{format-number item.InstanceCount}} {{pluralize item.InstanceCount 'Instance' without-count=true}}
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (get proxies item.Name)}}
|
2020-05-12 15:37:22 +00:00
|
|
|
<li data-test-proxy class="proxy">
|
2020-04-21 14:21:52 +00:00
|
|
|
connected with proxy
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2020-05-12 12:02:04 +00:00
|
|
|
<TagList @item={{item}} as |Tags|>
|
|
|
|
<li>
|
|
|
|
<Tags />
|
|
|
|
</li>
|
|
|
|
</TagList>
|
2020-04-21 14:21:52 +00:00
|
|
|
</ul>
|
2020-04-08 17:09:36 +00:00
|
|
|
</ListCollection>
|
2020-02-12 17:46:29 +00:00
|
|
|
{{/if}}
|