ui.topics.dryRunInspect.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="topicStatuses" type="com.infobip.kafkistry.service.topic.TopicStatuses" -->
<#-- @ftlvariable name="clustersResources" type="java.util.Map>" -->
<#-- @ftlvariable name="blockers" type="java.util.List" -->
<#import "../common/util.ftl" as util_>
<#import "topicResourceUsages.ftl" as usages>
Possible status over all clusters after saving:
<#assign statusFlags = topicStatuses.aggStatusFlags>
<#assign clusterStatusFlags = util_.clusterStatusFlags(topicStatuses.statusPerClusters)>
<#include "../common/statusFlags.ftl">
▼
△
Expected metrics per clusters
<#list clustersResources as clusterIdentifier, optionalTopicResources>
<#if optionalTopicResources.value??>
<#assign topicResources = optionalTopicResources.value>
<#include "resources.ftl">
<#else>
${clusterIdentifier} -> ${optionalTopicResources.absentReason!'---'}
#if>
#list>
Blocker issues
<#if blockers?size == 0>
NONE
<#else>
There are ${blockers?size} issues:
<#list blockers as blocker>
- ${blocker}
#list>
#if>