2020-01-28 14:25:52 +00:00
|
|
|
{{title item.ID}}
|
2020-02-19 19:26:38 +00:00
|
|
|
<AppView @class="instance show">
|
|
|
|
<BlockSlot @name="notification" as |status type|>
|
2019-03-22 17:24:40 +00:00
|
|
|
{{partial 'dc/services/notifications'}}
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="breadcrumbs">
|
2019-02-21 13:10:53 +00:00
|
|
|
<ol>
|
|
|
|
<li><a data-test-back href={{href-to 'dc.services'}}>All Services</a></li>
|
|
|
|
<li><a data-test-back href={{href-to 'dc.services.show'}}>Service ({{item.Service}})</a></li>
|
|
|
|
</ol>
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="header">
|
2020-05-07 13:57:15 +00:00
|
|
|
<h1>
|
|
|
|
{{ item.ID }}
|
|
|
|
</h1>
|
|
|
|
<ConsulExternalSource @item={{item}} />
|
2020-06-09 10:10:14 +00:00
|
|
|
<ConsulKind @item={{item}} @withInfo={{true}} />
|
2020-05-07 13:57:15 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="nav">
|
2019-02-21 13:10:53 +00:00
|
|
|
<dl>
|
|
|
|
<dt>Service Name</dt>
|
|
|
|
<dd><a href="{{href-to 'dc.services.show' item.Service}}">{{item.Service}}</a></dd>
|
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt>Node Name</dt>
|
|
|
|
<dd><a href="{{href-to 'dc.nodes.show' item.Node.Node}}">{{item.Node.Node}}</a></dd>
|
|
|
|
</dl>
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
2020-06-03 09:55:36 +00:00
|
|
|
<BlockSlot @name="actions">
|
|
|
|
{{#let (or item.Address item.Node.Address) as |address|}}
|
|
|
|
<CopyButton @value={{address}} @name="Address">{{address}}</CopyButton>
|
|
|
|
{{/let}}
|
|
|
|
</BlockSlot>
|
2020-02-19 19:26:38 +00:00
|
|
|
<BlockSlot @name="content">
|
2020-04-08 09:56:36 +00:00
|
|
|
<TabNav @items={{
|
|
|
|
compact
|
|
|
|
(array
|
2020-04-22 14:40:59 +00:00
|
|
|
(hash label="Health Checks" href=(href-to "dc.services.instance.healthchecks") selected=(is-href "dc.services.instance.healthchecks"))
|
2019-07-05 08:07:25 +00:00
|
|
|
(if
|
|
|
|
(eq item.Kind 'mesh-gateway')
|
2020-04-08 09:56:36 +00:00
|
|
|
(hash label="Addresses" href=(href-to "dc.services.instance.addresses") selected=(is-href "dc.services.instance.addresses")) ""
|
2020-05-07 13:57:15 +00:00
|
|
|
)
|
|
|
|
(if proxy
|
|
|
|
(hash label="Proxy Info" href=(href-to "dc.services.instance.proxy") selected=(is-href "dc.services.instance.proxy"))
|
|
|
|
|
2019-07-05 08:07:25 +00:00
|
|
|
)
|
2020-05-26 15:52:32 +00:00
|
|
|
(hash label="Tags & Meta" href=(href-to "dc.services.instance.metadata") selected=(is-href "dc.services.instance.metadata"))
|
2020-04-08 09:56:36 +00:00
|
|
|
)
|
|
|
|
}}/>
|
|
|
|
{{outlet}}
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
</AppView>
|