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

@ -46,4 +46,10 @@ public class CustomLogicModule {
CustomLogicFactory factory, EppInput eppInput, SessionMetadata sessionMetadata) {
return factory.forDomainUpdateFlow(eppInput, sessionMetadata);
}
@Provides
static DomainRenewFlowCustomLogic provideDomainRenewFlowCustomLogic(
CustomLogicFactory factory, EppInput eppInput, SessionMetadata sessionMetadata) {
return factory.forDomainRenewFlow(eppInput, sessionMetadata);
}
}