Add scrap tool to remove transfer data

We have wound up with a few domains with invalid transfer data; the transfer status is SERVER_CANCELLED, but the other data is missing. This tool should set the transfer data for the specified domain back to null in the database.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=140883792
This commit is contained in:
mountford 2016-12-02 13:00:15 -08:00 committed by Ben McIlwain
parent da711343f0
commit 7cf29366bc
2 changed files with 53 additions and 0 deletions

View file

@ -15,6 +15,7 @@
package google.registry.tools;
import com.google.common.collect.ImmutableMap;
import google.registry.tools.javascrap.RemoveDomainTransferDataCommand;
import google.registry.tools.javascrap.RemoveIpAddressCommand;
/** Container class to create and run remote commands against a datastore instance. */
@ -94,6 +95,7 @@ public final class RegistryTool {
.put("publish_detail_report", PublishDetailReportCommand.class)
.put("registrar_activity_report", RegistrarActivityReportCommand.class)
.put("registrar_contact", RegistrarContactCommand.class)
.put("remove_domain_transfer_data", RemoveDomainTransferDataCommand.class)
.put("remove_ip_address", RemoveIpAddressCommand.class)
.put("resave_entities", ResaveEntitiesCommand.class)
.put("resave_environment_entities", ResaveEnvironmentEntitiesCommand.class)