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
b8254234
Commit
b8254234
authored
Mar 18, 2020
by
guo_minglei@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加解析和缺少实体类
parent
4ad9f574
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
329 additions
and
0 deletions
+329
-0
JobTaskRunLog.java
...core/src/main/java/com/byit/dto/plugin/JobTaskRunLog.java
+179
-0
RunRecording.java
...-core/src/main/java/com/byit/dto/plugin/RunRecording.java
+133
-0
RunRecordingVo.java
...ore/src/main/java/com/byit/dto/plugin/RunRecordingVo.java
+17
-0
JobUtils.java
...xecutor-plugin/src/main/java/com/byit/utils/JobUtils.java
+0
-0
No files found.
byit-myth-core/myth-dto-core/src/main/java/com/byit/dto/plugin/JobTaskRunLog.java
0 → 100644
View file @
b8254234
package
com
.
byit
.
dto
.
plugin
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @author huangfu
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public
class
JobTaskRunLog
implements
Serializable
{
/**
* 日志ID
*/
private
Integer
logId
;
/**
* 当前节点的失败剩余重试次数 初始阶段为初始的重试次数
*/
private
Integer
failedRemainingCount
;
/**
* 版本名称
*/
private
String
versionName
;
/**
* 任务流主键
*/
private
Integer
flowId
;
/**
* 所属任务流的名称
*/
private
String
flowName
;
/**
* 执行机主键
*/
private
Integer
jobGroupId
;
/**
* 插件方节点key
*/
private
String
handlerName
;
/**
* 节点名称
*/
private
String
nodeName
;
/**
* 是否是虚节点(0 是, 1 否),虚节点代表是内嵌工作流
*/
private
String
isVirtual
;
/**
* 运行结果 0运行中 1 成功 2 失败 3 补批成功 4 补批失败 5.kill 6.上级节点执行失败
*/
private
String
runCode
;
/**
* 运行参数
*/
private
String
runParams
;
/**
* 运行方式 1执行机运行,2插件运行
*/
private
String
runType
;
/**
* 调度结果 1成功 2失败
*/
private
String
triggerCode
;
/**
* 触发时间
*/
private
Date
triggerTime
;
/**
* 执行机的IP地址
*/
private
String
jobGroupIp
;
/**
* 映射的工作流id(当节点为虚节点,有意义)
*/
private
Integer
mapFlowId
;
/**
* 运行命令
*/
private
String
runCommand
;
/**
* 结束时间
*/
private
Date
endTime
;
/**
* 开始时间
*/
private
Date
startTime
;
/**
* 节点id
*/
private
Integer
nodeId
;
/**
* 节点任务类型
*/
private
String
jobType
;
/**
* 是否已完成告警(0未完成 1完成)
*/
private
String
alertEnd
;
/**
* 运行标识
*/
private
String
runId
;
/**
* 重跑的运行标识
*/
private
String
reRunId
;
/**
* 日志文件的地址
*/
private
String
logFileName
;
/**
* 是否上级运行成功时运行(0 是 1 否)
*/
private
String
superSuccessRun
;
/**
* 执行次数
*/
private
Integer
runCount
;
/**
* 日志文件的远程路径
*/
private
String
logRemotelyPath
;
/**
* 依赖节点id集合
*/
private
String
nodeDepend
;
/**
* 重跑和补批的操作人
*/
private
String
operator
;
/**
* 跑批类型 1 正常跑批 2 重跑 3 补批
*/
private
Integer
scheduleType
;
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
byit-myth-core/myth-dto-core/src/main/java/com/byit/dto/plugin/RunRecording.java
0 → 100644
View file @
b8254234
package
com
.
byit
.
dto
.
plugin
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
*
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public
class
RunRecording
implements
Serializable
{
/**
* 记录主键
*/
private
Integer
recordingId
;
/**
* 运行标识
*/
private
String
runId
;
/**
* 当前工作流版本的报警邮箱
*/
private
String
alarmEmail
;
/**
* 被哪一个调度器加载的
*/
private
String
dispatchIp
;
/**
* 工作流的名字
*/
private
String
flowName
;
/**
* 执行结果 1 成功 2 失败 3 补批成功 4 补批失败 5.kill
*/
private
String
flowRunResult
;
/**
* 运行状态 1 未开始 2运行中 3暂停 4完成
*/
private
String
flowStatus
;
/**
* 工作流的超时时间
*/
private
Long
flowTimeout
;
/**
* 工作流的版本名称
*/
private
String
flowVersionName
;
/**
* 当前工作流版本的告警的时机(0 不告警, 1 完成时告警, 2 失败时告警, 3 成功时告警)
*/
private
String
alarmlAction
;
/**
* 设置任务的优先级,1最低 2最高
*/
private
String
priority
;
/**
* 本次任务的执行时间
*/
private
Long
triggerTime
;
/**
* 责任人
*/
private
String
principal
;
/**
* 工作流Id
*/
private
Integer
flowId
;
/**
* 开始时间
*/
private
Date
startTime
;
/**
* 结束时间
*/
private
Date
endTime
;
/**
* 是否已告警(0,是 1,否)
*/
private
String
isAlarm
;
/**
* 是否是内嵌工作流 0 否, 1 是
*/
private
String
isInner
;
/**
* 快速失败标识 0 不快速失败 1 快速失败
*/
private
String
failFast
;
/**
* 工作流节点数量
*/
private
Integer
flowNodeCount
;
/**
* 跑批类型 1 正常跑批 2 重跑 3 补批
*/
private
Integer
scheduleType
;
/**
* 重跑和补批的操作人
*/
private
String
operator
;
/**
*/
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
byit-myth-core/myth-dto-core/src/main/java/com/byit/dto/plugin/RunRecordingVo.java
0 → 100644
View file @
b8254234
package
com
.
byit
.
dto
.
plugin
;
import
lombok.Data
;
import
java.util.List
;
/**
* @description: 运行实例记录VO类
* @author: gml
* @create: 2020/2/28
*/
@Data
public
class
RunRecordingVo
extends
RunRecording
{
private
List
<
JobTaskRunLog
>
jobTaskRunLogList
;
}
byit-myth-executor/myth-executor-plugin/src/main/java/com/byit/utils/JobUtils.java
View file @
b8254234
This diff is collapsed.
Click to expand it.
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