Delete end-date sunrise, landrush, and sunrush phases

This also deletes the associated commands and domain application specific
entities.

We haven't used any of these TLD phases since early 2015 and have no
intent to do so in the future, so it makes sense to delete them now so we
don't have to carry them through the Registry 3.0 migration.

Note that, while there are data model changes, there should be no required
data migrations. The fields and entities being removed will simply remain
as orphans. I confirmed that the removed types (such as the SUNRUSH_ADD
GracePeriodType) are no longer used in production data, and left types
that are still used, e.g. BillingEvent.Flag.LANDRUSH or
HistoryEntry.Type.ALLOCATE.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=228752843
This commit is contained in:
mcilwain 2019-01-10 12:09:14 -08:00 committed by Ben McIlwain
parent c74ffd7559
commit 580302898d
282 changed files with 344 additions and 17634 deletions

View file

@ -22,7 +22,6 @@ import google.registry.flows.SessionMetadata;
import google.registry.flows.domain.DomainPricingLogic;
import google.registry.flows.domain.FeesAndCredits;
import google.registry.model.ImmutableObject;
import google.registry.model.domain.DomainApplication;
import google.registry.model.eppinput.EppInput;
import google.registry.model.registry.Registry;
import org.joda.time.DateTime;
@ -39,13 +38,6 @@ public class DomainPricingCustomLogic extends BaseFlowCustomLogic {
super(eppInput, sessionMetadata, flowMetadata);
}
/** A hook that customizes the application update price. */
@SuppressWarnings("unused")
public FeesAndCredits customizeApplicationUpdatePrice(
ApplicationUpdatePriceParameters priceParameters) throws EppException {
return priceParameters.feesAndCredits();
}
/** A hook that customizes the create price. */
@SuppressWarnings("unused")
public FeesAndCredits customizeCreatePrice(CreatePriceParameters priceParameters)
@ -81,38 +73,6 @@ public class DomainPricingCustomLogic extends BaseFlowCustomLogic {
return priceParameters.feesAndCredits();
}
/** A class to encapsulate parameters for a call to {@link #customizeApplicationUpdatePrice} . */
@AutoValue
public abstract static class ApplicationUpdatePriceParameters extends ImmutableObject {
public abstract FeesAndCredits feesAndCredits();
public abstract Registry registry();
public abstract DomainApplication domainApplication();
public abstract DateTime asOfDate();
public static Builder newBuilder() {
return new AutoValue_DomainPricingCustomLogic_ApplicationUpdatePriceParameters.Builder();
}
/** Builder for {@link ApplicationUpdatePriceParameters}. */
@AutoValue.Builder
public abstract static class Builder {
public abstract Builder setFeesAndCredits(FeesAndCredits feesAndCredits);
public abstract Builder setRegistry(Registry registry);
public abstract Builder setDomainApplication(DomainApplication domainApplication);
public abstract Builder setAsOfDate(DateTime asOfDate);
public abstract ApplicationUpdatePriceParameters build();
}
}
/** A class to encapsulate parameters for a call to {@link #customizeCreatePrice} . */
@AutoValue
public abstract static class CreatePriceParameters extends ImmutableObject {