google-nomulus/java/google/registry/tools
cgoldfeder c9d7e75946 Cache Registrars in memory
This replaces the memcache caching, which we think is overall a bad idea.
We load all registrars at once instead of caching each as needed, so that
the loadAllCached() methods can be cached as well, and therefore will
always produce results consistent with loadByClientIdCached()'s view of the
registrar's values. All of our prod registrars together total 300k of data
right now, so this is hardly worth optimizing further, and in any case this
will likely reduce latency even further since most requests will be
served out of memory.

While I was in the Registrar file I standardized the error messages for incorrect
password and clientId length to be the same format, and cleaned up a few
random things I noticed in the code.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=156151828
2017-05-17 12:26:11 -04:00
..
javascrap Add scrap tool for populating required registrar fields 2017-05-17 12:01:49 -04:00
params Require that DNS writer be set on Registry entities 2017-05-03 10:38:49 -04:00
resources Add Client-side OAuth2 to HTTP connections 2017-02-17 12:17:53 -05:00
server Add assertTldsExist(Iterable<String>) to check multiple TLDs at once 2017-04-10 13:44:52 -04:00
soy Add delete_host nomulus tool command 2017-05-03 11:08:02 -04:00
sql Add type to RegistrarData billing BigQuery view 2017-05-17 12:00:09 -04:00
AllocateDomainCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
AppEngineConnection.java Cut over to generating new HMAC-based XSRF tokens 2017-03-13 11:22:56 -04:00
AppEngineConnectionFlags.java Add Client-side OAuth2 to HTTP connections 2017-02-17 12:17:53 -05:00
AuctionStatusCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
AuthModule.java Make "throws" clause use IOException 2017-05-17 12:17:40 -04:00
BigqueryCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BigqueryCommandUtilities.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BigqueryParameters.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BUILD Replace KeystoreKeyring with KmsKeystore comparison 2017-04-13 10:58:57 -04:00
CanonicalizeLabelsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CheckSnapshotCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
Command.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CommandUtilities.java Fix CommandUtilities to fail gracefully if stdin is unavailable 2017-02-06 16:45:23 -05:00
ConfirmingCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ConvertIdnCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateAnchorTenantCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateAuctionCreditsCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
CreateContactCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateCreditBalanceCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateCreditCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateDomainCommand.java Allow multiple domain creation in nomulus tool 2017-05-17 12:08:10 -04:00
CreateHostCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateLrpTokensCommand.java Add assertTldsExist(Iterable<String>) to check multiple TLDs at once 2017-04-10 13:44:52 -04:00
CreateOrUpdatePremiumListCommand.java Read from bloom filter for premium pricing checks 2017-02-27 11:22:21 -05:00
CreateOrUpdateRegistrarCommand.java Require currency specific billingAccountId for registrar 2017-05-17 12:09:46 -04:00
CreateOrUpdateReservedListCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateOrUpdateTldCommand.java Require that DNS writer be set on Registry entities 2017-05-03 10:38:49 -04:00
CreatePremiumListCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateRegistrarCommand.java Make name and address fields required on Registrar 2017-05-17 11:44:46 -04:00
CreateRegistrarGroupsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateReservedListCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
CreateTldCommand.java Require that DNS writer be set on Registry entities 2017-05-03 10:38:49 -04:00
DefaultRequestFactoryModule.java Implement login/logout commands 2017-03-07 13:45:11 -05:00
DeleteCreditCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DeleteDomainCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DeleteEntityCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DeleteHostCommand.java Add delete_host nomulus tool command 2017-05-03 11:08:02 -04:00
DeletePremiumListCommand.java Move premium list static helper methods into their own class 2017-02-27 11:30:45 -05:00
DeleteReservedListCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DeleteTldCommand.java Add nomulus tool command to delete a TLD 2017-04-05 10:10:38 -04:00
DomainApplicationInfoCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainCheckClaimsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainCheckCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainCheckFeeCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EncryptEscrowDepositCommand.java Make EncryptEscrowDepositCommand a RemoteApiCommand 2017-05-17 11:58:35 -04:00
EppToolCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EscrowDepositEncryptor.java Replace KeystoreKeyring with KmsKeystore comparison 2017-04-13 10:58:57 -04:00
ExecuteEppCommand.java Fix two Gauava 20 deprecations across the tools package 2017-02-02 16:54:28 -05:00
GenerateApplicationsReportCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GenerateAuctionDataCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GenerateDnsReportCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GenerateEscrowDepositCommand.java Change GenerateEscrowDepositCommand to trigger back end deposit generation 2017-04-13 10:57:24 -04:00
GenerateLordnCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GenerateZoneFilesCommand.java Add assertTldsExist(Iterable<String>) to check multiple TLDs at once 2017-04-10 13:44:52 -04:00
GetApplicationCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetApplicationIdsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetAppliedLabelsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetClaimsListCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
GetContactCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetDomainCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetEppResourceCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetHistoryEntriesCommand.java Throw error in get_history_entries if the specified ID is invalid 2017-05-03 10:57:20 -04:00
GetHostCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetKeyringSecretCommand.java Add UpdateKmsKeyringCommand to update keys in the KMS Keyring 2017-04-10 13:26:43 -04:00
GetLrpTokenCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetRegistrarCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetResourceByKeyCommand.java Add command description to get_resource_by_key command 2017-03-13 10:41:15 -04:00
GetSchemaCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetSchemaTreeCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetTldCommand.java Add assertTldsExist(Iterable<String>) to check multiple TLDs at once 2017-04-10 13:44:52 -04:00
GhostrydeCommand.java Replace KeystoreKeyring with KmsKeystore comparison 2017-04-13 10:58:57 -04:00
HashCertificateCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HelpCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Injector.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListCreditsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListCursorsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListDomainsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListHostsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListObjectsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListPremiumListsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListRegistrarsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListReservedListsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListTldsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
LoadSnapshotCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
LoadTestCommand.java Add a "loadtest" command to nomulus tool 2017-03-27 13:16:35 -04:00
logging.properties mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
LoggingParameters.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
LoginCommand.java Fix nomulus tool NPEs on login/logout commands when printing usage 2017-03-13 10:35:23 -04:00
LogoutCommand.java Remove unused injected ClientScopeQualifier 2017-04-10 13:25:11 -04:00
MakeBillingTablesCommand.java Add Registrar Account Data view in BigQuery snapshot 2017-04-05 10:06:04 -04:00
MutatingCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
MutatingEppToolCommand.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
PendingEscrowCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
PublishDetailReportCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistrarActivityReportCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistrarContactCommand.java Better handle syncing contacts when creating RegistrarContacts 2017-03-13 11:22:55 -04:00
RegistryCli.java Refactor command running around auth exceptions 2017-03-07 13:59:40 -05:00
RegistryTool.java Add scrap tool for populating required registrar fields 2017-05-17 12:01:49 -04:00
RegistryToolComponent.java Replace KeystoreKeyring with KmsKeystore comparison 2017-04-13 10:58:57 -04:00
RegistryToolEnvironment.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistryToolModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResaveEntitiesCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
ResaveEnvironmentEntitiesCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResaveEppResourceCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
SendEscrowReportToIcannCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ServerSideCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
SetupOteCommand.java Require that DNS writer be set on Registry entities 2017-05-03 10:38:49 -04:00
UniformRapidSuspensionCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateApplicationStatusCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
UpdateClaimsNoticeCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
UpdateCursorsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateKmsKeyringCommand.java Add UpdateKmsKeyringCommand to update keys in the KMS Keyring 2017-04-10 13:26:43 -04:00
UpdatePremiumListCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateRegistrarCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateReservedListCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
UpdateServerLocksCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateSmdCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
UpdateTldCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UploadClaimsListCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UserIdProvider.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ValidateEscrowDepositCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ValidateLoginCredentialsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
VerifyOteCommand.java Cache Registrars in memory 2017-05-17 12:26:11 -04:00
WhoisQueryCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00