google-nomulus/javatests/google/registry
jianglai b6d2790a13 Add TokenStore and QuotaManager to manage proxy quota requests
The TokenStore is configured by a QuotaConfig for a protocol (EPP/WHOIS). It accepts concurrent take, put and refresh request to grant/accept token to the caller.

The QuotaManager contains a TokenStore and provides abstractions that are appropriate for a quota leasing entity to use. Quota return calls are executed asynchronously by the QuotaManager, and quota refresh tasks are scheduled by the QuotaManager to run periodically.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=182109341
2018-01-19 14:46:44 -05:00
..
backup Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
batch Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
beam Move invoice generation to billing bucket and improve emailing 2018-01-19 14:34:14 -05:00
bigquery Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
billing Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
builddefs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
config Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
cron Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
dns Skip RRS update if existing records are equal to desired records 2017-12-27 11:18:21 -05:00
export Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
flows Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
groups Use method references when possible 2017-12-27 11:25:02 -05:00
keyring Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
mapreduce/inputs Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
model Add basic AllocationToken validation/redemption for domain creates 2018-01-19 14:28:26 -05:00
module Add publish functionality to billing pipeline 2018-01-04 17:17:59 -05:00
monitoring/whitebox Move metrics dependencies to artifacts under Maven groupId com.google.monitoring-client 2018-01-04 17:12:35 -05:00
pricing Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
proxy Add TokenStore and QuotaManager to manage proxy quota requests 2018-01-19 14:46:44 -05:00
rdap Add support for RDAP retrieval of all registrars 2018-01-19 14:45:15 -05:00
rde Replace FluentIterable with streams 2017-12-27 11:40:50 -05:00
reporting Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
request Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
security Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
server Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
storage/drive Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
testing Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
tldconfig/idn Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
tmch Use method references instead of lambdas when possible 2017-12-27 10:55:03 -05:00
tools Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
ui Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
util Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
whois Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
xjc Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
xml Add basic AllocationToken validation/redemption for domain creates 2018-01-19 14:28:26 -05:00