google-nomulus/java/google/registry
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
..
backup Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
batch Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
bigquery Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
braintree Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
builddefs Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
config Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
cron Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
dns Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
eclipse Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
env Switch TMCH SMDRL fetch job to start at 00:15 and 12:15 2016-11-15 11:02:42 -05:00
export Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
flows Make domain pricing customizable 2016-12-06 11:52:46 -05:00
gcs Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
groups Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
idn Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
keyring/api Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
loadtest Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
mapreduce Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
model Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
module Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
monitoring Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
pricing Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
rdap Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
rde Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
request Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
security Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
storage/drive Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
tldconfig/idn Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
tmch Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
tools Correctly set HTTP error status codes when list objects fails 2016-12-06 11:52:46 -05:00
ui Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
util Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
whois Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
xjc Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
xml Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
BUILD Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
repositories.bzl Revert change to Guava 20 until we get it working properly 2016-11-02 15:19:34 -04:00