[
https://issues.apache.org/jira/browse/NIFI-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15070188#comment-15070188
]
Joseph Witt commented on NIFI-1289:
-----------------------------------
So i just want to make sure we've clearly documented this well for others. It
isn't like we support dynamic reloading of these properties across the board.
Many of these properties will only be read on startup and we need to make sure
these are documented. We have an admin guide where these properties are talked
about. if some will now be read in and honored at runtime as well we should
annotate the lifecycle of those properties there too.
> Inconsistent bootstrapping of nifi.properties
> ---------------------------------------------
>
> Key: NIFI-1289
> URL: https://issues.apache.org/jira/browse/NIFI-1289
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 0.4.0
> Reporter: Oleg Zhurakousky
> Assignee: Oleg Zhurakousky
> Priority: Minor
> Fix For: 0.5.0
>
>
> NiFiProperties caches the 'instance' of properties in a typical Singleton
> fashion.
> This creates issues with tests that provide location of nifi.properties for
> its run when running the entire suite. Fir example when running
> TestStandardProcessScheduler, the first line in setup method:
> {code}
> System.setProperty("nifi.properties.file.path",
> "src/test/resources/nifi.properties");
> {code}
> It is absolutely meaningless when such test is ran as part of the suite
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)