mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 06:44:51 +02:00
Add extensible custom logic to the domain check flow
This also fixes up a hook on the domain create flow custom logic to use a single parameter, which is the general pattern we want to use going forward. It also establishes a pattern for custom logic being able to add extensions. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=139362230
This commit is contained in:
parent
fdc8ceb6bb
commit
a343648b34
7 changed files with 215 additions and 15 deletions
|
@ -28,4 +28,10 @@ public class CustomLogicModule {
|
|||
CustomLogicFactory factory, EppInput eppInput, SessionMetadata sessionMetadata) {
|
||||
return factory.forDomainCreateFlow(eppInput, sessionMetadata);
|
||||
}
|
||||
|
||||
@Provides
|
||||
static DomainCheckFlowCustomLogic provideDomainCheckFlowCustomLogic(
|
||||
CustomLogicFactory factory, EppInput eppInput, SessionMetadata sessionMetadata) {
|
||||
return factory.forDomainCheckFlow(eppInput, sessionMetadata);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue