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

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

Github user olegz commented on the issue:

    https://github.com/apache/nifi/pull/538
  
    @rekhajoshm this has been discussed (see NIFI-1774 JIRA comments) based on 
the same change done and then un-done by @pvillard31. Basically changing 
OnConfigured to OnEnabled is wrong and in itself will introduce another bug. 
What we need for this is a new annotation. Basically go through JIRA comments 
and you'll see. Meanwhile if you agree please close this PR.
    Thank you
    Oleg


> AbstractControllerService: use of deprecated Annotation
> -------------------------------------------------------
>
>                 Key: NIFI-1774
>                 URL: https://issues.apache.org/jira/browse/NIFI-1774
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Brandon DeVries
>            Priority: Trivial
>
> AbstractControllerService is using the deprecated annotation \@OnConfigured.  
> Possibly should be org.apache.nifi.annotation.lifecycle.OnEnabled.
> https://github.com/apache/nifi/blob/e4b7e47836edf47042973e604005058c28eed23b/nifi-api/src/main/java/org/apache/nifi/controller/AbstractControllerService.java#L52



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to