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

Joseph Witt commented on NIFI-2574:
-----------------------------------

Almost done removing all use of NiFiProperties.getInstance().  Fortunately 
found that between processors, controller services, and reporting tasks only 
two used NiFiProperties.  One was invalid usage and should be replaced with 
properties (MonitorDiskUsage) and the other(s) were using Kerberos Service 
Principal accessors.  For the former just fixing to be properties as it should. 
 For the latter introduced a KerberosContext which is on the 
ProcessorInitializationContext, ReportingTaskInitializationContext, and the 
ControllerServiceInitializationContext.

> Update NiFiProperties usage to a context based accessor rather than static 
> singleton
> ------------------------------------------------------------------------------------
>
>                 Key: NIFI-2574
>                 URL: https://issues.apache.org/jira/browse/NIFI-2574
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Configuration, Core Framework
>            Reporter: Joseph Witt
>            Assignee: Joseph Witt
>             Fix For: 1.0.0
>
>
> This is a key step to move our longstanding odd static singleton usage of 
> NiFiProperties which enables a loader to exist which will encapsulate all 
> logic for dealing with encrypted properties as is the goal of the parent task.



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

Reply via email to