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

Adam Hunyadi updated MINIFICPP-1223:
------------------------------------
    Description: 
*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.

  was:
*Acceptance criteria:*

*GIVEN* A Getfile -> ExecutePythonScript -> 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

*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 change with the first major release.


> 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: Adam Hunyadi
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> *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.3.4#803005)

Reply via email to