Rename 'registry_tool' to 'nomulus'

This changes everything with external visibility beyond the codebase
(i.e. the name of the compiled binary and the documentation that refers
to it). It does not change a lot of things internal to the codebase,
i.e. the "RegistryTool" class didn't change its name. We can rename that
in a subsequent CL if we want to.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135022087
This commit is contained in:
mcilwain 2016-10-03 13:56:38 -07:00 committed by Ben McIlwain
parent 0d122acec2
commit 3b02d77ceb
21 changed files with 62 additions and 57 deletions

View file

@ -111,7 +111,7 @@ public interface RegistryConfig {
/**
* Returns the address of the Domain Registry app HTTP server.
*
* <p>This is used by {@code registry_tool} to connect to the App Engine remote API.
* <p>This is used by the {@code nomulus} tool to connect to the App Engine remote API.
*/
public HostAndPort getServer();

View file

@ -68,7 +68,7 @@ import org.joda.time.Duration;
* <p>Once a deposit is successfully generated, an {@link RdeUploadAction} is enqueued which will
* upload it via SFTP to the third-party escrow provider.
*
* <p>To generate escrow deposits manually and locally, use the {@code registry_tool} command
* <p>To generate escrow deposits manually and locally, use the {@code nomulus} tool command
* {@code GenerateEscrowDepositCommand}.
*
* <h3>Logging</h3>
@ -93,7 +93,7 @@ import org.joda.time.Duration;
* validation and reference checking.
*
* <p>This job does not perform reference checking. Administrators can do this locally with the
* {@code ValidateEscrowDepositCommand} command in {@code registry_tool}.
* {@code ValidateEscrowDepositCommand} command in the {@code nomulus} tool.
*
* <h3>Cursors</h3>
*
@ -109,7 +109,7 @@ import org.joda.time.Duration;
* <h3>Security</h3>
*
* <p>The deposit and report are encrypted using {@link Ghostryde}. Administrators can use the
* {@code GhostrydeCommand} command in {@code registry_tool} to view them.
* {@code GhostrydeCommand} command in the {@code nomulus} tool to view them.
*
* <p>Unencrypted XML fragments are stored temporarily between the map and reduce steps. The
* ghostryde encryption on the full archived deposits makes life a little more difficult for an

View file

@ -86,7 +86,7 @@ java_library(
)
java_binary(
name = "registry_tool",
name = "nomulus",
create_executable = 1,
main_class = "google.registry.tools.RegistryTool",
runtime_deps = [

View file

@ -35,7 +35,7 @@ import org.joda.time.DateTime;
@Parameters(separators = " =", commandDescription = "Soft-delete EPP resources.")
final class DeleteEppResourceCommand extends MutatingCommand {
private static final String DEFAULT_DELETION_REASON = "Deleted using registry_tool.";
private static final String DEFAULT_DELETION_REASON = "Deleted using nomulus tool.";
@Parameter(
description = "List of EppResource ROIDs to soft-delete.",

View file

@ -85,7 +85,7 @@ final class RegistryCli {
} else {
jcommander.usage(jcommander.getParsedCommand());
}
// Don't rethrow if we said: registry_tool command --help
// Don't rethrow if we said: nomulus command --help
if ("Unknown option: --help".equals(e.getMessage())) {
return;
}

View file

@ -120,6 +120,6 @@ public final class RegistryTool {
public static void main(String[] args) throws Exception {
RegistryToolEnvironment.parseFromArgs(args).setup();
new RegistryCli().run("registry_tool", args, COMMAND_MAP);
new RegistryCli().run("nomulus", args, COMMAND_MAP);
}
}

View file

@ -181,7 +181,7 @@ final class UniformRapidSuspensionCommand extends MutatingEppToolCommand {
return "";
}
StringBuilder undoBuilder = new StringBuilder("UNDO COMMAND:\n\n)")
.append("registry_tool -e ")
.append("nomulus -e ")
.append(RegistryToolEnvironment.get())
.append(" uniform_rapid_suspension --undo --domain_name ")
.append(domainName);

View file

@ -27,7 +27,8 @@ import java.util.List;
import javax.inject.Inject;
/**
* An action that creates a premium list, for use by the registry_tool create_premium_list command.
* An action that creates a premium list, for use by the {@code nomulus create_premium_list}
* command.
*/
@Action(path = CreatePremiumListAction.PATH, method = POST)
public class CreatePremiumListAction extends CreateOrUpdatePremiumListAction {

View file

@ -28,7 +28,7 @@ import google.registry.util.Clock;
import java.util.Comparator;
import javax.inject.Inject;
/** An action that lists domains, for use by the registry_tool list_domains command. */
/** An action that lists domains, for use by the {@code nomulus list_domains} command. */
@Action(path = ListDomainsAction.PATH, method = {GET, POST})
public final class ListDomainsAction extends ListObjectsAction<DomainResource> {

View file

@ -29,7 +29,7 @@ import java.util.Comparator;
import javax.inject.Inject;
import org.joda.time.DateTime;
/** An action that lists hosts, for use by the registry_tool list_hosts command. */
/** An action that lists hosts, for use by the {@code nomulus list_hosts} command. */
@Action(path = ListHostsAction.PATH, method = {GET, POST})
public final class ListHostsAction extends ListObjectsAction<HostResource> {

View file

@ -24,8 +24,13 @@ import google.registry.model.registry.label.PremiumList;
import google.registry.request.Action;
import javax.inject.Inject;
/** An action that lists premium lists, for use by the registry_tool list_premium_lists command. */
@Action(path = ListPremiumListsAction.PATH, method = {GET, POST})
/**
* An action that lists premium lists, for use by the {@code nomulus list_premium_lists} command.
*/
@Action(
path = ListPremiumListsAction.PATH,
method = {GET, POST}
)
public final class ListPremiumListsAction extends ListObjectsAction<PremiumList> {
public static final String PATH = "/_dr/admin/list/premiumLists";

View file

@ -24,7 +24,7 @@ import google.registry.model.registrar.Registrar;
import google.registry.request.Action;
import javax.inject.Inject;
/** An action that lists registrars, for use by the registry_tool list_registrars command. */
/** An action that lists registrars, for use by the {@code nomulus list_registrars} command. */
@Action(path = ListRegistrarsAction.PATH, method = {GET, POST})
public final class ListRegistrarsAction extends ListObjectsAction<Registrar> {

View file

@ -24,7 +24,7 @@ import google.registry.model.registry.label.ReservedList;
import google.registry.request.Action;
import javax.inject.Inject;
/** A that lists reserved lists, for use by the registry_tool list_reserved_lists command. */
/** A that lists reserved lists, for use by the {@code nomulus list_reserved_lists} command. */
@Action(path = ListReservedListsAction.PATH, method = {GET, POST})
public final class ListReservedListsAction extends ListObjectsAction<ReservedList> {

View file

@ -29,7 +29,7 @@ import google.registry.util.Clock;
import javax.inject.Inject;
import org.joda.time.DateTime;
/** An action that lists top-level domains, for use by the registry_tool list_tlds command. */
/** An action that lists top-level domains, for use by the {@code nomulus list_tlds} command. */
@Action(path = ListTldsAction.PATH, method = {GET, POST})
public final class ListTldsAction extends ListObjectsAction<Registry> {

View file

@ -26,7 +26,8 @@ import java.util.List;
import javax.inject.Inject;
/**
* An action that creates a premium list, for use by the registry_tool create_premium_list command.
* An action that creates a premium list, for use by the {@code nomulus create_premium_list}
* command.
*/
@Action(path = UpdatePremiumListAction.PATH, method = POST)
public class UpdatePremiumListAction extends CreateOrUpdatePremiumListAction {