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

Pierre Villard commented on NIFI-15396:
---------------------------------------

*STARTING* and *STOPPING* are not possible because the *getScheduledState()* 
method in *ProcessorNode* converts *STARTING* and *STOPPING* to their logical 
states. Will file a PR for {*}RUN_ONCE{*}.

> Processor State validation should include RUN_ONCE
> --------------------------------------------------
>
>                 Key: NIFI-15396
>                 URL: https://issues.apache.org/jira/browse/NIFI-15396
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 2.7.2
>            Reporter: Daniel Chaffelson
>            Priority: Minor
>
> [org/apache/nifi/web/api/dto/ProcessorDTO.java|https://github.com/apache/nifi/blob/9d480a090ade0703b076177f92d8ece4aef25712/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/ProcessorDTO.java#L107]
> allowableValues = \{"RUNNING", "STOPPED", "DISABLED"}
> This should include RUN_ONCE, as it may return this state while the Processor 
> is completing the single cycle.



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

Reply via email to