know if you have any issues getting going.
Regards,
Matt
On Thu, Feb 25, 2021 at 3:56 PM Greene (US), Geoffrey N
wrote:
>
> Writing my first ScriptedLookupService in groovy, and I think I have a pretty
> simple question:
>
> I’d like to be able to return multiple values in one
Writing my first ScriptedLookupService in groovy, and I think I have a pretty
simple question:
I'd like to be able to return multiple values in one lookup, but I can't figure
out what my return type needs to be.
String isn't right, obviously, and returning a Map isn't right.
n if I am not familiar with Groovy,
> I will try the Groovy script :). I think it is the best solution.
> Really thanks for your support :)
>
> PS: Probably, waiting for the fix of the bug [1], it would be better to
> update the documentation related to the ScriptedLookupService and hig
ScriptedLookupService and highlight
that for the moment the service cannot be used with python.
On Wed, 30 Jan 2019 at 20:18, Matt Burgess wrote:
> Short answer: Unfortunately this is not currently possible for Jython
> in NiFi 1.7.0+ because of a Jython bug [1] that never made it into a
>
ice.java
On Wed, Jan 30, 2019 at 1:29 PM happy smith wrote:
>
> Dear users,
>
> I would like to use ScriptedLookupService with Python, but I am not
> succeeding in get any scripts working .
>
> On the basis of an example that I found for groovy, I am trying something
>
Dear users,
I would like to use ScriptedLookupService with Python, but I am not
succeeding in get any scripts working .
On the basis of an example that I found for groovy, I am trying something
like this:
import org.apache.nifi.lookup.LookupService as LookupService
from
escriptor working because declaring it was not enough to
> make it shown at Properties dialog. I had to enable and than disable the
> ScriptedProcessor it at least once to have it shown (guessing the code was
> not executed).
>
> Thanks again for all the support.
>
>
> 2017-1
ecuted).
Thanks again for all the support.
2017-11-14 15:52 GMT-02:00 Matt Burgess :
> Mark,
>
> Good point, I forgot the ScriptedLookupService is itself a
> ConfigurableComponent and can add its own properties. The original
> script from my blog comes from ExecuteScript, where you c
Mark,
Good point, I forgot the ScriptedLookupService is itself a
ConfigurableComponent and can add its own properties. The original
script from my blog comes from ExecuteScript, where you can't define
your own properties. I was just trying to make that work instead of
thinking about the a
ror you're seeing
> 8) None of these objects can get at the process group ID. This is
> because they are not associated with a ConfigurableComponent
> 9) ScriptedLookupService, after calling the script's initialize()
> method, will then call the script's onEna
ror you're seeing
8) None of these objects can get at the process group ID. This is
because they are not associated with a ConfigurableComponent
9) ScriptedLookupService, after calling the script's initialize()
method, will then call the script's onEnabled(ConfigurationContext)
met
Hi Folks,
I need to get an instance of DBCPService inside my ScriptedLookupService
and for that I'm following Matt's post
http://funnifi.blogspot.com.br/2016/04/sql-in-nifi-with-executescript.html
In my groovy class I've overrided the initialize method and performing the
looku
12 matches
Mail list logo