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();