Github user mcgilman commented on the issue:
https://github.com/apache/nifi/pull/515
@olegz I believe that we're going to need to introduce the templateId or
inceptionId into the flow.xml not just the template DTO. The reasoning is that
we need to support the following case:
Two different systems running the same dataflow should produce the same
serialized XML. In order for this to happen, each component needs to produce
the same UUID and within the collections they need to be ordered the same.
Additionally, we need to only serialize fields that need to be present during
template instantiation.
After template instantiation, they should be able to generate a new
template and the components should still have the same UUIDs, ordered
correctly, and have the correct fields serialized. So that when diffed with the
originally serialized template we would only see the modifications.
---
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.
---