You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2022/01/03 09:28:00 UTC

[jira] [Resolved] (MINIFICPP-1223) Stop reloading script files every time ExecutePythonProcessor is triggered

     [ https://issues.apache.org/jira/browse/MINIFICPP-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gábor Gyimesi resolved MINIFICPP-1223.
--------------------------------------
    Fix Version/s: 0.11.0
       Resolution: Fixed

> Stop reloading script files every time ExecutePythonProcessor is triggered
> --------------------------------------------------------------------------
>
>                 Key: MINIFICPP-1223
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1223
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Adam Hunyadi
>            Assignee: Gábor Gyimesi
>            Priority: Minor
>             Fix For: 1.0.0, 0.11.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> *Acceptance criteria:*
> *GIVEN* A Getfile -> ExecutePythonScript (with "Reload on Script Change" not set) -> Putfile workflow
>  *WHEN* The ExecutePythonScript is run twice *with* an update on the script file inbetween
>  *THEN* On the second execution the behaviour of the ExecuteScriptProcessor should not change
> *GIVEN* A Getfile -> ExecutePythonScript (with "Reload on Script Change" disabled) -> Putfile workflow
>  *WHEN* The ExecutePythonScript is run twice *with* an update on the script file inbetween
>  *THEN* On the second execution the behaviour of the ExecuteScriptProcessor should not change
> *GIVEN* A Getfile -> ExecutePythonScript (with "Reload on Script Change" enabled) -> Putfile workflow
>  *WHEN* The ExecutePythonScript is run twice *with* an update on the script file inbetween
>  *THEN* On the second execution the behaviour of the ExecuteScriptProcessor should follow the updated script
> *Background:*
>  For backward compatibility, we went for keeping the behaviour of reading the script file every time the processor is triggered intact.
> *Proposal:*
> We would like to add an option called *"Reload on Script Change"* to toggle this with the first major release.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)