google-nomulus/java/google/registry/rde
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
..
imports Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
BrdaCopyAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
BUILD Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
ContactResourceToXjcConverter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DepositFragment.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
DomainResourceToXjcConverter.java Remove obsolete TransferData.extendedRegistrationYears 2017-03-21 15:35:00 -04:00
EscrowTaskRunner.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
Ghostryde.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HostResourceToXjcConverter.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
JSchModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JSchSftpChannel.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JSchSshSession.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
PendingDeposit.java Allow RdeStagingAction to be invoked manually 2017-04-10 13:47:51 -04:00
PendingDepositChecker.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
RdeAdapter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeCounter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeMarshaller.java Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
RdeModule.java Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
RdeReportAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
RdeReporter.java Remove an unused exception 2017-02-02 17:04:06 -05:00
RdeResourceType.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeStagingAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
RdeStagingMapper.java Cache Registrars in memory 2017-05-17 12:26:11 -04:00
RdeStagingReducer.java Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
RdeUploadAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
RdeUploadUrl.java Use Immutable types for static final fields 2017-03-07 13:50:53 -05:00
RdeUtil.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistrarToXjcConverter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpCompressionOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpEncryptionOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpFileOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpSigningOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydeTarOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00