2020-06-16 18:22:04 +00:00
|
|
|
<div ...attributes>
|
2020-06-16 13:13:29 +00:00
|
|
|
<ul>
|
|
|
|
{{#each items as |item| }}
|
|
|
|
<li class={{concat 'healthcheck-output ' item.Status}}>
|
|
|
|
<div>
|
|
|
|
<header>
|
|
|
|
<h3>{{item.Name}}</h3>
|
|
|
|
</header>
|
|
|
|
<dl>
|
|
|
|
{{#if (eq item.ServiceName "")}}
|
|
|
|
<dt>NodeName</dt>
|
|
|
|
<dd>{{item.Node}}</dd>
|
|
|
|
{{else}}
|
|
|
|
<dt>ServiceName</dt>
|
|
|
|
<dd>{{item.ServiceName}}</dd>
|
|
|
|
{{/if}}
|
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt>CheckID</dt>
|
|
|
|
<dd>{{or item.CheckID '-'}}</dd>
|
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt>Type</dt>
|
|
|
|
<dd>
|
|
|
|
{{item.Type}}
|
|
|
|
{{#if (and exposed (contains item.Type (array 'http' 'grpc')))}}
|
2020-11-30 16:52:13 +00:00
|
|
|
<em
|
|
|
|
data-test-exposed="true"
|
|
|
|
{{tooltip "Expose.checks is set to true, so all registered HTTP and gRPC check paths are exposed through Envoy for the Consul agent."}}
|
|
|
|
>Exposed</em>
|
2020-06-16 13:13:29 +00:00
|
|
|
{{/if}}
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt>Notes</dt>
|
|
|
|
<dd>{{or item.Notes '-'}}</dd>
|
|
|
|
</dl>
|
|
|
|
<dl>
|
|
|
|
<dt>Output</dt>
|
|
|
|
<dd>
|
|
|
|
<pre><code>{{item.Output}}</code></pre>
|
|
|
|
<CopyButton @value={{item.Output}} @name="output" />
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</li>
|
2019-02-21 13:10:53 +00:00
|
|
|
{{/each}}
|
2020-06-16 13:13:29 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|