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

ASF subversion and git services commented on NIFI-14570:
--------------------------------------------------------

Commit 7b53450f5e4434d81785278eba7cc4f250c80c6f in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=7b53450f5e ]

NIFI-14570 Retain Git Registry Client Metadata Timestamp in JSON

- Updated Git Flow Registry Client to remove setting the timestamp field to 0

Signed-off-by: Pierre Villard <[email protected]>

This closes #9951.


> Retain Snapshot Timestamp in Serialized JSON from Git Registry Clients
> ----------------------------------------------------------------------
>
>                 Key: NIFI-14570
>                 URL: https://issues.apache.org/jira/browse/NIFI-14570
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>
> Flow Registry Clients such as GitHub and GitLab implementations clear several 
> snapshot metadata properties before serializing and persisting the JSON flow 
> definition in order to minimize changes committed to the repository. The 
> timestamp field is replaced on retrieval using the Git Commit Time, however, 
> retaining the timestamp in the JSON itself can be a useful status indicator 
> when viewing JSON flow definitions. The Git Flow Registry abstraction 
> implementation should be updated to retain the timestamp information.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to