Github user alopresto commented on the issue:
https://github.com/apache/nifi/pull/834
Ok @joewitt . I agree that removing the singleton pattern for
`NiFiProperties` is a good move. I will implement the loader (extracting the
protection logic from `NiFiProperties`) and make an instance of the properties
available for the various contexts.
I will also create a mock loader implementation for the tests which
reference `NiFiProperties`.
I will deprecate `NiFiProperties.getInstance()` in `0.x` and remove it
entirely in `1.0`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---