ui.quotas.management.bulkAlterWrongEntityQuotas.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="lastCommit" type="java.lang.String" -->
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="entity" type="com.infobip.kafkistry.model.QuotaEntity" -->
<#-- @ftlvariable name="wrongClusterQuotas" type="java.util.Map" -->
<#include "../../commonResources.ftl"/>
Kafkistry: Create missing entity quotas
<#include "../../commonMenu.ftl">
<#import "../util.ftl" as quotaUtil>
<#include "../../common/backBtn.ftl"> Bulk create missing entity quotas on clusters
Going to create Entity quotas on clusters
Entity:
<@quotaUtil.entity entity = entity/>
Entity
Cluster
Producer byte rate
Consumer byte rate
Request percentage
<#list wrongClusterQuotas as clusterIdentifier, inspection>
<@quotaUtil.entity entity = entity/>
${clusterIdentifier}
Old:
<@quotaUtil.quotaValue inspection=inspection source="actualQuota" name="producerByteRate" suffix=""/>
New:
<@quotaUtil.quotaValue inspection=inspection source="expectedQuota" name="producerByteRate" suffix=""/>
Old:
<@quotaUtil.quotaValue inspection=inspection source="actualQuota" name="consumerByteRate" suffix=""/>
New:
<@quotaUtil.quotaValue inspection=inspection source="expectedQuota" name="consumerByteRate" suffix=""/>
Old:
<@quotaUtil.quotaValue inspection=inspection source="actualQuota" name="requestPercentage" suffix="%"/>
New:
<@quotaUtil.quotaValue inspection=inspection source="expectedQuota" name="requestPercentage" suffix="%"/>
<#assign statusId = "op-status-"+clusterIdentifier>
<#include "../../common/serverOpStatus.ftl">
#list>
<#if wrongClusterQuotas?size gt 0>
<#else>
No clusters need change of entity quotas
#if>
<#include "../../common/cancelBtn.ftl">
<#assign statusId = "">
<#include "../../common/serverOpStatus.ftl">
<#include "../../common/pageBottom.ftl">