google-nomulus/javatests/google/registry/flows
nickfelt f28104ad03 Restrict domain transfer periods to 1 year
It turns out that this ICANN policy appears to prohibit transfers with
registration extensions other than 1 year (section A.8):
https://www.icann.org/resources/pages/policy-2012-03-07-en

This is backed up by the practical fact that we've never seen a registrar
request a transfer for any period other than one year.

And removing the support for multi-year transfers vastly simplifies
transfer logic and eliminates a bunch of annoying corner cases.  Users
still can achieve the same thing by doing a 1-year transfer plus a
manual renewal afterwards for the remainder of the desired extension.

This change leaves in place lots of infrastructure to support multi-year
transfers that is now obsolete (e.g. TransferData.extendedRegistrationYears).
This should all be cleaned up, but it's a lower priority than fixing the
gap itself and insulating ourselves against needing to handle any real
multi-year transfer case.  Once this CL goes in, we can start ignoring
extendedRegistrationYears entirely because it'll always be 1 year, which
makes the cleanup process easier.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150212864
2017-03-21 15:11:07 -04:00
..
contact Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
custom Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
domain Restrict domain transfer periods to 1 year 2017-03-21 15:11:07 -04:00
host Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
poll Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
session Finish YAMLification of last necessary config values 2017-02-03 12:37:38 -05:00
testdata Restrict domain transfer periods to 1 year 2017-03-21 15:11:07 -04:00
BUILD Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
CheckApiActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppCommitLogsTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppConsoleActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppControllerTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLifecycleContactTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLifecycleDomainApplicationTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLifecycleDomainTest.java Restrict domain transfer periods to 1 year 2017-03-21 15:11:07 -04:00
EppLifecycleHostTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLoggedOutTest.java Finish YAMLification of last necessary config values 2017-02-03 12:37:38 -05:00
EppLoginAdminUserTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLoginTlsTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLoginUserTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppTestComponent.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppTlsActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppToolActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppXmlTransformerTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppXxeAttackTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ExtensionManagerTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FlowRunnerTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FlowTestCase.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
ResourceCheckFlowTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResourceFlowTestCase.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00