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
c9974922
Commit
c9974922
authored
Sep 25, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
使用工作流名称开启工作流
parent
c8f9f543
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
JavaNodeExecutorTask.java
...ore/src/main/java/com/byit/task/JavaNodeExecutorTask.java
+2
-2
JavaTaskJobTask.java
...min-core/src/main/java/com/byit/task/JavaTaskJobTask.java
+2
-2
JavaJobConfDTO.java
...rc/main/java/com/byit/dto/personalise/JavaJobConfDTO.java
+2
-2
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/task/JavaNodeExecutorTask.java
View file @
c9974922
...
...
@@ -90,9 +90,9 @@ public class JavaNodeExecutorTask implements TimerTask {
TreeSet
<
String
>
gatewayConf
=
getRegConfig
.
getGatewayConf
();
List
<
String
>
callUrlList
=
gatewayConf
.
stream
().
map
(
callbackIp
->
{
if
(
"2"
.
equals
(
hasRelatedFlow
)){
return
String
.
format
(
"%s%s%s"
,
HTTP_PRE
,
callbackIp
,
HTTP_SUFFIX
);
}
else
{
return
String
.
format
(
"%s%s%s"
,
HTTP_PRE
,
callbackIp
,
HTTP_SUFFIX_FLOW
);
}
else
{
return
String
.
format
(
"%s%s%s"
,
HTTP_PRE
,
callbackIp
,
HTTP_SUFFIX
);
}
}).
collect
(
Collectors
.
toList
());
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/task/JavaTaskJobTask.java
View file @
c9974922
...
...
@@ -60,9 +60,9 @@ public class JavaTaskJobTask implements TimerTask {
TreeSet
<
String
>
gatewayConf
=
getRegConfig
.
getGatewayConf
();
List
<
String
>
callUrlList
=
gatewayConf
.
stream
().
map
(
callbackIp
->
{
if
(
"2"
.
equals
(
hasRelatedFlow
)){
return
String
.
format
(
"%s%s%s"
,
HTTP_PRE
,
callbackIp
,
HTTP_SUFFIX
);
}
else
{
return
String
.
format
(
"%s%s%s"
,
HTTP_PRE
,
callbackIp
,
HTTP_SUFFIX_FLOW
);
}
else
{
return
String
.
format
(
"%s%s%s"
,
HTTP_PRE
,
callbackIp
,
HTTP_SUFFIX
);
}
}).
collect
(
Collectors
.
toList
());
...
...
byit-myth-core/myth-dto-core/src/main/java/com/byit/dto/personalise/JavaJobConfDTO.java
View file @
c9974922
...
...
@@ -29,7 +29,7 @@ public class JavaJobConfDTO implements Serializable {
*/
private
TimeUnit
timeUnit
;
/**
* 是否关联工作流
关联1 不关联 2
* 是否关联工作流
1 不追加 2 追加
*/
private
String
hasRelatedFlow
=
"2"
;
private
String
hasRelatedFlow
;
}
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