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 look
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.
Is lookup only able
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 highlight
>
to the 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
>
M 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
> like this:
>
> import org.apache
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
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-11-14 15:52 GMT-02:00 Mat
the support.
2017-11-14 15:52 GMT-02:00 Matt Burgess <mattyb...@apache.org>:
> 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 ca
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)
method if it exists
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
lookup there but I'm
10 matches
Mail list logo