Skip to content

Commit 61b445d

Browse files
committed
Fix release workflow bug.
1 parent 77b6ecb commit 61b445d

File tree

1 file changed

+2
-2
lines changed
  • dss-orchestrator/orchestrators/dss-workflow/dss-workflow-server/src/main/java/com/webank/wedatasphere/dss/workflow/restful

1 file changed

+2
-2
lines changed

dss-orchestrator/orchestrators/dss-workflow/dss-workflow-server/src/main/java/com/webank/wedatasphere/dss/workflow/restful/FlowRestfulApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ public Message publishWorkflow(@RequestBody PublishWorkflowRequest publishWorkfl
174174
* @return
175175
*/
176176
@RequestMapping(value = "getReleaseStatus", method = RequestMethod.GET)
177-
public Message getReleaseStatus(@NotNull(message = "查询的发布id不能为空") @RequestParam(required = false, name = "releaseTaskId") Long releaseTaskId) {
177+
public Message getReleaseStatus(@NotNull(message = "查询的发布id不能为空") @RequestParam(required = false, name = "releaseTaskId") String releaseTaskId) {
178178
String username = SecurityFilter.getLoginUsername(httpServletRequest);
179179
Message message;
180180
try {
181-
ResponseConvertOrchestrator response = publishService.getStatus(username, releaseTaskId.toString());
181+
ResponseConvertOrchestrator response = publishService.getStatus(username, releaseTaskId);
182182
if (null != response.getResponse()) {
183183
String status = response.getResponse().getJobStatus().toString();
184184
status = StringUtils.isNotBlank(status) ? status.toLowerCase() : status;

0 commit comments

Comments
 (0)