From 4f91d037041605de980ce4135b7754bf59695ac4 Mon Sep 17 00:00:00 2001 From: mmuller Date: Thu, 16 Jun 2016 09:33:53 -0700 Subject: [PATCH] Add a flag to registry_tool for EAP Add a flag to CreateTldCommand to allow us to set the EAP fee schedule for the registry. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125068579 --- .../tools/CreateOrUpdateTldCommand.java | 13 ++++++++ .../registry/tools/CreateTldCommand.java | 6 ++-- .../registry/tools/CreateTldCommandTest.java | 32 +++++++++++++++++++ 3 files changed, 48 insertions(+), 3 deletions(-) diff --git a/java/google/registry/tools/CreateOrUpdateTldCommand.java b/java/google/registry/tools/CreateOrUpdateTldCommand.java index cfcabdc43..aa7484d85 100644 --- a/java/google/registry/tools/CreateOrUpdateTldCommand.java +++ b/java/google/registry/tools/CreateOrUpdateTldCommand.java @@ -171,6 +171,15 @@ abstract class CreateOrUpdateTldCommand extends MutatingCommand { ImmutableSortedMap renewBillingCostTransitions = ImmutableSortedMap.of(); + @Parameter( + names = "--eap_fee_schedule", + converter = BillingCostTransitions.class, + validateWith = BillingCostTransitions.class, + description = "Comma-delimited list of EAP fees effective on specific dates, of the form " + + "