google-nomulus/javatests/google/registry
mcilwain 8f456bcf64 Clarify when to use cache (or not) when loading premium lists
You don't want to use the cache when loading them for the purposes of updating
them, but you definitely do still want to use the cache when checking the
price of individual domains.

In [] the cache clearing of premium lists on update was removed. This
is a good thing in aggregate because the cache is per-instance and thus
misleading, but it also caused us to not be able to update the same premium
list twice within an hour because the second update would hit a "PremiumList
was concurrently edited" exception, owing to first loading the stale version
from the cache for the purposes of updating it. Now we bypass the cache for
that purpose.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=197768142
2018-05-30 12:18:54 -04:00
..
backup Batch NORDN pull queue task deletions 2018-05-17 21:52:35 -04:00
batch Make async flow logic handle missing client transaction IDs 2018-05-05 23:21:55 -04: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
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 Batch NORDN pull queue task deletions 2018-05-17 21:52:35 -04:00
dns Batch NORDN pull queue task deletions 2018-05-17 21:52:35 -04:00
export Batch NORDN pull queue task deletions 2018-05-17 21:52:35 -04:00
flows Improve the error when trying to delete the registrant contact 2018-05-17 21:52:35 -04:00
groups Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
keyring Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
mapreduce/inputs Remove the JVM flags -XX:PermSize and -XX:MaxPermSize 2018-03-19 18:25:04 -04:00
model Clarify when to use cache (or not) when loading premium lists 2018-05-30 12:18:54 -04:00
module Add "pubapi" App Engine service for check API, WHOIS, and RDAP 2018-05-30 12:18:54 -04:00
monitoring/whitebox Migrate away fully from MockitoJUnitRunner 2018-04-10 17:01:04 -04:00
pricing Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
proxy Fix proxy metrics instrumentation bug 2018-05-30 12:18:54 -04:00
rdap Move RDAP boilerplate from remarks to notices 2018-05-05 23:47:47 -04:00
rde Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
reporting Enable ability to generate invoices without publishing 2018-04-23 15:10:09 -04:00
request Add MOE equivalency for 2018-04-23 sync 2018-05-17 21:52:35 -04:00
security Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
server Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
storage/drive Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
testing Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
tldconfig/idn Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
tmch Batch NORDN pull queue task deletions 2018-05-17 21:52:35 -04:00
tools Clarify when to use cache (or not) when loading premium lists 2018-05-30 12:18:54 -04:00
ui Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
util Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
whois Migrate to internal FormattingLogger in preparation of migration to Flogger 2018-05-30 12:18:54 -04:00
xjc Move tests to use TestDataHelper for reading resources 2018-04-10 16:43:17 -04:00
xml Add basic AllocationToken validation/redemption for domain creates 2018-01-19 14:28:26 -05:00