google-nomulus/javatests/google/registry/model
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
..
billing Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
common Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
contact Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
domain Add basic AllocationToken validation/redemption for domain creates 2018-01-19 14:28:26 -05:00
eppinput Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
eppoutput Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
host Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
index Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
mark Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
ofy Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
poll Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
rde Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
registrar Add the ability to require premium fee acking for a registrar 2018-02-01 22:07:11 -05:00
registry Move metrics dependencies to artifacts under Maven groupId com.google.monitoring-client 2018-01-04 17:12:35 -05:00
reporting Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
server Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
smd Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
tmch Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
transfer Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
translators Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
BUILD Add dependencies on classes that are not in the default modules in JDK 9 2018-02-01 22:00:49 -05:00
CreateAutoTimestampTest.java Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -05:00
EntityClassesTest.java Replace assertThat(stream.collect(toImmutableList())) with assertThat(stream) 2017-12-27 11:32:45 -05:00
EntityTestCase.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
EppResourceUtilsTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
ImmutableObjectTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
ModelUtilsTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
ResourceCommandTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
schema.txt Add the ability to require premium fee acking for a registrar 2018-02-01 22:07:11 -05:00
SchemaVersionTest.java Add golden files for request component routing maps 2017-06-05 18:17:09 -04:00
UpdateAutoTimestampTest.java Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -05:00