2020-05-12 21:34:47 +00:00
|
|
|
<div id="services" class="tab-section">
|
|
|
|
<div role="tabpanel">
|
|
|
|
{{#if (gt gateway.Services.length 0)}}
|
|
|
|
<section>
|
|
|
|
<p>
|
|
|
|
The following services may receive traffic from external services through this gateway. Learn more about configuring gateways in our
|
2020-05-13 15:28:11 +00:00
|
|
|
<a href="{{env 'CONSUL_DOCS_URL'}}/connect/terminating_gateway.html" target="_blank" rel="noopener noreferrer">step-by-step guide.</a>
|
2020-05-12 21:34:47 +00:00
|
|
|
|
|
|
|
</p>
|
2020-05-13 15:28:11 +00:00
|
|
|
<ListCollection @cellHeight={{73}} @items={{gateway.Services}} class="consul-gateway-services-list" as |item index|>
|
2020-05-12 21:34:47 +00:00
|
|
|
<a data-test-service-name href={{href-to 'dc.services.show' item.Name}} class={{service/health-checks item}}>
|
|
|
|
{{item.Name}}
|
|
|
|
</a>
|
|
|
|
<ul>
|
|
|
|
{{#if (not-eq item.InstanceCount 0)}}
|
|
|
|
<li>
|
|
|
|
{{format-number item.InstanceCount}} {{pluralize item.InstanceCount 'Instance' without-count=true}}
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
<TagList @item={{item}} as |Tags|>
|
|
|
|
<li>
|
|
|
|
<Tags />
|
|
|
|
</li>
|
|
|
|
</TagList>
|
|
|
|
</ul>
|
|
|
|
</ListCollection>
|
|
|
|
</section>
|
|
|
|
{{else}}
|
|
|
|
<p>
|
|
|
|
There are no linked services.
|
|
|
|
</p>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|