exceptionfactory commented on PR #7604: URL: https://github.com/apache/nifi/pull/7604#issuecomment-1688989107
> Hi @exceptionfactory thanks for response > > As we know create bucket , create flow version both API's already have _preserveSourceProperties_ parameter and for this one _create Flow_ i have added . > > While I acknowledge that the current approach might not be optimal, I'm curious about the initial rationale for including this parameter. Additionally, could you clarify the reasoning behind exclusively maintaining the author's information? Thanks for the reply @ravinarayansingh, that is a good point and question. [NIFI-11327](https://issues.apache.org/jira/browse/NIFI-11327) introduced the `preserveSourceProperties` parameter as part of supporting exporting and import operations. From that perspective, there are several create methods that support these operations, so my previous statement was not accurate. Given that the basic purpose of this parameter is to support some types of migration, the question whether to extend the implementation to timestamps, instead of keeping it limited to the author. Preserving the created timestamp might make sense to maintain historical tracking, but it seems like the modified timestamp should reflect the time when the migration operation occurred. Is there some particular reason for not wanting to reflect the current timestamp when importing flows? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
