Add extensible custom logic to the domain renew flow

This also adds a TODO in DomainCheckFlow to document the fact that as-of date is not overridden when passed to the custom logic.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=140031318
This commit is contained in:
jianglai 2016-11-23 07:42:19 -08:00 committed by Ben McIlwain
parent ddacd33c5e
commit 9a616ccd7f
5 changed files with 267 additions and 4 deletions

View file

@ -141,6 +141,7 @@ public final class DomainCheckFlow implements Flow {
customLogic.afterValidation(
DomainCheckFlowCustomLogic.AfterValidationParameters.newBuilder()
.setDomainNames(domainNames)
// TODO: Use as of date from fee extension v0.12 instead of now, if specificed.
.setAsOfDate(now)
.build());
Set<String> existingIds = checkResourcesExist(DomainResource.class, targetIds, now);