You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/08/26 11:47:44 UTC
[GitHub] [incubator-dolphinscheduler] xiaosongaa opened a new issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
xiaosongaa opened a new issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604
创建流程定义后返回值里希望能带上流程ID
当前通过API创建流程后,必须通过流程名称查找列表,才能知道自己创建的流程ID并发布,执行,很不方便
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] WilliamChen-luckbob edited a comment on issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
WilliamChen-luckbob edited a comment on issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604#issuecomment-772273280
1.3.4release这个接口的返回值确定是空的,UI上面直接操作,data也是null,是不是参数传错了,新增操作是跟着UI的请求方式走的,确定成功,1.3.4release的源码上确实能够看到它会返回ID,但是事实上,部署在服务器后的成功响应中data就是空的,可以指点一下这个怎么进行远程调试的操作吗

> @xiaosongaa 我使用ui操作和api调用,都可以返回data数据,包含流程id(见截图)。 你看下后台日志是否正常。
>
> 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] kevinsun2010 commented on issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
kevinsun2010 commented on issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604#issuecomment-681190774
@xiaosongaa 我使用ui操作和api调用,都可以返回data数据,包含流程id(见截图)。 你看下后台日志是否正常。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] kevinsun2010 commented on issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
kevinsun2010 commented on issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604#issuecomment-681189300
页面创建工作流返回值:
{"code":0,"msg":"成功","data":{"id":4,"name":"wf05","version":0,"releaseState":"OFFLINE","projectId":1,"processDefinitionJson":"{\"globalParams\":[],\"tasks\":[{\"type\":\"SHELL\",\"id\":\"tasks-4919\",\"name\":\"shell01\",\"params\":{\"resourceList\":[],\"localParams\":[],\"rawScript\":\"#!/bin/bash\\necho \\\"Hello World !\\\"\"},\"description\":\"\",\"runFlag\":\"NORMAL\",\"conditionResult\":{\"successNode\":[\"\"],\"failedNode\":[\"\"]},\"dependence\":{},\"maxRetryTimes\":\"0\",\"retryInterval\":\"1\",\"delayTime\":\"0\",\"timeout\":{\"strategy\":\"\",\"interval\":null,\"enable\":false},\"taskInstancePriority\":\"MEDIUM\",\"workerGroup\":\"default\",\"preTasks\":[]}],\"tenantId\":-1,\"timeout\":0}","description":"wf05","globalParams":null,"globalParamList":[],"globalParamMap":null,"createTime":"2020-08-27 08:17:28","updateTime":"2020-08-27 08:17:28","flag":"YES","userId":1,"userName":null,"projectName":null,"locations":"{\"tasks-4919\":{\"name\":\"shell01\",\"targetarr\":\"\
",\"nodenumber\":\"0\",\"x\":394,\"y\":251}}","connects":"[]","receivers":null,"receiversCc":null,"scheduleReleaseState":null,"timeout":0,"tenantId":-1,"modifyBy":"admin","resourceIds":""}}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] WilliamChen-luckbob commented on issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
WilliamChen-luckbob commented on issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604#issuecomment-772273280
> @xiaosongaa 我使用ui操作和api调用,都可以返回data数据,包含流程id(见截图)。 你看下后台日志是否正常。
>
> 
1.3.4release这个接口的返回值确定是空的,UI上面直接操作,data也是null
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] WilliamChen-luckbob edited a comment on issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
WilliamChen-luckbob edited a comment on issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604#issuecomment-772273280
1.3.4release这个接口的返回值确定是空的,UI上面直接操作,data也是null,是不是参数传错了,新增操作是跟着UI的请求方式走的,确定成功,但是没有返回

> @xiaosongaa 我使用ui操作和api调用,都可以返回data数据,包含流程id(见截图)。 你看下后台日志是否正常。
>
> 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] WilliamChen-luckbob edited a comment on issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
WilliamChen-luckbob edited a comment on issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604#issuecomment-772273280
1.3.4release这个接口的返回值确定是空的,UI上面直接操作,data也是null,是不是参数传错了,新增操作是跟着UI的请求方式走的,确定成功,源码上也有数据,但是部署后data没有返回,可以指点一下怎么进行远程调试的操作吗

> @xiaosongaa 我使用ui操作和api调用,都可以返回data数据,包含流程id(见截图)。 你看下后台日志是否正常。
>
> 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] xiaosongaa commented on issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
xiaosongaa commented on issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604#issuecomment-680841765
> @xiaosongaa 流程定义是这个接口吗?接口地址 /dolphinscheduler/projects/{projectName}/process/save
> 代码里面看到是有id返回的,是不是版本问题呢? 看到1.3.1版本 是有返回流程id的。你确认下
> 
是这个接口,1.3.1版本 返回值为:{"code":"0","msg":"success",“data”:null}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] zhuangchong commented on issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
zhuangchong commented on issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604#issuecomment-817079271
This issue has been resolved

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] kevinsun2010 commented on issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
kevinsun2010 commented on issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604#issuecomment-680836433
@xiaosongaa 流程定义是这个接口吗?接口地址 /dolphinscheduler/projects/{projectName}/process/save
代码里面看到是有id返回的,是不是版本问题呢? 看到1.3.1版本 是有返回流程id的。你确认下

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] yangyichao-mango commented on issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
yangyichao-mango commented on issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604#issuecomment-681300205
It can return the data in this procedure.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] zhuangchong closed issue #3604: [Feature][Module Name] 创建流程定义后返回值里带上流程ID
Posted by GitBox <gi...@apache.org>.
zhuangchong closed issue #3604:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3604
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org