mirror of
https://github.com/status-im/consul.git
synced 2025-01-21 02:59:48 +00:00
6589cbbd0d
* ui: Add the most basic workspace root in /ui * We already have a LICENSE file in the repository root * Change directory path in build scripts ui-v2 -> ui * Make yarn install flags configurable from elsewhere * Minimal workspace root makefile * Call the new docker specific target * Update yarn in the docker build image * Reconfigure the netlify target and move to the higher makefile * Move ui-v2 -> ui/packages/consul-ui * Change repo root to refleect new folder structure * Temporarily don't hoist consul-api-double * Fixup CI configuration * Fixup lint errors * Fixup Netlify target
36 lines
1.2 KiB
Handlebars
36 lines
1.2 KiB
Handlebars
<div id="tags" class="tab-section">
|
|
<div role="tabpanel">
|
|
{{#if topology}}
|
|
<TopologyMetrics
|
|
@service={{items.firstObject}}
|
|
@protocol={{topology.Protocol}}
|
|
@upstreams={{topology.Upstreams}}
|
|
@downstreams={{filter-by 'Datacenter' topology.Datacenter topology.Downstreams}}
|
|
@dc={{topology.Datacenter}}
|
|
@metricsHref={{render-template urls.service (hash
|
|
Datacenter=dc
|
|
Service=(hash Name=item.Service.Service)
|
|
)}}
|
|
/>
|
|
{{else}}
|
|
<EmptyState>
|
|
<BlockSlot @name="header">
|
|
<h2>
|
|
No dependencies
|
|
</h2>
|
|
</BlockSlot>
|
|
<BlockSlot @name="body">
|
|
<p>
|
|
This service has neither downstreams nor upstreams, which means that no services are configured to connect with it. Add upstreams and intentions to ensure this service is connected with the rest of your service mesh.
|
|
</p>
|
|
</BlockSlot>
|
|
<BlockSlot @name="actions">
|
|
<li class="docs-link">
|
|
<a href="{{env 'CONSUL_DOCS_URL'}}/connect/registration/service-registration#upstream-configuration-reference" rel="noopener noreferrer" target="_blank">Documentation on upstreams</a>
|
|
</li>
|
|
</BlockSlot>
|
|
</EmptyState>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|