mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Move domainCreateFailfast before cloneAndLinkReferences
This avoids loading all contacts and hosts before the failfast runs ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=154179321
This commit is contained in:
parent
33fabfff04
commit
4553422ade
3 changed files with 3 additions and 3 deletions
|
@ -195,8 +195,8 @@ public final class DomainApplicationCreateFlow implements TransactionalFlow {
|
|||
extensionManager.validate();
|
||||
validateClientIsLoggedIn(clientId);
|
||||
DateTime now = ofy().getTransactionTime();
|
||||
Create command = cloneAndLinkReferences((Create) resourceCommand, now);
|
||||
failfastForCreate(targetId, now);
|
||||
Create command = cloneAndLinkReferences((Create) resourceCommand, now);
|
||||
// Fail if the domain is already registered (e.g. this is a landrush application but the domain
|
||||
// was awarded at the end of sunrise). However, multiple domain applications can be created for
|
||||
// the same domain name, so don't try to load an existing application.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue