Re: Re: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-24 Thread Jeff
gt; > > > > > > 发件人: > > "Andrew Grande" > > 收件人: > > dev@nifi.apache.org > > 日期: > > 2018/02/23 09:07 > > 主题: > > Re: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand? > > > > > > > > One c

Re: Re: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-22 Thread Sivaprasanna
natively. > > > > 发件人: > "Andrew Grande" > 收件人: > dev@nifi.apache.org > 日期: > 2018/02/23 09:07 > 主题: > Re: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand? > > > > One could write a script and call it in 1 step. I don't beli

答复: Re: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-22 Thread luby
Yes, that is what I do currently. But I think it will be better if NiFi can support this feature natively. 发件人: "Andrew Grande" 收件人: dev@nifi.apache.org 日期: 2018/02/23 09:07 主题: Re: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand? One could write a script and ca

Re: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-22 Thread Andrew Grande
I can do this in one step. > > > > 发件人: > "Daniel Chaffelson" > 收件人: > dev@nifi.apache.org > 日期: > 2018/02/23 04:46 > 主题: > Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand? > > > > Hi Boying, > > I have been working on

答复: Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-22 Thread luby
Thanks a lot for your help. Yes. that is what I do to trigger a dataflow on demand. But I want to know if there is an API that I can do this in one step. 发件人: "Daniel Chaffelson" 收件人: dev@nifi.apache.org 日期: 2018/02/23 04:46 主题: Re: Re: 答复: Re: Is there a REST API to run a d

Re: Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-22 Thread Daniel Chaffelson
nds are currently in the master branch awaiting release: https://github.com/Chaffelson/nipyapi Thanks, Dan On Thu, Feb 22, 2018 at 7:41 AM wrote: > Thanks very much, I'll try your suggestions. > > > > 发件人: > James Wing > 收件人: > NiFi Dev List > 日期: > 2018/02/

答复: Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-21 Thread luby
Thanks very much, I'll try your suggestions. 发件人: James Wing 收件人: NiFi Dev List 日期: 2018/02/22 14:05 主题: Re: 答复: Re: Is there a REST API to run a dataflow on demand? The NiFi API can be used to start and stop processors or process groups, and this might solve your use case. But NiFi

Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-21 Thread James Wing
The NiFi API can be used to start and stop processors or process groups, and this might solve your use case. But NiFi does not have an API to run a processor only once, immediately, separate from its configured schedule. I have solved similar problems in the past by creating two separate upstream

Re: 答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-21 Thread Charlie Meyer
Hi, I've found the rest api was designed to support actions that can be done from the UI and too much much beyond. That being said, if you can do it from the UI, you can write up code to mimic that via the rest api. So, to accomplish the task you are looking to do, you might need to write code th

答复: Re: Is there a REST API to run a dataflow on demand?

2018-02-21 Thread luby
Thanks a lot. But I want to know if there is a REST API that triggers a dataflow on demand? I don't find the API in the page. 发件人: Charlie Meyer 收件人: dev@nifi.apache.org 日期: 2018/02/22 09:36 主题: Re: Is there a REST API to run a dataflow on demand? Yep, when you make the changes in the UI