[
https://issues.apache.org/jira/browse/MINIFI-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351632#comment-15351632
]
ASF GitHub Bot commented on MINIFI-43:
--------------------------------------
Github user apiri commented on a diff in the pull request:
https://github.com/apache/nifi-minifi/pull/20#discussion_r68638911
--- Diff:
minifi-bootstrap/src/main/java/org/apache/nifi/minifi/bootstrap/util/schema/ConfigSchema.java
---
@@ -52,7 +52,7 @@
private ProvenanceRepositorySchema provenanceRepositorySchema;
- public ConfigSchema() {
+ private ConfigSchema() {
--- End diff --
Changing to private, should this c'tor just be removed?
> ConfigSchema always instantiates ProvenanceReporter
> ---------------------------------------------------
>
> Key: MINIFI-43
> URL: https://issues.apache.org/jira/browse/MINIFI-43
> Project: Apache NiFi MiNiFi
> Issue Type: Bug
> Reporter: Joseph Percivall
> Assignee: Joseph Percivall
>
> Currently when a flow does set not the Provenance Reporting Task the
> ConfigTransformer will instantiate a ProvenanceReportingSchema the default
> constructor. The problem being there are required properties that don't get
> created and when NiFi attempts to start the reporting task it fails.
> ConfigSchema needs a way to get an optional property that doesn't get
> instantiated when null.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)