ui.quotas.management.bulkDeleteUnwantedEntityQuotas.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="unwantedClusterQuotas" type="java.util.Map" -->
<#include "../../commonResources.ftl"/>
Kafkistry: Delete unwanted entity quotas
<#include "../../commonMenu.ftl">
<#import "../util.ftl" as quotaUtil>
<#include "../../common/backBtn.ftl"> Bulk delete unwanted entity quotas on clusters
Going to delete Entity quotas on clusters
Entity:
<@quotaUtil.entity entity = entity/>
Entity
Cluster
Producer byte rate
Consumer byte rate
Request percentage
<#list unwantedClusterQuotas as clusterIdentifier, inspection>
<@quotaUtil.entity entity = entity/>
${clusterIdentifier}
<@quotaUtil.quotaValue inspection=inspection source="expectedQuota" name="producerByteRate" suffix=""/>
<@quotaUtil.quotaValue inspection=inspection source="expectedQuota" name="consumerByteRate" suffix=""/>
<@quotaUtil.quotaValue inspection=inspection source="expectedQuota" name="requestPercentage" suffix="%"/>
<#assign statusId = "op-status-"+clusterIdentifier>
<#include "../../common/serverOpStatus.ftl">
#list>
<#if unwantedClusterQuotas?size gt 0>
<#else>
No clusters need deletion of entity quotas
#if>
<#include "../../common/cancelBtn.ftl">
<#assign statusId = "">
<#include "../../common/serverOpStatus.ftl">
<#include "../../common/pageBottom.ftl">