mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 08:27:14 +02:00
Change lrpTldStates to Interval
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135957698
This commit is contained in:
parent
edbb8985e6
commit
4e0b6d36c4
13 changed files with 232 additions and 131 deletions
|
@ -201,7 +201,8 @@ public abstract class BaseDomainCreateFlow<R extends DomainBase, B extends Build
|
|||
isAnchorTenantViaReservation = matchesAnchorTenantReservation(
|
||||
domainLabel, tld, command.getAuthInfo().getPw().getValue());
|
||||
boolean isLrpApplication =
|
||||
registry.getLrpTldStates().contains(tldState)
|
||||
registry.getLrpPeriod() != null
|
||||
&& registry.getLrpPeriod().contains(now)
|
||||
&& !command.getAuthInfo().getPw().getValue().isEmpty()
|
||||
&& !isAnchorTenantViaReservation;
|
||||
lrpToken = isLrpApplication
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue