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

webapp.templates.home.screen.pipelineList.vm Maven / Gradle / Ivy

There is a newer version: 4.2.18
Show newest version
$control.setTemplate("home:navigation.vm")
#set($user = $rundata.request.session.getAttribute("managerUser"))

 



Pipeline管理

#foreach ($pipeline in $pipelines) #set($throughputStat = $throughputStats.get($pipeline.id)) #set($positionData = $positionDatas.get($pipeline.id)) #end
序号 Pipeline名字 并行度 主站点 mainstem状态 延迟时间 最后同步时间 最后位点时间 监控数 操作
$pipeline.id
$pipeline.name
$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)$!numberFormat.format($!throughputStat.gmtModified)$!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
#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