ui.quotas.management.bulkCreateMissingEntityQuotas.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="missingClusterQuotas" 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 missingClusterQuotas 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 missingClusterQuotas?size gt 0>
<#else>
No clusters need creation of entity quotas
#if>
<#include "../../common/cancelBtn.ftl">
<#assign statusId = "">
<#include "../../common/serverOpStatus.ftl">
<#include "../../common/pageBottom.ftl">