1
0
mirror of https://github.com/google/nomulus synced 2026-01-07 05:56:49 +00:00

Add extensible custom logic to the domain update flow

This also adds beforeValidation hook to DomainCreateCustomFlow.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=139828346
This commit is contained in:
jianglai
2016-11-21 14:01:55 -08:00
committed by Ben McIlwain
parent 2d85ec9aa3
commit 998dae33ec
6 changed files with 162 additions and 7 deletions

View File

@@ -176,6 +176,7 @@ public class DomainCreateFlow implements TransactionalFlow {
FlagsCreateCommandExtension.class,
MetadataExtension.class,
LaunchCreateExtension.class);
customLogic.beforeValidation();
extensionManager.validate();
validateClientIsLoggedIn(clientId);
DateTime now = ofy().getTransactionTime();