nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Zhurakousky (JIRA)" <>
Subject [jira] [Commented] (NIFI-1774) AbstractControllerService: use of deprecated Annotation
Date Wed, 04 May 2016 15:38:12 GMT


Oleg Zhurakousky commented on NIFI-1774:

So, this is actually not a bug. The @OnConfigured annotation (although deprecated) is used
to call methods every time configuration changes were made (see _StandardControllerServiceNode#onConfigured()_
So, what is a bug is that while deprecated we have not created a new annotation to be used
in its place. So we need another JIRA to create a new annotation (e.g., @OnPropertyChanged,
@OnConfigurationChange etc.).
Anyway, I'll be closing this as no fix and will amend the PR to only address typo.

> AbstractControllerService: use of deprecated Annotation
> -------------------------------------------------------
>                 Key: NIFI-1774
>                 URL:
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Brandon DeVries
>            Assignee: Pierre Villard
>            Priority: Trivial
> AbstractControllerService is using the deprecated annotation \@OnConfigured.  Possibly
should be org.apache.nifi.annotation.lifecycle.OnEnabled.

This message was sent by Atlassian JIRA

View raw message