google-nomulus/java/google/registry
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
..
backup Add sanity check on commit log deletion 2017-08-01 16:46:50 -04:00
batch Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
bigquery Change BigQuery call from update to patch 2017-02-06 16:45:23 -05:00
braintree Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
builddefs Add build rules for "nocron" deployments 2017-04-26 10:53:16 -04:00
config Fix checkApiServletClientId placeholder in production config sample 2017-08-01 16:48:09 -04:00
cron Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
dns Remove deprecated singular DNS writer field and update tooling 2017-08-01 16:50:49 -04:00
eclipse Add Cloud KMS as dependency of eclipse package 2017-03-21 15:17:04 -04:00
env Create ICANN report upload action 2017-07-10 11:27:58 -04:00
export Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
flows Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
gcs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
groups Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
idn Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
keyring Set KmsKeyring as the default Keyring 2017-07-10 11:40:02 -04:00
loadtest Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
mapreduce Add MapReduce Input for CommitLogManifest 2017-07-10 11:13:23 -04:00
model Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
module Set KmsKeyring as the default Keyring 2017-07-10 11:40:02 -04:00
monitoring Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
pricing Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
rdap Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
rde Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
reporting Upgrade activity reporting queries to StandardSQL 2017-08-01 16:56:12 -04:00
request Make dry run parameter documentation more understandable 2017-08-01 16:42:42 -04:00
security Remove XsrfTokenManager fallback for validating legacy tokens 2017-03-21 15:36:31 -04:00
storage/drive Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
tldconfig/idn Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
tmch Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
tools Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
ui Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
util Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
whois Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
xjc Fix the build on MacOS 2017-07-12 11:03:50 -04:00
xml Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
BUILD Document procedural changes to restore 2017-05-03 10:43:25 -04:00
repositories.bzl Migrate TestVerb.withFailureMessage to use withMessage instead 2017-08-01 16:30:24 -04:00