webapp.templates.home.screen.pipelineList.vm Maven / Gradle / Ivy
$control.setTemplate("home:navigation.vm")
#set($user = $rundata.request.session.getAttribute("managerUser"))
Pipeline管理
序号
Pipeline名字
并行度
主站点
mainstem状态
延迟时间
最后同步时间
最后位点时间
监控数
操作
#foreach ($pipeline in $pipelines)
$pipeline.id
$pipeline.name
$!pipeline.description
$pipeline.parameters.parallelism
$pipeline.parameters.home
#set($mainstemData = $mainstemDatas.get($pipeline.id))
#if(!$mainstemData)
未工作
#else
#if($mainstemData.status.isTaking())
定位中
#else
工作中
#end
#end
$!numberFormat.formatDelay($delayStats.get($pipeline.id).delayTime)
#set($throughputStat = $throughputStats.get($pipeline.id))
$!numberFormat.format($!throughputStat.gmtModified)
#set($positionData = $positionDatas.get($pipeline.id))
$!numberFormat.format($!positionData.modifiedTime)
$alarmRuleStats.get($pipeline.id).size()
#set ($pipelineInfoURL = $homeModule.setTarget("pipelineInfo.vm").addQueryData("pipelineId", $pipeline.id))
查看
#set ($monitorURL = $homeModule.setTarget("alarmRuleList.vm").addQueryData("pipelineId", $pipeline.id).addQueryData("channelId", $channel.id))
|监控
#set ($logRecordURL = $homeModule.setTarget("logRecordTab.vm").addQueryData("pipelineId", $pipeline.id))
|日志
#if($user.authorizeType.isAdmin() && $channel.status.isStop())
#set($flag = false)
#foreach($pair in $pipeline.pairs)
#set($flag = true)
#end
#set ($editURL = $homeModule.setTarget("editPipeline.vm").addQueryData("pipelineId", $pipeline.id))
|编辑
#if($flag)
|删除
#elseif($alarmRuleStats.get($pipeline.id).size() > 0)
|删除
#else
#set ($deleteURL = $homeModule.setAction("pipelineAction").addQueryData("pipelineId", $pipeline.id).addQueryData("channelId", $channel.id).addQueryData("eventSubmitDoDelete", "true"))
|删除
#end
#end
#end
#if($user.authorizeType.isAdmin() && $channel.status.isStop() && $channel.pipelines.size() < 2 )
#set ($addURL = $homeModule.setTarget("addPipeline.vm").addQueryData("channelId", $channel.id))
添加
#end
© 2015 - 2024 Weber Informatics LLC | Privacy Policy