2020-08-26 14:24:30 +00:00
|
|
|
{{title item.Service.ID}}
|
2020-06-17 13:19:50 +00:00
|
|
|
<EventSource @src={{item}} @onerror={{action "error"}} />
|
|
|
|
<EventSource @src={{proxy}} />
|
2020-07-17 13:42:45 +00:00
|
|
|
<EventSource @src={{proxyMeta}} />
|
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>
|
2020-08-26 14:24:30 +00:00
|
|
|
<li><a data-test-back href={{href-to 'dc.services.show'}}>Service ({{item.Service.Service}})</a></li>
|
2019-02-21 13:10:53 +00:00
|
|
|
</ol>
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="header">
|
2020-05-07 13:57:15 +00:00
|
|
|
<h1>
|
2020-08-26 14:24:30 +00:00
|
|
|
{{ item.Service.ID }}
|
2020-05-07 13:57:15 +00:00
|
|
|
</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>
|
2020-08-26 14:24:30 +00:00
|
|
|
<dd><a href="{{href-to 'dc.services.show' item.Service.Service}}">{{item.Service.Service}}</a></dd>
|
2019-02-21 13:10:53 +00:00
|
|
|
</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">
|
2020-08-26 14:24:30 +00:00
|
|
|
{{#let (or item.Service.Address item.Node.Address) as |address|}}
|
2020-06-03 09:55:36 +00:00
|
|
|
<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
|
2020-08-26 14:24:30 +00:00
|
|
|
(eq item.Service.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>
|