Skip to content

Commit 7f566f0

Browse files
authored
Merge pull request #530 from wushengyeyouya/master
Fix the problem that will cause the startup of flow-execution-server failed.
2 parents 08cb02d + 5939671 commit 7f566f0

File tree

1 file changed

+7
-1
lines changed
  • dss-orchestrator/orchestrators/dss-workflow/dss-flow-execution-server/src/main/java/com/webank/wedatasphere/dss/flow/execution/entrance/restful

1 file changed

+7
-1
lines changed

dss-orchestrator/orchestrators/dss-workflow/dss-flow-execution-server/src/main/java/com/webank/wedatasphere/dss/flow/execution/entrance/restful/FlowEntranceRestfulApi.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,13 @@ public Message status(@PathVariable("id") String id, @RequestParam(required = fa
131131
return message;
132132
}
133133

134-
@RequestMapping(path = {"/{id}/kill"},method = {RequestMethod.GET})
134+
/**
135+
* This is method should be delete in next DSS version, since it is only used to fix a bug in temporary use
136+
* @param id
137+
* @param taskID
138+
* @return
139+
*/
140+
@RequestMapping(path = {"/{id}/killWorkflow"},method = {RequestMethod.GET})
135141
public Message kill(@PathVariable("id") String id, @RequestParam(value = "taskID",required = false) Long taskID) {
136142
String realId = ZuulEntranceUtils.parseExecID(id)[3];
137143
Option job = Option.apply((Object)null);

0 commit comments

Comments
 (0)