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
e51fa31c
Commit
e51fa31c
authored
Jan 18, 2021
by
huangfu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决偶发性 实例不执行BUG
parent
02a69ae9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
TaskAndLogServerImpl.java
...om/byit/service/mapservice/impl/TaskAndLogServerImpl.java
+1
-0
JavaParamWrappedCallback.java
...com/byit/strategy/task/java/JavaParamWrappedCallback.java
+1
-5
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/mapservice/impl/TaskAndLogServerImpl.java
View file @
e51fa31c
...
@@ -157,6 +157,7 @@ public class TaskAndLogServerImpl implements TaskAndLogServer {
...
@@ -157,6 +157,7 @@ public class TaskAndLogServerImpl implements TaskAndLogServer {
.
isInner
(
FlowPropertyEnum
.
IS_INNER
.
getCode
())
.
isInner
(
FlowPropertyEnum
.
IS_INNER
.
getCode
())
.
failFast
(
RunRecordingEnum
.
FAIL_FAST_YES
.
getCode
())
.
failFast
(
RunRecordingEnum
.
FAIL_FAST_YES
.
getCode
())
.
workspaceId
(
virFlow
.
getWorkspaceId
())
.
workspaceId
(
virFlow
.
getWorkspaceId
())
.
extendedConfiguration
(
virFlow
.
getExtendedConfiguration
())
.
build
();
.
build
();
runRecordingService
.
saveRunRecording
(
runRecording
);
runRecordingService
.
saveRunRecording
(
runRecording
);
log
.
error
(
"在将该虚节点对应的节点拉取过来"
);
log
.
error
(
"在将该虚节点对应的节点拉取过来"
);
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/strategy/task/java/JavaParamWrappedCallback.java
View file @
e51fa31c
...
@@ -54,9 +54,6 @@ public class JavaParamWrappedCallback implements TaskRunTheLifeCycleCallback {
...
@@ -54,9 +54,6 @@ public class JavaParamWrappedCallback implements TaskRunTheLifeCycleCallback {
if
(
runRecording
!=
null
)
{
if
(
runRecording
!=
null
)
{
String
extendedConfiguration
=
runRecording
.
getExtendedConfiguration
();
String
extendedConfiguration
=
runRecording
.
getExtendedConfiguration
();
FlowExtendedConfiguration
flowExtendedConfiguration
=
JSON
.
parseObject
(
extendedConfiguration
,
FlowExtendedConfiguration
.
class
);
FlowExtendedConfiguration
flowExtendedConfiguration
=
JSON
.
parseObject
(
extendedConfiguration
,
FlowExtendedConfiguration
.
class
);
if
(
flowExtendedConfiguration
==
null
)
{
flowExtendedConfiguration
=
new
FlowExtendedConfiguration
();
}
String
publicParam
=
flowExtendedConfiguration
.
getPublicParam
();
String
publicParam
=
flowExtendedConfiguration
.
getPublicParam
();
Map
<
String
,
String
>
publicMap
=
JSON
.
parseObject
(
publicParam
,
Map
.
class
);
Map
<
String
,
String
>
publicMap
=
JSON
.
parseObject
(
publicParam
,
Map
.
class
);
...
@@ -66,13 +63,12 @@ public class JavaParamWrappedCallback implements TaskRunTheLifeCycleCallback {
...
@@ -66,13 +63,12 @@ public class JavaParamWrappedCallback implements TaskRunTheLifeCycleCallback {
runParamWrapped
.
setPublicParamMap
(
publicMap
);
runParamWrapped
.
setPublicParamMap
(
publicMap
);
jobTaskSchedule
.
setExtendedConfiguration
(
JSON
.
toJSONString
(
flowExtendedConfiguration
));
}
}
String
runParam
=
jobTaskSchedule
.
getRunParam
();
String
runParam
=
jobTaskSchedule
.
getRunParam
();
runParamWrapped
.
setPrivateParam
(
runParam
);
runParamWrapped
.
setPrivateParam
(
runParam
);
jobTaskSchedule
.
setRunParam
(
JSON
.
toJSONString
(
runParamWrapped
));
jobTaskSchedule
.
setRunParam
(
JSON
.
toJSONString
(
runParamWrapped
));
}
}
}
}
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