All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ui.common.existingConfig.ftl Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version

<#-- @ftlvariable name="config"  type="java.util.Map" -->
<#-- @ftlvariable name="configEntryStatuses"  type="java.util.Map" -->
<#-- @ftlvariable name="expectedConfig"  type="java.util.Map" -->
<#-- @ftlvariable name="showExpected"  type="java.lang.Boolean" -->
<#-- @ftlvariable name="topicConfigDoc" type="java.util.Map" -->
<#-- @ftlvariable name="brokerConfigDoc" type="java.util.Map" -->

<#import "infoIcon.ftl" as confInfo>
<#assign showExpected = showExpected!false >




        <#if showExpected>
            
    <#list config as key, configVal>
        <#assign invalid = (!(configEntryStatuses[key].valid))!false>
        
            <#if showExpected>
                <#if (configEntryStatuses[key]??)>
                    <#assign valueStatus = configEntryStatuses[key]>
                    <#assign value = valueStatus.expectingClusterDefault?then("---", valueStatus.expectedValue!'')>
                    
                    <#assign value = valueStatus.expectingClusterDefault?then(valueStatus.expectedValue!'', "---")>
                    
                <#else>
                    
    <#if config?size == 0>
        
Key Value Source Read-only SensitiveExpected by registry Expected by cluster
${key} <#if (topicConfigDoc[key])??> <@confInfo.icon tooltip=topicConfigDoc[key]?replace('"', "'")/> <#elseif (brokerConfigDoc[key])??> <@confInfo.icon tooltip=brokerConfigDoc[key]?replace('"', "'")/> <#if configVal.value??> ${configVal.value} <#else>
null
${configVal.source.name()?replace('_', ' ')?replace('CONFIG', '')} ${configVal.readOnly?then('yes', 'no')} ${configVal.sensitive?then('yes', 'no')} <#if value == '' && !(valueStatus.expectedValue)??> null <#else> ${value} <#if value == '' && !(valueStatus.expectedValue)??> null <#else> ${value} --- ---
(no config values)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy