2021-04-06 12:40:40 +00:00
|
|
|
<Route
|
|
|
|
@name={{routeName}}
|
|
|
|
as |route|>
|
2021-09-15 18:50:11 +00:00
|
|
|
{{#let
|
|
|
|
route.model.proxy
|
2022-01-07 19:16:21 +00:00
|
|
|
route.model.meta
|
|
|
|
as |item proxy|}}
|
2021-04-06 12:40:40 +00:00
|
|
|
<div class="tab-section">
|
2022-01-07 19:16:21 +00:00
|
|
|
{{#if (gt proxy.ServiceProxy.Expose.Paths.length 0)}}
|
2022-04-11 11:49:59 +00:00
|
|
|
{{t 'routes.dc.services.instance.exposedpaths.intro' htmlSafe=true}}
|
2022-01-07 19:16:21 +00:00
|
|
|
<Consul::ExposedPath::List
|
|
|
|
@items={{proxy.ServiceProxy.Expose.Paths}}
|
|
|
|
@address={{or item.Service.Address item.Node.Address}}
|
|
|
|
/>
|
2021-04-06 12:40:40 +00:00
|
|
|
{{else}}
|
|
|
|
<EmptyState>
|
|
|
|
<BlockSlot @name="body">
|
2022-04-11 11:49:59 +00:00
|
|
|
{{t 'routes.dc.services.instance.exposedpaths.empty.body' htmlSafe=true}}
|
2021-04-06 12:40:40 +00:00
|
|
|
</BlockSlot>
|
|
|
|
</EmptyState>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2021-09-15 18:50:11 +00:00
|
|
|
{{/let}}
|
2021-04-06 12:40:40 +00:00
|
|
|
</Route>
|