google-nomulus/java/google/registry/tools
mcilwain 98a61b8181 Add the ability to require premium fee acking for a registrar
When enabled for a registrar, all EPP operations on premium domains that have
costs (e.g.  creates, renews, transfers) will fail unless the EPP fee extension
is used to explicitly ack the amount of fee as part of the EPP transaction.

This ack is required regardless of whether premium fee acking is required at
the registry level. No data migration is necessary since false is the desired
default for this new attribute.

This CL also contains some slight refactoring of static utility methods used to
perform fee verification; there was short-circuiting at call-sites in two
places when what was really needed was two methods, one implementing additional
functionality on top of the other, and calling the inner method in the places
where short-circuiting had previously been necessary.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=184229363
2018-02-01 22:07:11 -05:00
..
javascrap Remove unnecessary explicit generic type declarations 2017-11-07 17:11:29 -05:00
params Clean up some code quality issues 2017-12-01 22:14:06 -05:00
resources Add documentation about OAuth2 client id configuration 2017-07-12 11:03:50 -04:00
server Rationalize logging statements across codebase 2018-01-19 14:56:45 -05:00
soy Change all foreach loops in Soy templates to use the for loop syntax 2018-01-23 16:16:53 -05:00
sql Add type to RegistrarData billing BigQuery view 2017-05-17 12:00:09 -04:00
AllocateDomainCommand.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
AppEngineConnection.java Refactor Guava functional methods to use lambdas 2017-12-01 22:14:05 -05:00
AppEngineConnectionFlags.java Add Client-side OAuth2 to HTTP connections 2017-02-17 12:17:53 -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 Add //third_party/java/jaxb dependency to targets using javax.xml.bind 2018-01-23 16:18:35 -05: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 Clean up some code quality issues 2017-12-01 22:14:06 -05:00
CommandUtilities.java Fix CommandUtilities to fail gracefully if stdin is unavailable 2017-02-06 16:45:23 -05:00
ComparableEntity.java Implement ComparableEntity class 2017-09-12 15:51:50 -04:00
CompareDbBackups.java Implement compare_db_backups "main" 2017-09-20 10:27:17 -04: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 Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
CreateCdnsTld.java Turn on DNSSEC for new Cloud DNS TLDs 2017-12-27 10:48:42 -05:00
CreateContactCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateCreditBalanceCommand.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
CreateCreditCommand.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
CreateDomainCommand.java Refactor CreateDomainCommand and add UpdateDomainCommand 2017-07-10 11:22:39 -04:00
CreateHostCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateLrpTokensCommand.java Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -05:00
CreateOrUpdateDomainCommand.java Refactor CreateDomainCommand and add UpdateDomainCommand 2017-07-10 11:22:39 -04:00
CreateOrUpdatePremiumListCommand.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
CreateOrUpdateRegistrarCommand.java Add the ability to require premium fee acking for a registrar 2018-02-01 22:07:11 -05:00
CreateOrUpdateReservedListCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateOrUpdateTldCommand.java Add nomulus tool setter for sunrush add grace period on TLDs 2017-12-13 12:43:45 -05:00
CreatePremiumListCommand.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
CreateRegistrarCommand.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
CreateRegistrarGroupsCommand.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
CreateReservedListCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
CreateTldCommand.java Remove unnecessary generic type arguments 2017-11-21 18:17:31 -05:00
DefaultRequestFactoryModule.java Refactor Guava functional methods to use lambdas 2017-12-01 22:14:05 -05:00
DeleteCreditCommand.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04: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
DeployInvoicingPipelineCommand.java Add Dataflow path to generate overall monthly invoice 2017-12-13 12:43:45 -05: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 Migrate Guava Predicates.notNull to Objects.nonNull 2017-12-27 11:19:53 -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
GenerateAllocationTokensCommand.java Create GenerateAllocationTokens nomulus tool command 2018-01-19 14:26:56 -05:00
GenerateApplicationsReportCommand.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
GenerateAuctionDataCommand.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
GenerateDnsReportCommand.java Refactor Guava functional methods to use lambdas 2017-12-01 22:14:05 -05:00
GenerateEscrowDepositCommand.java Fix parameter problem in GenerateEscrowDepositCommand 2017-05-23 17:22:49 -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 Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -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 Fix NPE in GetHistoryEntriesCommand 2017-10-24 16:53:47 -04:00
GetHostCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetKeyringSecretCommand.java Add the ability to get_keyring_secret the public key from key pairs 2017-08-01 16:49:29 -04:00
GetLrpTokenCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetRegistrarCommand.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
GetResourceByKeyCommand.java Add command description to get_resource_by_key command 2017-03-13 10:41:15 -04:00
GetRoutingMapCommand.java Add golden files for request component routing maps 2017-06-05 18:17:09 -04:00
GetSchemaCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetSchemaTreeCommand.java Remove unnecessary generic type arguments 2017-11-21 18:17:31 -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
LevelDbLogReader.java Create a LevelDBLogReader class for java 2017-08-29 16:25:33 -04:00
ListCreditsCommand.java Refactor Guava functional methods to use lambdas 2017-12-01 22:14:05 -05:00
ListCursorsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListDomainsCommand.java Remove unnecessary generic type arguments 2017-11-21 18:17:31 -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 Migrate Guava Predicates.notNull to Objects.nonNull 2017-12-27 11:19:53 -05:00
LoadTestCommand.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
LockDomainCommand.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
LockOrUnlockDomainCommand.java Add domain_lock nomulus command 2017-11-21 18:54:42 -05: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 Rationalize logging statements across codebase 2018-01-19 14:56:45 -05:00
MakeBillingTablesCommand.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
MutatingCommand.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -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 Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
PublishDetailReportCommand.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
RecordAccumulator.java Create an entity record accumulator 2017-09-12 15:51:50 -04:00
RegistrarActivityReportCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistrarContactCommand.java Remove unnecessary Boolean boxing/unboxing 2017-11-07 17:08:35 -05:00
RegistryCli.java Remove unnecessary return in void function 2017-11-07 16:58:26 -05:00
RegistryTool.java Create GenerateAllocationTokens nomulus tool command 2018-01-19 14:26:56 -05:00
RegistryToolComponent.java Create GenerateAllocationTokens nomulus tool command 2018-01-19 14:26:56 -05:00
RegistryToolEnvironment.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
RegistryToolModule.java Create GenerateAllocationTokens nomulus tool command 2018-01-19 14:26:56 -05:00
ResaveEntitiesCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
ResaveEnvironmentEntitiesCommand.java Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -05:00
ResaveEppResourceCommand.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
RestoreCommitLogsCommand.java Create nomulus tool restore command 2017-06-05 18:17:09 -04: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 Remove unnecessary generic type arguments 2017-11-21 18:17:31 -05:00
UniformRapidSuspensionCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UnlockDomainCommand.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
UpdateApplicationStatusCommand.java Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -05:00
UpdateClaimsNoticeCommand.java Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -05:00
UpdateCursorsCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateDomainCommand.java Add domain_lock nomulus command 2017-11-21 18:54:42 -05:00
UpdateKmsKeyringCommand.java Add the ability to get_keyring_secret the public key from key pairs 2017-08-01 16:49:29 -04:00
UpdatePremiumListCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateRegistrarCommand.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
UpdateReservedListCommand.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
UpdateServerLocksCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateSmdCommand.java Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -05:00
UpdateTldCommand.java Remove unnecessary generic type arguments 2017-11-21 18:17:31 -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 Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
ValidateLoginCredentialsCommand.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
VerifyOteCommand.java Migrate Guava Predicates.notNull to Objects.nonNull 2017-12-27 11:19:53 -05:00
WhoisQueryCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00