Re: Is it possible to import class from NAR bundle in scripted processor?

2017-11-20 Thread Bryan Bende
In addition to what Matt said, I just wanted to mention that in the master branch, the base AWS classes have been separated into their own JAR to make them more reusable. See nifi-aws-abstract-processors here: https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-aws-bundle After a

Re: Is it possible to import class from NAR bundle in scripted processor?

2017-11-20 Thread Matt Burgess
The other NARs are not immediately available to the scripting NAR, and in general you usually have to put your processor in the same NAR as the base class, or put the base class and interfaces in to an API JAR and share that somehow. IMO there's a little too much voodoo to try and make it work

Is it possible to import class from NAR bundle in scripted processor?

2017-11-20 Thread Eric Chaves
Hi folks, I'm writing some groovy scripts for that will use the AWS-SDK. My first shot was to write a InvokeScriptedProcessor that extends the AbstractAWSCredentialsProviderProcessor but the script is unable to resolve this class. Is it possible to reference a class in a NAR bundle? Regards,