google-nomulus/javatests/google/registry/flows
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
..
async Move metrics dependencies to artifacts under Maven groupId com.google.monitoring-client 2018-01-04 17:12:35 -05:00
contact Re-add assertions that EppExceptions marshal correctly 2017-12-27 11:01:09 -05:00
custom Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
domain Add the ability to require premium fee acking for a registrar 2018-02-01 22:07:11 -05:00
host Re-add EppException marshalling assertions in host flow tests 2017-12-27 11:05:46 -05:00
poll Re-add assertions that EppExceptions marshal correctly 2017-12-27 11:01:09 -05:00
session Re-add assertions that EppExceptions marshal correctly 2017-12-27 11:01:09 -05:00
testdata Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
BUILD Add extensibility framework for allocation tokens 2018-02-01 21:54:29 -05:00
CheckApiActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
EppCommitLogsTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppConsoleActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
EppControllerTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
EppLifecycleContactTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppLifecycleDomainApplicationTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppLifecycleDomainTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppLifecycleHostTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppLifecycleLoginTest.java Add flow-level EPP metric tests 2017-05-03 10:51:12 -04:00
EppLoggedOutTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppLoginAdminUserTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLoginTlsTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppLoginUserTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppTestCase.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppTestComponent.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
EppTlsActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
EppToolActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
EppXmlTransformerTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
EppXxeAttackTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
ExtensionManagerTest.java Re-add assertions that EppExceptions marshal correctly 2017-12-27 11:01:09 -05:00
FlowReporterTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
FlowRunnerTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
FlowTestCase.java Add an EPP lifecycle test verifying that EAP fees are not refunded 2017-12-27 11:29:07 -05:00
ResourceCheckFlowTestCase.java Add base AllocationToken validation logic for domain checks 2018-01-19 14:32:48 -05:00
ResourceFlowTestCase.java Make EppInput.getSingleExtension() return Optional, not @Nullable 2018-01-19 14:40:10 -05:00
TlsCredentialsTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00