ui.quotas.management.bulkCreateClusterMissingEntityQuotas.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="lastCommit" type="java.lang.String" -->
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="clusterIdentifier" type="java.lang.String" -->
<#-- @ftlvariable name="missingEntityQuotas" type="java.util.Map" -->
<#include "../../commonResources.ftl"/>
Kafkistry: Create cluster missing entity quotas
<#include "../../commonMenu.ftl">
<#import "../util.ftl" as quotaUtil>
<#include "../../common/backBtn.ftl"> Bulk create all missing entity quotas on cluster
Going to create Entity quotas on cluster
Cluster: ${clusterIdentifier}
Entity
Cluster
Producer byte rate
Consumer byte rate
Request percentage
<#list missingEntityQuotas as entity, 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-"+entity.asID()?replace("[:<>|;]", "_", "r")>
<#include "../../common/serverOpStatus.ftl">
#list>
<#if missingEntityQuotas?size gt 0>
<#else>
No entities need creation of missing quotas
#if>
<#include "../../common/cancelBtn.ftl">
<#assign statusId = "">
<#include "../../common/serverOpStatus.ftl">
<#include "../../common/pageBottom.ftl">