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

ui.autopilot.all.ftl Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
<#-- @ftlvariable name="lastCommit"  type="java.lang.String" -->
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="autopilotStatus"  type="com.infobip.kafkistry.autopilot.service.AutopilotStatus" -->
<#-- @ftlvariable name="actionFlows"  type="java.util.List" -->




    <#include "../commonResources.ftl"/>
    Kafkistry: Autopilot
    







<#include "../commonMenu.ftl">

<#import "../common/util.ftl" as util>
<#import "../common/infoIcon.ftl" as info>
<#import "../common/violaton.ftl" as violationUtil>
<#import "util.ftl" as autopilotUtil>

Properties
Property Value
Cycle period every ${util.prettyDuration(autopilotStatus.cyclePeriodMs / 1000)}
<#list autopilotStatus.possibleActions as actionDescription>
Implemented capabilities
Action Target Type
${actionDescription.actionName?remove_ending("Action")} <@info.icon tooltip = actionDescription.doc/> ${actionDescription.targetType}
<#macro enablesDisabledValues what enabledValues disabledValues> <#-- @ftlvariable name="what" type="java.lang.String" --> <#-- @ftlvariable name="enabledValues" type="java.util.Collection" --> <#-- @ftlvariable name="disabledValues" type="java.util.Collection" --> <#if enabledValues?size==0 && disabledValues?size==0> (all) <#if enabledValues?size gt 0> Enabled ${what}:
    <#list enabledValues as value>
  • <#if value?is_string>${value}<#else>${value.toString()}
<#if disabledValues?size gt 0> Disabled ${what}:
    <#list disabledValues as value>
  • <#if value?is_string>${value}<#else>${value.toString()}
Enabled actions filter
What Status
Enabled globally <#if autopilotStatus.enableFilter.enabled> ENABLED <#else> DISABLED
Allowed binding implementations <@enablesDisabledValues what = "binding classes" enabledValues = autopilotStatus.enableFilter.bindingType.enabledClasses disabledValues = autopilotStatus.enableFilter.bindingType.disabledClasses/>
Allowed target type <@enablesDisabledValues what = "target types" enabledValues = autopilotStatus.enableFilter.targetType.enabledValues disabledValues = autopilotStatus.enableFilter.targetType.disabledValues/>
Allowed action type <@enablesDisabledValues what = "action class types" enabledValues = autopilotStatus.enableFilter.actionType.enabledClasses disabledValues = autopilotStatus.enableFilter.actionType.disabledClasses/>
Allowed cluster identifiers <@enablesDisabledValues what = "cluster identfiers" enabledValues = autopilotStatus.enableFilter.cluster.identifiers.included disabledValues = autopilotStatus.enableFilter.cluster.identifiers.excluded/>
Allowed cluster tags <@enablesDisabledValues what = "cluster tags" enabledValues = autopilotStatus.enableFilter.cluster.tags.included disabledValues = autopilotStatus.enableFilter.cluster.tags.excluded/>
Allowed action attributes <#if autopilotStatus.enableFilter.attribute?size==0> (all) <#list autopilotStatus.enableFilter.attribute as attr, values> Attribute: ${attr}
<@enablesDisabledValues what = "values" enabledValues = values.enabledValues disabledValues = values.disabledValues/> <#if !attr?is_last>

Actions

<#assign datatableId = "autopilotActions"> <#include "../common/loading.ftl"> <#list actionFlows as actionFlow> <#assign actionDescription = actionFlow.metadata.description>
<#include "../common/pageBottom.ftl">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy