google-nomulus/java/google/registry/rde
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
..
imports Fix code to always set HistoryEntry modification time using txn time 2017-10-04 16:16:45 -04:00
BrdaCopyAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
BUILD Swap all uses of Lock to LockHandler 2017-09-12 15:51:50 -04:00
ContactResourceToXjcConverter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DepositFragment.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
DomainResourceToXjcConverter.java Remove obsolete TransferData.extendedRegistrationYears 2017-03-21 15:35:00 -04:00
EscrowTaskRunner.java Swap all uses of Lock to LockHandler 2017-09-12 15:51:50 -04:00
Ghostryde.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HostResourceToXjcConverter.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
JSchModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JSchSftpChannel.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JSchSshSession.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
PendingDeposit.java Allow RdeStagingAction to be invoked manually 2017-04-10 13:47:51 -04:00
PendingDepositChecker.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
RdeAdapter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeCounter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeMarshaller.java Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
RdeModule.java Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
RdeReportAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
RdeReporter.java Remove an unused exception 2017-02-02 17:04:06 -05:00
RdeResourceType.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeStagingAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
RdeStagingMapper.java Cache Registrars in memory 2017-05-17 12:26:11 -04:00
RdeStagingReducer.java Use different locks for thin and full rde reports 2017-09-20 10:27:17 -04:00
RdeUploadAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
RdeUploadUrl.java Use Immutable types for static final fields 2017-03-07 13:50:53 -05:00
RdeUtil.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistrarToXjcConverter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpCompressionOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpEncryptionOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpFileOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpSigningOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydeTarOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00