[ 
https://issues.apache.org/jira/browse/NIFI-10449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677948#comment-17677948
 ] 

ASF subversion and git services commented on NIFI-10449:
--------------------------------------------------------

Commit e0ec9780a5dc61db2f6482f3ea41f83065920f81 in nifi's branch 
refs/heads/dependabot/npm_and_yarn/nifi-registry/nifi-registry-core/nifi-registry-web-ui/src/main/decode-uri-component-0.2.2
 from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e0ec9780a5 ]

NIFI-10449 Fixed ScriptedLookupServices reloading

- Reload script after disabled and first validation after changes made

This closes #6371

Signed-off-by: David Handermann <[email protected]>


> 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
>            Assignee: Matt Burgess
>            Priority: Major
>             Fix For: 1.20.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to