mirror of
https://github.com/google/nomulus
synced 2026-01-07 05:56:49 +00: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:
@@ -309,9 +309,10 @@ public class DomainCreateFlow implements TransactionalFlow {
|
||||
DomainCreateFlowCustomLogic.BeforeSaveParameters.newBuilder()
|
||||
.setNewDomain(newDomain)
|
||||
.setHistoryEntry(historyEntry)
|
||||
.setEntityChanges(
|
||||
EntityChanges.newBuilder().setSaves(entitiesToSave.build()).build())
|
||||
.setYears(years)
|
||||
.build(),
|
||||
EntityChanges.newBuilder().setSaves(entitiesToSave.build()).build());
|
||||
.build());
|
||||
persistEntityChanges(entityChanges);
|
||||
|
||||
return responseBuilder
|
||||
|
||||
Reference in New Issue
Block a user