Re: @DynamicProperty annotation of more than one property?

2016-04-19 Thread Joe Witt
Russ NiFi 1.0 which is being worked on in 'master' will depend on Java 8. You could go with the route Dan suggests there. We'd definitely like your help to push that forward and are very glad to hear you're finding the API for writing processors to work out well. Thanks Joe On Tue, Apr 19, 2016

Re: @DynamicProperty annotation of more than one property?

2016-04-19 Thread Russell Bateman
I'm volunteering to write if the help is wanted, however, I don't have the bandwidth to become much more deeply involved though perhaps, as time went on, I would. However, I can help. Meanwhile, I'm digging writing NiFi processors very much. Russ On 04/19/2016 09:24 AM, dan bress wrote: Ru

Re: @DynamicProperty annotation of more than one property?

2016-04-19 Thread dan bress
Russell, I agree the syntax for multiple DynamicProperties is a little awkward, and that our documentation could be improved in this situation(I didn't see reference to @DynamicProperty in the developer doc). Also Java8 supports the concept of repeatable annotations[1], which would erase the

Re: @DynamicProperty annotation of more than one property?

2016-04-19 Thread Russell Bateman
Thanks, Joe. This worked. You know, I'm just the sort of guy that would add stuff like that to the documentation if the way were smoothed to it. The problem as I see it with NiFi doc is that it's really good the way it is and if we add more--and we should--it's going to get longer and harder t

Re: @DynamicProperty annotation of more than one property?

2016-04-15 Thread Joe Percivall
Hello Russell, The annotation you are looking for is @DynamicProperties[1] an example of it in use is in the PutFTP processor[2]. [1] https://github.com/apache/nifi/blob/e4b7e47836edf47042973e604005058c28eed23b/nifi-api/src/main/java/org/apache/nifi/annotation/behavior/DynamicProperties.java [2

@DynamicProperty annotation of more than one property?

2016-04-15 Thread Russell Bateman
What's the syntax for defining more than one dynamic property for a processor? I need to specify up to three distinctly different ones and attempting to do it all in @DynamicProperty( name = "{blah,blah2,blah3}", value = "{\"blah-value\",\"blah2-value\",\"blah3-value\"}", supportsExpres