google-nomulus/java/google/registry/model/reporting
nickfelt 2702c3a7f3 Fix code to always set HistoryEntry modification time using txn time
Since HistoryEntry always represents a read-only log of mutation to a core resource, that mutation should always happen in a transaction, and the HistoryEntry should be saved in that transaction.  As such, it's always more accurate to use ofy().getTransactionTime() for the modificationTime of the HistoryEntry rather than just DateTime.now(UTC).

In addition, having these be the exact same timestamp makes it possible to align HistoryEntries with commit log manifests using modificationTime = transactionTime, which is useful for recovery and analysis purposes.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=170136957
2017-10-04 16:16:45 -04:00
..
DomainTransactionRecord.java Record domain transaction for domain transfers 2017-08-29 17:17:07 -04:00
HistoryEntry.java Fix code to always set HistoryEntry modification time using txn time 2017-10-04 16:16:45 -04:00
IcannReportingTypes.java Make FlowRunner log ICANN activity report field name 2017-03-27 13:32:57 -04:00