mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +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
|
@ -211,6 +211,7 @@ public final class DomainTransferRequestFlow implements TransactionalFlow {
|
|||
private HistoryEntry buildHistory(Period period, DomainResource existingResource, DateTime now) {
|
||||
return historyBuilder
|
||||
.setType(HistoryEntry.Type.DOMAIN_TRANSFER_REQUEST)
|
||||
.setOtherClientId(existingResource.getCurrentSponsorClientId())
|
||||
.setPeriod(period)
|
||||
.setModificationTime(now)
|
||||
.setParent(Key.create(existingResource))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue