Re: Adding properties

2017-07-14 Thread Koji Kawamura
Hi, By looking at GetMongo source code and its docs, I believe it doesn't write specified 'Mongo Collection Name' to any attribute of outgoing FlowFiles. So you wouldn't be able to refer it from other processors at downstream of your flow. Please file a JIRA if this is needed.

Re: Trigger timer-driven processor to run from outside NIFI

2017-07-14 Thread 尹文才
Thanks Koji, I checked the NIFI REST API and it seems that I need to use Groovy to do it(I don't understand Groovy), is there any Java related examples which interact with NIFI via REST API? Thanks. Regards, Ben 2017-07-14 13:49 GMT+08:00 Koji Kawamura : > Hi Ben, > >

Re: Expression language support in EvaluateXPath

2017-07-14 Thread Mark Payne
Hello, In glancing at the processor I believe the reason that the Expression Language is not supported is due to efficiency purposes. The processor grabs up to 50 FlowFiles, then compiles the XPath Expressions and runs them over all 50 FlowFiles. If we did support Expression Language and EL

Re: Trigger timer-driven processor to run from outside NIFI

2017-07-14 Thread 尹文才
Thanks very much Koji for your quick response and your example, I will look into your example.  Regards, Ben 2017-07-14 17:27 GMT+08:00 Koji Kawamura : > Hi Ben, > > If the processor is running, stop will wait for the thread to complete. > Please see stop() method

jira and PR cleanup

2017-07-14 Thread Joe Witt
team, Our PR count is floating upward again and I suspect we have some old/outdated JIRAs that need to be dispositioned. For those with time available a great place to help would be with reviewing/working active PRs/contributions. Thanks Joe

Expression language support in EvaluateXPath

2017-07-14 Thread claudiu-stanciu
Hello, I saw that EvaluateXPath declares that expression language is not supported My question is: can we have

Re: Trigger timer-driven processor to run from outside NIFI

2017-07-14 Thread Koji Kawamura
Hi Ben, If the processor is running, stop will wait for the thread to complete. Please see stop() method here. https://github.com/apache/nifi/blob/master/nifi-nar- bundles/nifi-framework-bundle/nifi-framework/nifi-framework- core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java