[ 
https://issues.apache.org/jira/browse/NIFI-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699719#comment-14699719
 ] 

Matt Gilman commented on NIFI-826:
----------------------------------

Patch removed in order to ensure ControllerServices were sorted as well. Some 
comments regarding initial approach...

ID generation - Cannot use simple one up as it will cause a ripple effect when 
generating IDs after adding/removing components. Instead, a better approach 
would be to create the ID based on the name and position of the component. This 
will still cause ID generation to change but will only impact components that 
were directly modified.

> Export templates in a deterministic way
> ---------------------------------------
>
>                 Key: NIFI-826
>                 URL: https://issues.apache.org/jira/browse/NIFI-826
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Matt Gilman
>            Assignee: Matt Gilman
>             Fix For: 0.3.0
>
>
> Templates should be exported in a deterministic way so that they can be 
> compared or diff'ed with another. Items to consider...
> - The ordering of components
> - The id's used to identify the components
> - Consider excluding irrelevant items. When components are imported some 
> settings are ignored (run state).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to