You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2022/09/06 21:26:00 UTC

[jira] [Created] (NIFI-10449) ScriptedLookupService does not reload the script when disabled then enabled

Matt Burgess created NIFI-10449:
-----------------------------------

             Summary: ScriptedLookupService does not reload the script when disabled then enabled
                 Key: NIFI-10449
                 URL: https://issues.apache.org/jira/browse/NIFI-10449
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Matt Burgess


Currently a ScriptedLookupService does not reload the script after it has been disabled. This can cause changes to external values not to be picked up by the controller service when it is re-enabled.

For example, consider a ScriptedLookupService that loads a lookup table from a parameter. Configure the parameter with some sample mappings and verify it works. Then update the parameter to specify different values. The LookupService keeps returning the original values, but the script should have been re-compiled/evaluated after the controller service was disabled.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)