google-nomulus/javatests/google/registry/flows
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
..
async Add metrics for async batch operation processing 2017-06-05 18:17:09 -04:00
contact Notify registrars of async contact/host deletions 2017-04-26 10:33:55 -04:00
custom Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
domain Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
host Add metrics for async batch operation processing 2017-06-05 18:17:09 -04:00
poll Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
session Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
testdata Add more EPP metric lifecycle tests 2017-05-03 10:58:51 -04:00
BUILD Add metrics for async batch operation processing 2017-06-05 18:17:09 -04:00
CheckApiActionTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
EppCommitLogsTest.java Un-Ignore a test in DomainApplicationCreateFlowTest 2017-05-03 10:44:56 -04:00
EppConsoleActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppControllerTest.java Log EppExceptions in EppController at INFO (vs FlowRunner at WARNING) 2017-05-03 11:04:51 -04:00
EppLifecycleContactTest.java Add more EPP metric lifecycle tests 2017-05-03 10:58:51 -04:00
EppLifecycleDomainApplicationTest.java Add more EPP metric lifecycle tests 2017-05-03 10:58:51 -04:00
EppLifecycleDomainTest.java Add more EPP metric lifecycle tests 2017-05-03 10:58:51 -04:00
EppLifecycleHostTest.java Add more EPP metric lifecycle tests 2017-05-03 10:58:51 -04:00
EppLifecycleLoginTest.java Add flow-level EPP metric tests 2017-05-03 10:51:12 -04:00
EppLoggedOutTest.java Finish YAMLification of last necessary config values 2017-02-03 12:37:38 -05:00
EppLoginAdminUserTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLoginTlsTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
EppLoginUserTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
EppTestCase.java Un-Ignore a test in DomainApplicationCreateFlowTest 2017-05-03 10:44:56 -04:00
EppTestComponent.java Un-Ignore a test in DomainApplicationCreateFlowTest 2017-05-03 10:44:56 -04:00
EppTlsActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppToolActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppXmlTransformerTest.java Add and adjust EppInput accessors for more useful properties 2017-04-26 10:51:47 -04:00
EppXxeAttackTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ExtensionManagerTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FlowReporterTest.java Log EppExceptions in EppController at INFO (vs FlowRunner at WARNING) 2017-05-03 11:04:51 -04:00
FlowRunnerTest.java Log EppExceptions in EppController at INFO (vs FlowRunner at WARNING) 2017-05-03 11:04:51 -04:00
FlowTestCase.java Remove all vestiges of memcache 2017-06-14 10:28:24 -04:00
ResourceCheckFlowTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResourceFlowTestCase.java Remove all vestiges of memcache 2017-06-14 10:28:24 -04:00