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

ASF GitHub Bot commented on NIFI-4615:
--------------------------------------

Github user sbouchex commented on the issue:

    https://github.com/apache/nifi/pull/2276
  
    OK, the problem is not in the REST API which does contain the right value :
    `"runStatus":"Running"`
    
    However, the problem is in the generated code from swagger.io (or in Nifi) 
: In ProcessorStatusSnapshotDTO, the RunStatusEnum values are defined uppercase 
(RUNNING, STOPPED...) but the value sent returned by Nifi REST API are not : 
Running, Stopped...



> Processor status is not reported with the API
> ---------------------------------------------
>
>                 Key: NIFI-4615
>                 URL: https://issues.apache.org/jira/browse/NIFI-4615
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration Management
>    Affects Versions: 1.4.0
>            Reporter: Sébastien Bouchex Bellomié
>            Priority: Major
>             Fix For: 1.5.0
>
>
> * Start a processor
> * Request its status with the Processor/get/{id] API
> Issue : ProcessorEntity.status.runStatus is always null
> Note : DtoFactory.createProcessorStatusDto do not set the processor status



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to