Github user JPercivall commented on a diff in the pull request:
https://github.com/apache/nifi-minifi/pull/17#discussion_r64796094
--- Diff:
minifi-bootstrap/src/main/java/org/apache/nifi/minifi/bootstrap/util/ConfigTransformer.java
---
@@ -616,15 +630,21 @@ private static void addConnection(final Element
parentElement, Map<String, Objec
addTextElement(element, "labelIndex", "1");
addTextElement(element, "zIndex", "0");
- addTextElement(element, "sourceId", "Processor");
+ addTextElement(element, "sourceId",
getValueString(connectionProperties, SOURCE_NAME_KEY));
--- End diff --
That is a very good way forward and I will refactor this to be two classes.
I'll look in to Kwalify and google a bit to see what others are using for YAML
schema validation.
---
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.
---