google-nomulus/java/google/registry/flows/domain
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
..
ClaimsCheckFlow.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainAllocateFlow.java Return all applicable reserved list entries associated with a label 2017-03-13 11:22:56 -04:00
DomainApplicationCreateFlow.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
DomainApplicationDeleteFlow.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainApplicationInfoFlow.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainApplicationUpdateFlow.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainCheckFlow.java Return all applicable reserved list entries associated with a label 2017-03-13 11:22:56 -04:00
DomainCreateFlow.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
DomainDeleteFlow.java Add test and commentary for "phantom autorenew" in pendingDelete 2017-03-07 13:37:40 -05:00
DomainFlowTmchUtils.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainFlowUtils.java Return all applicable reserved list entries associated with a label 2017-03-13 11:22:56 -04:00
DomainInfoFlow.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainPricingLogic.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainRenewFlow.java Add period restriction to domain flows 2017-02-14 12:14:04 -05:00
DomainRestoreRequestFlow.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainTransferApproveFlow.java Fix DomainTransferRequestFlow to correctly cancel autorenew graces 2017-03-07 13:39:15 -05:00
DomainTransferCancelFlow.java Refactor common domain transfer logic into a utility class 2017-02-08 17:42:51 -05:00
DomainTransferQueryFlow.java Refactor common domain transfer logic into a utility class 2017-02-08 17:42:51 -05:00
DomainTransferRejectFlow.java Refactor common domain transfer logic into a utility class 2017-02-08 17:42:51 -05:00
DomainTransferRequestFlow.java Restrict domain transfer periods to 1 year 2017-03-21 15:11:07 -04:00
DomainTransferUtils.java Fix DomainTransferRequestFlow to correctly cancel autorenew graces 2017-03-07 13:39:15 -05:00
DomainUpdateFlow.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FeesAndCredits.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00