Github user brosander commented on a diff in the pull request:
https://github.com/apache/nifi-minifi/pull/45#discussion_r84529673
--- Diff:
minifi-commons/minifi-commons-schema/src/main/java/org/apache/nifi/minifi/commons/schema/ConnectionSchema.java
---
@@ -60,30 +53,11 @@ public ConnectionSchema(Map map) {
super(map, CONNECTIONS_KEY);
sourceId = getOptionalKeyAsType(map, SOURCE_ID_KEY, String.class,
CONNECTIONS_KEY, "");
--- End diff --
It is treated as required in the getValidationIssues implementation. I
needed a chance to set it when upconverting before the validation occurs. I
could change that to map manipulation before instantiating the ConnectionSchema
but that felt worse.
---
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.
---