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

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

Additional comment on ID generation - Initial thought was to use name and 
position. This however is going to be too restrictive considering that 
ControllerServices are also present in templates but they do not have a 
position. In this case, the ID would be generated by just considering the name. 
This would likely result in frequent template generation failure since there 
would be conflicting IDs. In this case it may make sense to fallback to using 
another mechanism for generating an ID. 

> 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