google-nomulus/java/google/registry/flows
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
..
async Move the async [] classes out of the flows package 2016-12-19 11:09:19 -05:00
contact Move ROID suffix handling from RegistryConfig to ConfigModule 2017-01-09 11:59:04 -05:00
custom Reconcile FeesAndCredits handling in price customization 2016-12-22 16:09:14 -05:00
domain Update the ordering of the DomainCreateFlow 'After Validation' extension point 2017-01-09 12:01:03 -05:00
exceptions Replace command.applyTo() with inlined builder operations 2016-11-02 15:19:34 -04:00
host Move ROID suffix handling from RegistryConfig to ConfigModule 2017-01-09 11:59:04 -05:00
picker Turn Flow into an interface and inject all its fields 2016-11-02 15:19:34 -04:00
poll Enforce nullness consistency on EppResponse.set...() methods 2016-11-16 17:03:43 -05:00
session Set svID in ConfigModule instead of hard-coding it 2016-11-10 12:29:53 -05:00
soy Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
BUILD Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
CheckApiAction.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppConsoleAction.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppController.java Use correct <a> tag syntax in javadoc @see tag 2016-11-02 15:19:34 -04:00
EppException.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppMetrics.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppRequestHandler.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppRequestSource.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppTlsAction.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppToolAction.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppXmlTransformer.java Remove the unused flags extension 2017-01-09 11:59:04 -05:00
ExtensionManager.java Simplify the fee extensions. 2016-11-10 11:09:23 -05:00
Flow.java Turn Flow into an interface and inject all its fields 2016-11-02 15:19:34 -04:00
FlowComponent.java Remove extraneous modules from FlowComponent 2016-11-28 11:38:02 -05:00
FlowModule.java Turn Flow into an interface and inject all its fields 2016-11-02 15:19:34 -04:00
FlowRunner.java Turn Flow into an interface and inject all its fields 2016-11-02 15:19:34 -04:00
FlowScope.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
FlowUtils.java Add a custom logic framework to provide pluggable extensibility 2016-11-15 15:19:32 -05:00
GaeUserCredentials.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
HttpSessionMetadata.java Remove LoggedInFlow 2016-11-02 15:19:34 -04:00
PasswordOnlyTransportCredentials.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
ResourceFlowUtils.java Do not cancel pending transfers unless there is one to cancel 2016-12-06 11:52:46 -05:00
SessionMetadata.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
StatelessRequestSessionMetadata.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
TlsCredentials.java Revert Guava 20 features until we get the build working properly 2016-11-02 15:19:34 -04:00
TransactionalFlow.java Turn Flow into an interface and inject all its fields 2016-11-02 15:19:34 -04:00
TransportCredentials.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00