Skip to content

Commit effc1c5

Browse files
committed
Fix bug
1 parent dfdb668 commit effc1c5

File tree

2 files changed

+8
-2
lines changed
  • dss-commons/dss-common
  • dss-orchestrator/orchestrators/dss-workflow/dss-flow-execution-server/src/main/java/com/webank/wedatasphere/dss/flow/execution/entrance/restful

2 files changed

+8
-2
lines changed

dss-commons/dss-common/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,12 @@
149149
<groupId>mysql</groupId>
150150
<artifactId>mysql-connector-java</artifactId>
151151
<version>${mysql.connector.version}</version>
152-
<!-- <scope>test</scope>-->
152+
</dependency>
153+
<dependency>
154+
<groupId>org.apache.linkis</groupId>
155+
<artifactId>linkis-mybatis</artifactId>
156+
<version>${linkis.version}</version>
157+
<scope>provided</scope>
153158
</dependency>
154159
</dependencies>
155160

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,9 @@ public Message status(HttpServletRequest req, @PathVariable("id") String id, @Re
175175
return message;
176176
}
177177

178+
@Override
178179
@RequestMapping(path = {"/{id}/kill"},method = {RequestMethod.GET})
179-
public Message kill(@PathVariable("id") String id, @RequestParam(value = "taskID",required = false) Long taskID) {
180+
public Message kill(HttpServletRequest req, @PathVariable("id") String id, @RequestParam(value = "taskID",required = false) Long taskID) {
180181
logger.info("Begin to kill task:{}", id);
181182
String realId = ZuulEntranceUtils.parseExecID(id)[3];
182183
Option job;

0 commit comments

Comments
 (0)