Re: Is it possible to to create a dynamic Processor through API call from PHP
Hi, I don't think the ListenHTTP can send an HTTP request to another URL, but it will most likely send an HTTP response to the sender (to say that it received the call) Otherwise if the URL is in the payload of the call made to ListenHTTP, you could extract it in your Flow and then use InvokeHTTP to send another request to the callback URL. Isn't the response returned by ListenHTTP enough? Will the callback be used to confirm that the flow is completed or something like that? Hope this helps, Louis-Etienne > On Dec 29, 2015, at 4:55 AM, BOUKRAA, Kacemwrote: > > Hello everyone, > > So i'm subscribing to an API Callback in a Web service that send a post > request once new data is available. I'm receiving this call through PHP. > > Is it possible to trigger a processor to retrieve the whole data and launch > the workflow of processing for that data through another API Call from my PHP > Code? > > (Web service send an API Callback --> My PHP code was listening --> Send an > API call to Nifi to launch a processor with specific attributes) > > Another question: It seems like Nifi has ListenHTTP processor. does it allow > to have an url to be used as a callback (which means is accessible through > the network to be used as a API Callback url?). > > Thanks in advance.
Re: Is it possible to to create a dynamic Processor through API call from PHP
Hello Kacem, There are multiple different ways to get information into NiFi. ListenHTTP would be the easiest way to start an HTTP Server that is used to receive FlowFiles from remote sources. Assuming your PHP code only acts as a router, ListenHTTP should allow you to bypass the PHP code entirely and just launch the workflow when it receives an HTTP request from the Web Service. If the PHP code is necessary and it's running on the same box as NiFi then you could use the GetFile processor. That mean you write a file via PHP then NiFi would grab the file and process it whenever possible. Of course there are considerations you have to take into account when you start putting things directly onto the file system. There are many other options for getting files into NiFi and if either of these options don't fit your use-case just let us know. Joe - - - - - - Joseph Percivall linkedin.com/in/Percivall e: joeperciv...@yahoo.com On Tuesday, December 29, 2015 4:56 AM, "BOUKRAA, Kacem"wrote: Hello everyone, So i'm subscribing to an API Callback in a Web service that send a post request once new data is available. I'm receiving this call through PHP. Is it possible to trigger a processor to retrieve the whole data and launch the workflow of processing for that data through another API Call from my PHP Code? (Web service send an API Callback --> My PHP code was listening --> Send an API call to Nifi to launch a processor with specific attributes) Another question: It seems like Nifi has ListenHTTP processor. does it allow to have an url to be used as a callback (which means is accessible through the network to be used as a API Callback url?). Thanks in advance.
Is it possible to to create a dynamic Processor through API call from PHP
Hello everyone, So i'm subscribing to an API Callback in a Web service that send a post request once new data is available. I'm receiving this call through PHP. Is it possible to trigger a processor to retrieve the whole data and launch the workflow of processing for that data through another API Call from my PHP Code? (Web service send an API Callback --> My PHP code was listening --> Send an API call to Nifi to launch a processor with specific attributes) Another question: It seems like Nifi has ListenHTTP processor. does it allow to have an url to be used as a callback (which means is accessible through the network to be used as a API Callback url?). Thanks in advance.
Re: Nifi download archives - 0.3.0
Hello Chakri I updated the downloads page to provide a convenient link to the release archives. Thanks Chris for the pointer to that! Joe On Mon, Dec 28, 2015 at 6:36 PM, Chakrader Dewaragatlawrote: > Thanks Chris. > > From: Chris Lim > Reply-To: "users@nifi.apache.org" > Date: Monday, December 28, 2015 at 3:30 PM > To: "users@nifi.apache.org" > Subject: Re: Nifi download archives - 0.3.0 > > Hi Chakri, > > It's here: http://archive.apache.org/dist/nifi/0.3.0/ > > -- > Chris > > > On Tue, Dec 29, 2015 at 7:01 AM, Chakrader Dewaragatla > wrote: >> >> Hi – 0.3.0 binaries are not available under >> https://nifi.apache.org/download.html with 0.4.x release, where do I find >> the archives? >> >> Thanks, >> -Chakri >> >> The information contained in this transmission may contain privileged and >> confidential information. It is intended only for the use of the person(s) >> named above. If you are not the intended recipient, you are hereby notified >> that any review, dissemination, distribution or duplication of this >> communication is strictly prohibited. If you are not the intended recipient, >> please contact the sender by reply email and destroy all copies of the >> original message. >> > > > > The information contained in this transmission may contain privileged and > confidential information. It is intended only for the use of the person(s) > named above. If you are not the intended recipient, you are hereby notified > that any review, dissemination, distribution or duplication of this > communication is strictly prohibited. If you are not the intended recipient, > please contact the sender by reply email and destroy all copies of the > original message. >