[
https://issues.apache.org/jira/browse/MINIFI-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16220759#comment-16220759
]
ASF GitHub Bot commented on MINIFI-313:
---------------------------------------
Github user apiri commented on a diff in the pull request:
https://github.com/apache/nifi-minifi/pull/93#discussion_r147170444
--- Diff:
minifi-bootstrap/src/test/java/org/apache/nifi/minifi/bootstrap/util/ConfigTransformerTest.java
---
@@ -352,6 +354,26 @@ public void doesTransformOnMinimal() throws Exception {
}
@Test
+ public void doesTransformOnProvenanceRepository() throws Exception {
+
ConfigTransformer.transformConfigFile("./src/test/resources/config-provenance-repository.yml",
"./target/");
+ File nifiPropertiesFile = new File("./target/nifi.properties");
+
+ assertTrue(nifiPropertiesFile.exists());
+ assertTrue(nifiPropertiesFile.canRead());
+
+ String nifi = FileUtils.readFileToString(nifiPropertiesFile,
Charset.defaultCharset());
+
assertTrue(nifi.contains("nifi.provenance.repository.implementation=org.apache.nifi.provenance.MiNiFiPersistentProvenanceRepository"));
--- End diff --
Might be good to use a test file that would specify something other than
the MiNiFIPersistent prov repo. This is the default (as it should be) and
would be populated successfully transforming or not.
> Allow configuration of repository implementations
> -------------------------------------------------
>
> Key: MINIFI-313
> URL: https://issues.apache.org/jira/browse/MINIFI-313
> Project: Apache NiFi MiNiFi
> Issue Type: Improvement
> Components: Agent Configuration/Installation
> Reporter: Aldrin Piri
> Assignee: Jeff Zemerick
> Priority: Minor
>
> From an email discussion on the dev list, someone had inquired about
> disabling provenance for MiNiFi. This is currently unsupported by
> configuration but would be a quick add. What must be determined is where
> this would reside. At first thought, it appears this should be managed by
> the bootstrap.conf.
> We should support configuration of content and provenance repositories.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)