google-nomulus/java/google/registry/flows/domain
jianglai 99c16dc345 Make domain pricing customizable
By refactoring TldSpecificLogicProxy (and renaming it to DomainPricingLogic) into
a FlowScope object that is injected into each flow, we can further inject a
DomainPricingCustomLogic into the pricer, which has hooks into each pricing
calls, e. g. getCreatePrice(), getRenewPrice(), etc.

The benefit of these customization hooks is that methods like getCreatePrice()
get called in multiple flows, such as DomainAllocateFlow,
DomainApplicationCreateFlow, and DomainCreateFlow. By customizing the return
value of getCreatePrice() itself, all of its callers gets the amended price.

This CL only includes the basic infrastructure needed, with no actual hooks
placed into each flow.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=140616990
2016-12-06 11:52:46 -05:00
..
flags Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
ClaimsCheckFlow.java Turn Flow into an interface and inject all its fields 2016-11-02 15:19:34 -04:00
DomainAllocateFlow.java Add explicit generic type parameters to make Java 7 build happy 2016-11-16 17:11:14 -05:00
DomainApplicationCreateFlow.java Add TLD-specific logic for application creates 2016-11-15 10:39:51 -05:00
DomainApplicationDeleteFlow.java Scope down TransferData to only ContactResource and DomainResource 2016-11-15 13:47:28 -05:00
DomainApplicationInfoFlow.java Add extra flow logic hook for application info 2016-11-10 12:30:44 -05:00
DomainApplicationUpdateFlow.java Add extra flow logic hooks for application delete and update 2016-11-10 11:24:32 -05:00
DomainCheckFlow.java Add extensible custom logic to the domain renew flow 2016-11-28 11:32:47 -05:00
DomainCreateFlow.java Add extensible custom logic to the domain update flow 2016-11-28 11:28:16 -05:00
DomainDeleteFlow.java Add extensible custom logic to the domain delete flow 2016-12-06 11:52:46 -05:00
DomainFlowUtils.java Simplify the fee extensions. 2016-11-10 11:09:23 -05:00
DomainInfoFlow.java Add extensible custom logic to the domain info flow 2016-11-28 11:26:42 -05:00
DomainPricingLogic.java Make domain pricing customizable 2016-12-06 11:52:46 -05:00
DomainRenewFlow.java Add extensible custom logic to the domain renew flow 2016-11-28 11:32:47 -05:00
DomainRestoreRequestFlow.java Add explicit generic type parameters to make Java 7 build happy 2016-11-16 17:11:14 -05:00
DomainTransferApproveFlow.java Add extra flow logic hooks for transfer approve, cancel and reject 2016-11-15 13:52:01 -05:00
DomainTransferCancelFlow.java Add extra flow logic hooks for transfer approve, cancel and reject 2016-11-15 13:52:01 -05:00
DomainTransferQueryFlow.java Refactor authInfo validation 2016-11-10 11:07:54 -05:00
DomainTransferRejectFlow.java Add extra flow logic hooks for transfer approve, cancel and reject 2016-11-15 13:52:01 -05:00
DomainTransferRequestFlow.java Add explicit generic type parameters to make Java 7 build happy 2016-11-16 17:11:14 -05:00
DomainUpdateFlow.java Add extensible custom logic to the domain update flow 2016-11-28 11:28:16 -05:00
RegistryExtraFlowLogic.java Add extensible custom logic to the domain check flow 2016-11-16 17:06:43 -05:00
RegistryExtraFlowLogicProxy.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
TldSpecificLogicProxy.java Add extra flow logic hooks for application delete and update 2016-11-10 11:24:32 -05:00