google-nomulus/java/google/registry/flows/domain
Justin Graham 7fba7c1e4f Update the ordering of the DomainCreateFlow 'After Validation' extension point
Custom logic to block domain labels is currently being implemented in 'Before Save'. At that point, the default flow has already validated the SMD, premium, and reserved. Only then can we determine if we should block the label, so the 'After Validation' extension point doesn't currently fit the need.

However, as a result, if the label is blocked, but the fee extension is missing, a generic fee error is thrown, stating the fee extension must be present. We would rather state that the label is blocked. Then, if the SMD is present, we override the block, validate that the fee is present with the correct price, and allow the domain create.

The solution is to move the 'After Validation' extension point to actually be after all validation, including of the SMD, but before the fee check.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=143790163
2017-01-09 12:01:03 -05:00
..
ClaimsCheckFlow.java Turn Flow into an interface and inject all its fields 2016-11-02 15:19:34 -04:00
DomainAllocateFlow.java Move ROID suffix handling from RegistryConfig to ConfigModule 2017-01-09 11:59:04 -05:00
DomainApplicationCreateFlow.java Break domain flow TMCH helper methods into separate injected class 2017-01-09 11:59:04 -05:00
DomainApplicationDeleteFlow.java Remove deprecated extra flow logic and TLD-specific pricing proxy 2016-12-19 11:09:20 -05:00
DomainApplicationInfoFlow.java Remove deprecated extra flow logic and TLD-specific pricing proxy 2016-12-19 11:09:20 -05:00
DomainApplicationUpdateFlow.java Remove the unused flags extension 2017-01-09 11:59:04 -05:00
DomainCheckFlow.java Remove deprecated extra flow logic and TLD-specific pricing proxy 2016-12-19 11:09:20 -05:00
DomainCreateFlow.java Update the ordering of the DomainCreateFlow 'After Validation' extension point 2017-01-09 12:01:03 -05:00
DomainDeleteFlow.java Remove deprecated extra flow logic and TLD-specific pricing proxy 2016-12-19 11:09:20 -05:00
DomainFlowTmchUtils.java Daggerize TMCH/signed mark util classes 2017-01-09 11:59:04 -05:00
DomainFlowUtils.java Break domain flow TMCH helper methods into separate injected class 2017-01-09 11:59:04 -05:00
DomainInfoFlow.java Remove deprecated extra flow logic and TLD-specific pricing proxy 2016-12-19 11:09:20 -05:00
DomainPricingLogic.java Reconcile FeesAndCredits handling in price customization 2016-12-22 16:09:14 -05:00
DomainRenewFlow.java Reconcile FeesAndCredits handling in price customization 2016-12-22 16:09:14 -05:00
DomainRestoreRequestFlow.java Reconcile FeesAndCredits handling in price customization 2016-12-22 16:09:14 -05:00
DomainTransferApproveFlow.java Add otherClientId to HistoryEntry 2017-01-09 12:00:34 -05:00
DomainTransferCancelFlow.java Add otherClientId to HistoryEntry 2017-01-09 12:00:34 -05:00
DomainTransferQueryFlow.java Refactor authInfo validation 2016-11-10 11:07:54 -05:00
DomainTransferRejectFlow.java Add otherClientId to HistoryEntry 2017-01-09 12:00:34 -05:00
DomainTransferRequestFlow.java Add otherClientId to HistoryEntry 2017-01-09 12:00:34 -05:00
DomainUpdateFlow.java Remove the unused flags extension 2017-01-09 11:59:04 -05:00
FeesAndCredits.java Reconcile FeesAndCredits handling in price customization 2016-12-22 16:09:14 -05:00