2021-01-25 18:13:54 +00:00
|
|
|
<EventSource @src={{items}} />
|
2020-10-05 13:48:26 +00:00
|
|
|
<div class="tab-section">
|
2021-01-25 18:13:54 +00:00
|
|
|
{{#let
|
|
|
|
|
|
|
|
(hash
|
|
|
|
value=(or sortBy "Status:asc")
|
|
|
|
change=(action (mut sortBy) value="target.selected")
|
|
|
|
)
|
|
|
|
|
|
|
|
(hash
|
|
|
|
instance=(hash
|
|
|
|
value=(if instance (split instance ',') undefined)
|
|
|
|
change=(action (mut instance) value="target.selectedItems")
|
|
|
|
)
|
|
|
|
searchproperty=(hash
|
|
|
|
value=(if (not-eq searchproperty undefined)
|
|
|
|
(split searchproperty ',')
|
|
|
|
searchProperties
|
|
|
|
)
|
|
|
|
change=(action (mut searchproperty) value="target.selectedItems")
|
|
|
|
default=searchProperties
|
|
|
|
)
|
2020-12-01 15:45:09 +00:00
|
|
|
)
|
2021-01-25 18:13:54 +00:00
|
|
|
|
|
|
|
items
|
|
|
|
|
|
|
|
as |sort filters items|}}
|
|
|
|
{{#if (gt items.length 0)}}
|
2020-09-01 18:13:11 +00:00
|
|
|
<input type="checkbox" id="toolbar-toggle" />
|
2020-10-14 08:03:39 +00:00
|
|
|
<Consul::Upstream::SearchBar
|
2020-09-01 18:13:11 +00:00
|
|
|
@search={{search}}
|
|
|
|
@onsearch={{action (mut search) value="target.value"}}
|
|
|
|
|
|
|
|
@sort={{sort}}
|
|
|
|
|
|
|
|
@filter={{filters}}
|
|
|
|
/>
|
|
|
|
{{/if}}
|
|
|
|
<p>
|
|
|
|
The following services may receive traffic from external services through this gateway. Learn more about configuring gateways in our
|
|
|
|
<a href="{{env 'CONSUL_DOCS_URL'}}/connect/terminating-gateway" target="_blank" rel="noopener noreferrer">step-by-step guide</a>.
|
|
|
|
</p>
|
2020-12-01 15:45:09 +00:00
|
|
|
<DataCollection
|
|
|
|
@type="service"
|
2021-01-25 18:13:54 +00:00
|
|
|
@sort={{sort.value}}
|
2020-12-01 15:45:09 +00:00
|
|
|
@filters={{filters}}
|
|
|
|
@search={{search}}
|
2021-01-25 18:13:54 +00:00
|
|
|
@items={{items}}
|
2020-12-01 15:45:09 +00:00
|
|
|
as |collection|>
|
|
|
|
<collection.Collection>
|
|
|
|
<Consul::Service::List
|
|
|
|
@nspace={{nspace}}
|
|
|
|
@items={{collection.items}}
|
|
|
|
>
|
|
|
|
</Consul::Service::List>
|
|
|
|
</collection.Collection>
|
|
|
|
<collection.Empty>
|
|
|
|
<EmptyState>
|
|
|
|
<BlockSlot @name="body">
|
|
|
|
<p>
|
2021-01-25 18:13:54 +00:00
|
|
|
There are no linked services{{#if (gt items.length 0)}} matching that search{{/if}}.
|
2020-12-01 15:45:09 +00:00
|
|
|
</p>
|
|
|
|
</BlockSlot>
|
|
|
|
</EmptyState>
|
|
|
|
</collection.Empty>
|
|
|
|
</DataCollection>
|
2020-09-01 18:13:11 +00:00
|
|
|
{{/let}}
|
2020-05-12 21:34:47 +00:00
|
|
|
</div>
|