mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 14:54:51 +02:00
Rename TldSpecificLogicEngine to TldSpecificLogicProxy
This new name is a more accurate description of what the actual class does. TldSpecificLogicEngine is an interface that will be added in the near future, implementations of which will provide custom per-TLD logic. The class being renamed is more properly a proxy that only handles logic generic to all TLDs. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127088913
This commit is contained in:
parent
b74ab4bc27
commit
cd23ece924
4 changed files with 119 additions and 12 deletions
|
@ -65,8 +65,8 @@ import google.registry.model.registry.Registry;
|
|||
import google.registry.model.registry.Registry.TldState;
|
||||
import google.registry.model.smd.SignedMark;
|
||||
import google.registry.model.tmch.ClaimsListShard;
|
||||
import google.registry.pricing.TldSpecificLogicEngine;
|
||||
import google.registry.pricing.TldSpecificLogicEngine.EppCommandOperations;
|
||||
import google.registry.pricing.TldSpecificLogicProxy;
|
||||
import google.registry.pricing.TldSpecificLogicProxy.EppCommandOperations;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
|
@ -180,7 +180,7 @@ public abstract class BaseDomainCreateFlow<R extends DomainBase, B extends Build
|
|||
tldState = registry.getTldState(now);
|
||||
checkRegistryStateForTld(tld);
|
||||
domainLabel = domainName.parts().get(0);
|
||||
commandOperations = TldSpecificLogicEngine.getCreatePrice(
|
||||
commandOperations = TldSpecificLogicProxy.getCreatePrice(
|
||||
registry, domainName.toString(), now, command.getPeriod().getValue());
|
||||
// The TLD should always be the parent of the requested domain name.
|
||||
isAnchorTenantViaReservation = matchesAnchorTenantReservation(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue