google-nomulus/java/google/registry/rde/imports
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
..
BUILD Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
RdeContactImportAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
RdeContactInput.java Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
RdeContactReader.java Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
RdeDomainImportAction.java Fix RDE import pending transfer handling 2017-10-04 16:16:45 -04:00
RdeDomainInput.java Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
RdeDomainReader.java Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
RdeHostImportAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
RdeHostInput.java Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
RdeHostLinkAction.java Link domain to subordinate hosts on RDE import 2017-10-04 16:16:45 -04:00
RdeHostReader.java Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
RdeImportsModule.java Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
RdeImportUtils.java Fix RDE import pending transfer handling 2017-10-04 16:16:45 -04:00
RdeParser.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResourceExistsException.java Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
XjcToContactResourceConverter.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
XjcToDomainResourceConverter.java Correct usages of DateTime.now() everywhere to DateTime.now(UTC) 2017-08-29 17:09:53 -04:00
XjcToEppResourceConverter.java Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
XjcToHostResourceConverter.java Fix code to always set HistoryEntry modification time using txn time 2017-10-04 16:16:45 -04:00