mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
HistoryEntry for extra logic; update fee check
While working on an implementation of TLD-specific logic, it was realized that the extra logic methods would need access to the flow's HistoryEntry, so that things like poll messages could be parented properly. Also, the update flow had not been fixed to perform the fee check. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=132561527
This commit is contained in:
parent
95cc7ab3d8
commit
a63921350b
13 changed files with 129 additions and 21 deletions
|
@ -151,7 +151,12 @@ public class DomainRenewFlow extends OwnedResourceMutateFlow<DomainResource, Ren
|
|||
// Handle extra flow logic, if any.
|
||||
if (extraFlowLogic.isPresent()) {
|
||||
extraFlowLogic.get().performAdditionalDomainRenewLogic(
|
||||
existingResource, getClientId(), now, command.getPeriod().getValue(), eppInput);
|
||||
existingResource,
|
||||
getClientId(),
|
||||
now,
|
||||
command.getPeriod().getValue(),
|
||||
eppInput,
|
||||
historyEntry);
|
||||
}
|
||||
|
||||
ofy().save().<Object>entities(explicitRenewEvent, newAutorenewEvent, newAutorenewPollMessage);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue