Commit 9a467782 by huangfusuper

快速失败时,执行结束事件

parent 48fdc61c
...@@ -119,14 +119,15 @@ public class RunRecordingAndLogServiceImpl implements RunRecordingAndLogService, ...@@ -119,14 +119,15 @@ public class RunRecordingAndLogServiceImpl implements RunRecordingAndLogService,
.flowVersionName(virFlow.getVersionName()) .flowVersionName(virFlow.getVersionName())
.flowStatus("4") .flowStatus("4")
.flowRunResult("2") .flowRunResult("2")
.flowTimeout(virFlow.getFlowTimeout()) .flowTimeout(runRecording.getFlowTimeout())
.dispatchIp(InetAddress.getLocalHost().getHostAddress()) .dispatchIp(InetAddress.getLocalHost().getHostAddress())
.alarmEmail(virFlow.getAlarmEmail()) .alarmEmail(runRecording.getAlarmEmail())
.alarmlAction(virFlow.getAlarmlAction()) .alarmlAction(runRecording.getAlarmlAction())
.priority(virFlow.getPriority()) .priority(virFlow.getPriority())
.triggerTime(runRecording.getTriggerTime()) .triggerTime(runRecording.getTriggerTime())
.principal(virFlow.getPrincipal()) .principal(virFlow.getPrincipal())
.startTime(new Date()) .startTime(new Date())
.endTime(new Date())
.flowNodeCount(virFlow.getFlowNodeCount()) .flowNodeCount(virFlow.getFlowNodeCount())
.isAlarm(EmailEnum.IS_ALARM_NO.getCode()) .isAlarm(EmailEnum.IS_ALARM_NO.getCode())
.isInner(FlowPropertyEnum.IS_INNER.getCode()) .isInner(FlowPropertyEnum.IS_INNER.getCode())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment