praynise commented on issue #6070:
URL: 
https://github.com/apache/dolphinscheduler/issues/6070#issuecomment-909790067


   @Squidyu Hi,i have upgrade dolphinscheduler to 1.3.8,but i can still not 
complement data by calling http request. here is my code
   ```
   package dolphinAPI
   
   import org.apache.http.client.methods.HttpPost
   import org.apache.http.client.utils.URIBuilder
   import org.apache.http.impl.client.HttpClients
   
   fun main() {
       val IP="110.128.1.133"
       val Port="12345"
       val 
apiBody="/dolphinscheduler/projects/CWJS/executors/start-process-instance"
       val urlBuilder = URIBuilder("http://${IP}:${Port}/${apiBody}";)
       urlBuilder.addParameter("failureStrategy","CONTINUE")
       urlBuilder.addParameter("processDefinitionId","3")
       urlBuilder.addParameter("processInstancePriority","MEDIUM")
       urlBuilder.addParameter("projectName","CWJS")
       urlBuilder.addParameter("scheduleTime","2021-08-01 00:00:00,2021-08-31 
00:00:00")
       urlBuilder.addParameter("warningGroupId","1")
       urlBuilder.addParameter("warningType","NONE")
       val post = HttpPost(urlBuilder.build())
       post.addHeader("token","c05003d12097700fa4dd0302164da8bb")
       val httpClient = HttpClients.createDefault()
       val response = httpClient.execute(post)
       val returnCode = response.statusLine.statusCode
       println(response.entity.content.bufferedReader().readText())
       println(returnCode)
       response.close()
       httpClient.close()
   }
   ```
   i want to complement data from 20210801 to 20210831,but when i run my code,i 
just start up one process,and the run type is 'Start Process',not 'complement 
data'
   do i call the wrong api or something wrong with my parameters?thanks a lot
   您好,我已经升级了1.3.8,但是我还是不能通过调用api的方式来补数。请见我的代码
   
我想从20210801开始补数,到20210831结束,但是当我运行代码时,我还是只能调起一个作业,而且作业的运行类型是'启动工作流',而不是'补数',请问是否是我调用了错误的API,或者是我的参数有问题吗?请指点,非常感谢


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to