Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
59ff5935
Commit
59ff5935
authored
May 29, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
告警邮箱跟随
parent
c2d34052
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
RunRecordingAndJobTaskServiceImpl.java
...ce/mapservice/impl/RunRecordingAndJobTaskServiceImpl.java
+2
-2
TaskAndLogServerImpl.java
...om/byit/service/mapservice/impl/TaskAndLogServerImpl.java
+3
-2
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/mapservice/impl/RunRecordingAndJobTaskServiceImpl.java
View file @
59ff5935
...
...
@@ -107,8 +107,8 @@ public class RunRecordingAndJobTaskServiceImpl implements RunRecordingAndJobTask
.
flowStatus
(
"2"
)
.
flowTimeout
(
virFlow
.
getFlowTimeout
())
.
dispatchIp
(
InetAddress
.
getLocalHost
().
getHostAddress
())
.
alarmEmail
(
virFlow
.
getAlarmEmail
())
.
alarmlAction
(
virFlow
.
getAlarmlAction
())
.
alarmEmail
(
mainRecording
.
getAlarmEmail
())
.
alarmlAction
(
mainRecording
.
getAlarmlAction
())
.
priority
(
virFlow
.
getPriority
())
.
triggerTime
(
equals
?
jobTask
.
getTriggerTime
():
virFlow
.
getTriggerNextTime
())
.
principal
(
virFlow
.
getPrincipal
())
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/mapservice/impl/TaskAndLogServerImpl.java
View file @
59ff5935
...
...
@@ -96,6 +96,7 @@ public class TaskAndLogServerImpl implements TaskAndLogServer {
jobTaskRunLogService
.
saveJobTaskRunLog
(
jobTaskRunLog
);
if
(
isInner
)
{
RunRecording
mainRecording
=
runRecordingService
.
findRunRecordingByFlowIdAndRunId
(
jobTask
.
getFlowId
(),
jobTask
.
getRunId
());
log
.
error
(
"------该节点是虚节点,先将该节点对应的实例保存--------"
);
//查询该节点对应的工作流
Integer
mapFlowId
=
jobTask
.
getMapFlowId
();
...
...
@@ -110,8 +111,8 @@ public class TaskAndLogServerImpl implements TaskAndLogServer {
.
flowRunResult
(
"2"
)
.
flowTimeout
(
virFlow
.
getFlowTimeout
())
.
dispatchIp
(
InetAddress
.
getLocalHost
().
getHostAddress
())
.
alarmEmail
(
virFlow
.
getAlarmEmail
())
.
alarmlAction
(
virFlow
.
getAlarmlAction
())
.
alarmEmail
(
mainRecording
.
getAlarmEmail
())
.
alarmlAction
(
mainRecording
.
getAlarmlAction
())
.
priority
(
virFlow
.
getPriority
())
.
triggerTime
(
jobTask
.
getTriggerTime
())
.
principal
(
virFlow
.
getPrincipal
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment