[
https://issues.apache.org/jira/browse/MINIFI-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351633#comment-15351633
]
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_r68639025
--- Diff:
minifi-bootstrap/src/main/java/org/apache/nifi/minifi/bootstrap/util/schema/ConnectionSchema.java
---
@@ -44,7 +44,7 @@
private String flowfileExpiration = "0 sec";
private String queuePrioritizerClass = "";
- public ConnectionSchema() {
+ private ConnectionSchema() {
--- End diff --
Same as above
> 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)