google-nomulus/javatests/google/registry/tools/server
mcilwain d536cef20f Make Registrar load methods return Optionals instead of Nullables
This makes the code more understandable from callsites, and also forces
users of this function to deal with the situation where the registrar
with a given client ID might not be present (it was previously silently
NPEing from some of the callsites).

This also adds a test helper method loadRegistrar(clientId) that retains
the old functionality for terseness in tests. It also fixes some instances
of using the load method with the wrong cachedness -- some uses in high-
traffic situations (WHOIS) that should have caching, but also low-traffic
reporting that don't benefit from caching so might as well always be
current.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=162990468
2017-08-01 16:58:59 -04:00
..
testdata Use History Entry type for flows in VerifyOteServlet 2017-08-01 16:24:55 -04:00
BUILD Add TLDs parameter to refresh DNS action 2017-07-10 11:23:57 -04:00
CreateGroupsActionTest.java Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:45:45 -04:00
CreatePremiumListActionTest.java Perform minor refactors on premium list code 2017-02-27 11:30:45 -05:00
DeleteEntityActionTest.java Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:45:45 -04:00
GenerateZoneFilesActionTest.java Filter domains w/disallowed statuses from zone file generation MR 2017-02-17 12:26:29 -05:00
KillAllCommitLogsActionTest.java Use Immutable types for static final fields 2017-03-07 13:43:43 -05:00
KillAllEppResourcesActionTest.java Use Immutable types for static final fields 2017-03-07 13:50:53 -05:00
ListActionTestCase.java Make ListObjectsAction return 200 when sending JSON error 2017-02-27 11:10:37 -05:00
ListDomainsActionTest.java Add assertTldsExist(Iterable<String>) to check multiple TLDs at once 2017-04-10 13:44:52 -04:00
ListHostsActionTest.java Make ListObjectsAction return 200 when sending JSON error 2017-02-27 11:10:37 -05:00
ListPremiumListsActionTest.java Read from bloom filter for premium pricing checks 2017-02-27 11:22:21 -05:00
ListRegistrarsActionTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
ListReservedListsActionTest.java Make ListObjectsAction return 200 when sending JSON error 2017-02-27 11:10:37 -05:00
ListTldsActionTest.java Make ListObjectsAction return 200 when sending JSON error 2017-02-27 11:10:37 -05:00
RefreshDnsForAllDomainsActionTest.java Add TLDs parameter to refresh DNS action 2017-07-10 11:23:57 -04:00
ResaveAllEppResourcesActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ToolsTestData.java Move EPP XML testdata to server/testdata 2017-07-12 11:03:50 -04:00
UpdatePremiumListActionTest.java Perform minor refactors on premium list code 2017-02-27 11:30:45 -05:00
VerifyOteActionTest.java Use History Entry type for flows in VerifyOteServlet 2017-08-01 16:24:55 -04:00