google-nomulus/java/google/registry
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
..
backup Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
batch Clean up stray commented code in ExpandRecurringBillingEventsAction 2017-01-09 11:59:04 -05:00
bigquery Change commit log bucket counts in tests 2017-01-09 11:59:04 -05:00
braintree Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
builddefs Use bin_ and genfiles_ directories derived from the ctx, not the configuration 2016-12-13 16:03:55 -05:00
config Deprecate more fields in RegistryConfig 2017-01-09 11:59:04 -05:00
cron Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
dns Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
eclipse Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
env Add scrap [] to purge synthetic OneTimes 2017-01-09 11:59:04 -05:00
export Deprecate more fields in RegistryConfig 2017-01-09 11:59:04 -05:00
flows Update the ordering of the DomainCreateFlow 'After Validation' extension point 2017-01-09 12:01:03 -05:00
gcs Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
groups Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
idn Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
keyring/api Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
loadtest Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
mapreduce Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
model Add otherClientId to HistoryEntry 2017-01-09 12:00:34 -05:00
module Add scrap [] to purge synthetic OneTimes 2017-01-09 11:59:04 -05:00
monitoring Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
pricing Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
rdap Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
rde Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
request Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
security Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
storage/drive Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
tldconfig/idn Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
tmch Deprecate more fields in RegistryConfig 2017-01-09 11:59:04 -05:00
tools Daggerize TMCH/signed mark util classes 2017-01-09 11:59:04 -05:00
ui Deprecate more fields in RegistryConfig 2017-01-09 11:59:04 -05:00
util Deprecate more fields in RegistryConfig 2017-01-09 11:59:04 -05:00
whois Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
xjc Remove the unused flags extension 2017-01-09 11:59:04 -05:00
xml Remove the unused flags extension 2017-01-09 11:59:04 -05:00
BUILD Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
repositories.bzl Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00