mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Add otherClientId to HistoryEntry
This CL adds an otherClientId field to be populated on domain transfers with client ID of the other end of the transaction (losing registrar for requests and cancels, gaining registrar for approves and rejects). This will be used for reporting in compliance with specification 3 of the ICANN registry agreement. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=143775945
This commit is contained in:
parent
25a8bbe890
commit
44972b916a
11 changed files with 49 additions and 3 deletions
|
@ -82,6 +82,7 @@ public final class DomainTransferRejectFlow implements TransactionalFlow {
|
|||
HistoryEntry historyEntry = historyBuilder
|
||||
.setType(HistoryEntry.Type.DOMAIN_TRANSFER_REJECT)
|
||||
.setModificationTime(now)
|
||||
.setOtherClientId(existingDomain.getTransferData().getGainingClientId())
|
||||
.setParent(Key.create(existingDomain))
|
||||
.build();
|
||||
verifyOptionalAuthInfo(authInfo, existingDomain);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue