Change all references to Domain Registry to Nomulus

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136068582
This commit is contained in:
jianglai 2016-10-13 12:00:05 -07:00 committed by Ben McIlwain
parent 9695024f1b
commit 71d7a382f3
30 changed files with 38 additions and 38 deletions

View file

@ -1,4 +1,4 @@
# This the official list of Domain Registry authors for copyright purposes. # This the official list of Nomulus authors for copyright purposes.
# This file is distinct from the CONTRIBUTORS files. # This file is distinct from the CONTRIBUTORS files.
# See the latter for an explanation. # See the latter for an explanation.

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Common routines for Domain Registry build rules.""" """Common routines for Nomulus build rules."""
ZIPPER = "@bazel_tools//tools/zip:zipper" ZIPPER = "@bazel_tools//tools/zip:zipper"

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Build macro for creating App Engine EAR archives for Domain Registry.""" """Build macro for creating App Engine EAR archives for Nomulus."""
load("//java/google/registry/builddefs:defs.bzl", "ZIPPER") load("//java/google/registry/builddefs:defs.bzl", "ZIPPER")

View file

@ -30,13 +30,13 @@ import org.joda.time.DateTimeConstants;
import org.joda.time.Duration; import org.joda.time.Duration;
/** /**
* Configuration example for the Domain Registry codebase. * Configuration example for the Nomulus codebase.
* *
* <p>The Domain Registry codebase contains many classes that inject configurable settings. This is * <p>The Nomulus codebase contains many classes that inject configurable settings. This is
* the centralized class that is used by default to configure them all, in hard-coded type-safe * the centralized class that is used by default to configure them all, in hard-coded type-safe
* Java code. * Java code.
* *
* <p>This class does not represent the total configuration of the Domain Registry service. It's * <p>This class does not represent the total configuration of the Nomulus service. It's
* <b>only meant for settings that need to be configured <i>once</i></b>. Settings which may * <b>only meant for settings that need to be configured <i>once</i></b>. Settings which may
* be subject to change in the future, should instead be retrieved from Datastore. The * be subject to change in the future, should instead be retrieved from Datastore. The
* {@link google.registry.model.registry.Registry Registry} class is one such example of this. * {@link google.registry.model.registry.Registry Registry} class is one such example of this.
@ -102,7 +102,7 @@ public final class ConfigModule {
switch (environment) { switch (environment) {
case UNITTEST: case UNITTEST:
case LOCAL: case LOCAL:
return "Domain Registry"; return "Nomulus";
default: default:
// Change this to the name of your product. // Change this to the name of your product.
return "Google Registry"; return "Google Registry";
@ -616,7 +616,7 @@ public final class ConfigModule {
case PRODUCTION: case PRODUCTION:
return "6gm2mm48k9ty4zmx"; return "6gm2mm48k9ty4zmx";
default: default:
// Valentine: Domain Registry Braintree Sandbox // Valentine: Nomulus Braintree Sandbox
return "vqgn8khkq2cs6y9s"; return "vqgn8khkq2cs6y9s";
} }
} }
@ -635,7 +635,7 @@ public final class ConfigModule {
case PRODUCTION: case PRODUCTION:
return "tzcfxggzgbh2jg5x"; return "tzcfxggzgbh2jg5x";
default: default:
// Valentine: Domain Registry Braintree Sandbox // Valentine: Nomulus Braintree Sandbox
return "tzcyzvm3mn7zkdnx"; return "tzcyzvm3mn7zkdnx";
} }
} }

View file

@ -21,7 +21,7 @@ import java.net.URL;
import org.joda.time.Duration; import org.joda.time.Duration;
/** /**
* Domain Registry configuration for global constants that can't be injected. * Nomulus configuration for global constants that can't be injected.
* *
* <p>The goal of this custom configuration system is to have our project environments configured * <p>The goal of this custom configuration system is to have our project environments configured
* in type-safe Java code that can be refactored, rather than XML files and system properties. * in type-safe Java code that can be refactored, rather than XML files and system properties.
@ -109,7 +109,7 @@ public interface RegistryConfig {
public Optional<String> getECatcherAddress(); public Optional<String> getECatcherAddress();
/** /**
* Returns the address of the Domain Registry app HTTP server. * Returns the address of the Nomulus app HTTP server.
* *
* <p>This is used by the {@code nomulus} 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.
*/ */
@ -137,7 +137,7 @@ public interface RegistryConfig {
public String getReservedTermsExportDisclaimer(); public String getReservedTermsExportDisclaimer();
/** /**
* Returns a display name that is used on outgoing emails sent by Domain Registry. * Returns a display name that is used on outgoing emails sent by Nomulus.
* *
* @see google.registry.util.SendEmailUtils * @see google.registry.util.SendEmailUtils
*/ */

View file

@ -55,7 +55,7 @@ public enum RegistryEnvironment {
} }
/** /**
* Returns configuration for this Domain Registry environment. * Returns configuration for this Nomulus environment.
* *
* <p><b>WARNING:</b> Do not store this value to a static field, otherwise you won't be able to * <p><b>WARNING:</b> Do not store this value to a static field, otherwise you won't be able to
* override it for testing. You should instead store the environment object to a static field. * override it for testing. You should instead store the environment object to a static field.

View file

@ -109,7 +109,7 @@ public class TestRegistryConfig implements RegistryConfig {
@Override @Override
public String getGoogleAppsAdminEmailDisplayName() { public String getGoogleAppsAdminEmailDisplayName() {
return "Testing Domain Registry"; return "Testing Nomulus";
} }
@Override @Override

View file

@ -287,7 +287,7 @@
Any request path starting with `/_dr/` will be restricted to requests originating Any request path starting with `/_dr/` will be restricted to requests originating
from the backend or by anyone authenticated to a Google account that's listed in from the backend or by anyone authenticated to a Google account that's listed in
the AppEngine control panel settings for this project as a Viewer/Owner/Developer. the AppEngine control panel settings for this project as a Viewer/Owner/Developer.
The `_dr` is short for Domain Registry to follow AppEngine naming conventions. The `_dr` is short for Nomulus to follow AppEngine naming conventions.
</description> </description>
<url-pattern>/_dr/*</url-pattern> <url-pattern>/_dr/*</url-pattern>
</web-resource-collection> </web-resource-collection>

View file

@ -86,7 +86,7 @@
Any request path starting with `/_dr/` will be restricted to requests originating Any request path starting with `/_dr/` will be restricted to requests originating
from the backend or by anyone authenticated to a Google account that's listed in from the backend or by anyone authenticated to a Google account that's listed in
the AppEngine control panel settings for this project as a Viewer/Owner/Developer. the AppEngine control panel settings for this project as a Viewer/Owner/Developer.
The `_dr` is short for Domain Registry to follow AppEngine naming conventions. The `_dr` is short for Nomulus to follow AppEngine naming conventions.
</description> </description>
<url-pattern>/_dr/*</url-pattern> <url-pattern>/_dr/*</url-pattern>
</web-resource-collection> </web-resource-collection>

View file

@ -142,7 +142,7 @@
Any request path starting with `/_dr/` will be restricted to requests originating Any request path starting with `/_dr/` will be restricted to requests originating
from the backend or by anyone authenticated to a Google account that's listed in from the backend or by anyone authenticated to a Google account that's listed in
the AppEngine control panel settings for this project as a Viewer/Owner/Developer. the AppEngine control panel settings for this project as a Viewer/Owner/Developer.
The `_dr` is short for Domain Registry to follow AppEngine naming conventions. The `_dr` is short for Nomulus to follow AppEngine naming conventions.
</description> </description>
<url-pattern>/_dr/*</url-pattern> <url-pattern>/_dr/*</url-pattern>
</web-resource-collection> </web-resource-collection>

View file

@ -20,7 +20,7 @@ import org.bouncycastle.openpgp.PGPPrivateKey;
import org.bouncycastle.openpgp.PGPPublicKey; import org.bouncycastle.openpgp.PGPPublicKey;
/** /**
* Domain Registry keyring interface. * Nomulus keyring interface.
* *
* <p>Separate methods are defined for each specific situation in which the * <p>Separate methods are defined for each specific situation in which the
* registry server needs a secret value, like a PGP key or password. * registry server needs a secret value, like a PGP key or password.

View file

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
/** /**
* Domain Registry datastore model common/shared classes. * Nomulus datastore model common/shared classes.
* *
* <p>This package is intended to hold classes which are shared across multiple XML namespaces. As * <p>This package is intended to hold classes which are shared across multiple XML namespaces. As
* such, no default namespace is declared in this package, and all objects in this package should be * such, no default namespace is declared in this package, and all objects in this package should be

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""External dependencies for Domain Registry.""" """External dependencies for Nomulus."""
def domain_registry_repositories(): def domain_registry_repositories():

View file

@ -37,7 +37,7 @@ import javax.servlet.http.HttpServletResponse;
import org.joda.time.Duration; import org.joda.time.Duration;
/** /**
* Dagger request processor for Domain Registry. * Dagger request processor for Nomulus.
* *
* <p>This class creates an HTTP request processor from a Dagger component. It routes requests from * <p>This class creates an HTTP request processor from a Dagger component. It routes requests from
* your servlet to an {@link Action @Action} annotated handler class. * your servlet to an {@link Action @Action} annotated handler class.

View file

@ -25,7 +25,7 @@ import java.util.Map;
import java.util.TreeMap; import java.util.TreeMap;
/** /**
* Path prefix request router for Domain Registry. * Path prefix request router for Nomulus.
* *
* <p>See the documentation of {@link RequestHandler} for more information. * <p>See the documentation of {@link RequestHandler} for more information.
* *

View file

@ -1,6 +1,6 @@
<!doctype html> <!doctype html>
<meta http-equiv="refresh" content="0;URL=/registrar"> <meta http-equiv="refresh" content="0;URL=/registrar">
<title>Domain Registry</title> <title>Nomulus</title>
<body> <body>
If this page doesn't change automatically, please go If this page doesn't change automatically, please go
to <a href="/registrar">http://registry.google.com/registrar</a> to <a href="/registrar">http://registry.google.com/registrar</a>

View file

@ -42,7 +42,7 @@
|___/ |___/ |___/ |___/
-->{/literal} -->{/literal}
<title>Domain Registry {if isNonnull($subtitle)} - {$subtitle}{/if}</title> <title>Nomulus {if isNonnull($subtitle)} - {$subtitle}{/if}</title>
<link rel="icon" href="/assets/images/ribbon_certified-64.png"> <link rel="icon" href="/assets/images/ribbon_certified-64.png">
{switch DEBUG} {switch DEBUG}
{case google.registry.ui.ConsoleDebug.PRODUCTION} {case google.registry.ui.ConsoleDebug.PRODUCTION}

View file

@ -40,7 +40,7 @@ public class SendEmailUtils {
private static SendEmailService emailService = new SendEmailService(); private static SendEmailService emailService = new SendEmailService();
/** /**
* Sends an email from Domain Registry to the specified recipient. Returns true iff sending was * Sends an email from Nomulus to the specified recipient. Returns true iff sending was
* successful. * successful.
*/ */
public static boolean sendEmail(String address, String subject, String body) { public static boolean sendEmail(String address, String subject, String body) {
@ -48,7 +48,7 @@ public class SendEmailUtils {
} }
/** /**
* Sends an email from Domain Registry to the specified recipients. Returns true iff sending was * Sends an email from Nomulus to the specified recipients. Returns true iff sending was
* successful. * successful.
*/ */
public static boolean sendEmail(Iterable<String> addresses, final String subject, String body) { public static boolean sendEmail(Iterable<String> addresses, final String subject, String body) {

View file

@ -183,7 +183,7 @@ public class RydeGpgIntegrationTest extends ShardableTestCase {
// //
// jart@jart:/tmp$ gpg --verify /tmp/deposit.sig /tmp/deposit.ryde // jart@jart:/tmp$ gpg --verify /tmp/deposit.sig /tmp/deposit.ryde
// gpg: Signature made Mon 26 Aug 2013 12:04:27 PM EDT using RSA-S key ID 2774D88E // gpg: Signature made Mon 26 Aug 2013 12:04:27 PM EDT using RSA-S key ID 2774D88E
// gpg: Good signature from "Domain Registry Dev <domain-registry-eng+dev-key@google.com>" // gpg: Good signature from "Nomulus Dev <domain-registry-eng+dev-key@google.com>"
logger.info("Running GPG to verify signature..."); logger.info("Running GPG to verify signature...");
{ {
Process pid = gpg.exec(cmd.get(), "--verify", sigFile.toString(), rydeFile.toString()); Process pid = gpg.exec(cmd.get(), "--verify", sigFile.toString(), rydeFile.toString());

View file

@ -23,7 +23,7 @@ import java.net.URL;
import java.nio.file.Path; import java.nio.file.Path;
import java.nio.file.Paths; import java.nio.file.Paths;
/** Lightweight HTTP server for testing the Domain Registry Admin and Registrar consoles. */ /** Lightweight HTTP server for testing the Nomulus Admin and Registrar consoles. */
public final class RegistryTestServer { public final class RegistryTestServer {
public static final ImmutableMap<String, Path> RUNFILES = public static final ImmutableMap<String, Path> RUNFILES =

View file

@ -22,7 +22,7 @@ import google.registry.config.RegistryEnvironment;
import google.registry.config.TestRegistryConfig; import google.registry.config.TestRegistryConfig;
import org.junit.rules.ExternalResource; import org.junit.rules.ExternalResource;
/** JUnit Rule for overriding Domain Registry configuration values. */ /** JUnit Rule for overriding Nomulus configuration values. */
public final class RegistryConfigRule extends ExternalResource { public final class RegistryConfigRule extends ExternalResource {
private final Optional<RegistryConfig> override; private final Optional<RegistryConfig> override;

View file

@ -55,7 +55,7 @@ import org.junit.Rule;
/** /**
* Base test class for mapreduces. Adapted from EndToEndTestCase with some modifications that * Base test class for mapreduces. Adapted from EndToEndTestCase with some modifications that
* allow it to work with the Domain Registry project, most notably inside knowledge of our * allow it to work with the Nomulus project, most notably inside knowledge of our
* routing paths and our Datastore/Task Queue configurations. * routing paths and our Datastore/Task Queue configurations.
* *
* <p>See https://github.com/GoogleCloudPlatform/appengine-mapreduce/blob/master/java/src/test/java/com/google/appengine/tools/mapreduce/EndToEndTestCase.java * <p>See https://github.com/GoogleCloudPlatform/appengine-mapreduce/blob/master/java/src/test/java/com/google/appengine/tools/mapreduce/EndToEndTestCase.java

View file

@ -53,7 +53,7 @@ function setUp() {
clientId: test.testClientId, clientId: test.testClientId,
showPaymentLink: false, showPaymentLink: false,
logoFilename: 'logo.png', logoFilename: 'logo.png',
productName: 'Domain Registry' productName: 'Nomulus'
}); });
registry.registrar.ConsoleTestUtil.setup(test); registry.registrar.ConsoleTestUtil.setup(test);
var regNavlist = $('reg-navlist'); var regNavlist = $('reg-navlist');

View file

@ -52,7 +52,7 @@ function setUp() {
clientId: test.testClientId, clientId: test.testClientId,
showPaymentLink: false, showPaymentLink: false,
logoFilename: 'logo.png', logoFilename: 'logo.png',
productName: 'Domain Registry' productName: 'Nomulus'
}); });
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo); stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);
registry.registrar.ConsoleTestUtil.setup(test); registry.registrar.ConsoleTestUtil.setup(test);

View file

@ -43,7 +43,7 @@ function setUp() {
clientId: 'daddy', clientId: 'daddy',
showPaymentLink: false, showPaymentLink: false,
logoFilename: 'logo.png', logoFilename: 'logo.png',
productName: 'Domain Registry' productName: 'Nomulus'
}); });
registry.registrar.ConsoleTestUtil.setup(test); registry.registrar.ConsoleTestUtil.setup(test);
} }

View file

@ -49,7 +49,7 @@ function setUp() {
clientId: 'ignore', clientId: 'ignore',
showPaymentLink: false, showPaymentLink: false,
logoFilename: 'logo.png', logoFilename: 'logo.png',
productName: 'Domain Registry' productName: 'Nomulus'
}); });
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo); stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);

View file

@ -49,7 +49,7 @@ function setUp() {
clientId: 'ignore', clientId: 'ignore',
showPaymentLink: false, showPaymentLink: false,
logoFilename: 'logo.png', logoFilename: 'logo.png',
productName: 'Domain Registry' productName: 'Nomulus'
}); });
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo); stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);

View file

@ -57,7 +57,7 @@ function setUp() {
clientId: test.testClientId, clientId: test.testClientId,
showPaymentLink: false, showPaymentLink: false,
logoFilename: 'logo.png', logoFilename: 'logo.png',
productName: 'Domain Registry' productName: 'Nomulus'
}); });
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo); stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);
registry.registrar.ConsoleTestUtil.setup(test); registry.registrar.ConsoleTestUtil.setup(test);

View file

@ -51,7 +51,7 @@ function setUp() {
clientId: test.testClientId, clientId: test.testClientId,
showPaymentLink: false, showPaymentLink: false,
logoFilename: 'logo.png', logoFilename: 'logo.png',
productName: 'Domain Registry' productName: 'Nomulus'
}); });
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo); stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);
registry.registrar.ConsoleTestUtil.setup(test); registry.registrar.ConsoleTestUtil.setup(test);

View file

@ -51,7 +51,7 @@ public class ConsoleUiActionTest {
public void setUp() throws Exception { public void setUp() throws Exception {
action.enabled = true; action.enabled = true;
action.logoFilename = "logo.png"; action.logoFilename = "logo.png";
action.productName = "Domain Registry"; action.productName = "Nomulus";
action.response = response; action.response = response;
action.sessionUtils = sessionUtils; action.sessionUtils = sessionUtils;
action.userService = UserServiceFactory.getUserService(); action.userService = UserServiceFactory.getUserService();