Permalink
Browse files

Change all references to Domain Registry to Nomulus

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136068582
  • Loading branch information...
jianglai authored and CydeWeys committed Oct 13, 2016
1 parent 9695024 commit 71d7a382f35ae74302a0e093d5d0f339bccc78aa
Showing with 38 additions and 38 deletions.
  1. +1 −1 AUTHORS
  2. +1 −1 java/google/registry/builddefs/defs.bzl
  3. +1 −1 java/google/registry/builddefs/registry_ear_file.bzl
  4. +6 −6 java/google/registry/config/ConfigModule.java
  5. +3 −3 java/google/registry/config/RegistryConfig.java
  6. +1 −1 java/google/registry/config/RegistryEnvironment.java
  7. +1 −1 java/google/registry/config/TestRegistryConfig.java
  8. +1 −1 java/google/registry/env/common/backend/WEB-INF/web.xml
  9. +1 −1 java/google/registry/env/common/default/WEB-INF/web.xml
  10. +1 −1 java/google/registry/env/common/tools/WEB-INF/web.xml
  11. +1 −1 java/google/registry/keyring/api/Keyring.java
  12. +1 −1 java/google/registry/model/eppcommon/package-info.java
  13. +1 −1 java/google/registry/repositories.bzl
  14. +1 −1 java/google/registry/request/RequestHandler.java
  15. +1 −1 java/google/registry/request/Router.java
  16. +1 −1 java/google/registry/ui/html/index.html
  17. +1 −1 java/google/registry/ui/soy/Console.soy
  18. +2 −2 java/google/registry/util/SendEmailUtils.java
  19. +1 −1 javatests/google/registry/rde/RydeGpgIntegrationTest.java
  20. +1 −1 javatests/google/registry/server/RegistryTestServer.java
  21. +1 −1 javatests/google/registry/testing/RegistryConfigRule.java
  22. +1 −1 javatests/google/registry/testing/mapreduce/MapreduceTestCase.java
  23. +1 −1 javatests/google/registry/ui/js/registrar/console_test.js
  24. +1 −1 javatests/google/registry/ui/js/registrar/contact_settings_test.js
  25. +1 −1 javatests/google/registry/ui/js/registrar/contact_test.js
  26. +1 −1 javatests/google/registry/ui/js/registrar/domain_test.js
  27. +1 −1 javatests/google/registry/ui/js/registrar/host_test.js
  28. +1 −1 javatests/google/registry/ui/js/registrar/security_settings_test.js
  29. +1 −1 javatests/google/registry/ui/js/registrar/whois_settings_test.js
  30. +1 −1 javatests/google/registry/ui/server/registrar/ConsoleUiActionTest.java
View
@@ -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.
# See the latter for an explanation.
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Common routines for Domain Registry build rules."""
"""Common routines for Nomulus build rules."""
ZIPPER = "@bazel_tools//tools/zip:zipper"
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# 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")
@@ -30,13 +30,13 @@
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
* 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
* 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.
@@ -102,7 +102,7 @@ public static String provideProductName(RegistryEnvironment environment) {
switch (environment) {
case UNITTEST:
case LOCAL:
return "Domain Registry";
return "Nomulus";
default:
// Change this to the name of your product.
return "Google Registry";
@@ -616,7 +616,7 @@ public static String provideBraintreeMerchantId(RegistryEnvironment environment)
case PRODUCTION:
return "6gm2mm48k9ty4zmx";
default:
// Valentine: Domain Registry Braintree Sandbox
// Valentine: Nomulus Braintree Sandbox
return "vqgn8khkq2cs6y9s";
}
}
@@ -635,7 +635,7 @@ public static String provideBraintreePublicKey(RegistryEnvironment environment)
case PRODUCTION:
return "tzcfxggzgbh2jg5x";
default:
// Valentine: Domain Registry Braintree Sandbox
// Valentine: Nomulus Braintree Sandbox
return "tzcyzvm3mn7zkdnx";
}
}
@@ -21,7 +21,7 @@
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
* in type-safe Java code that can be refactored, rather than XML files and system properties.
@@ -109,7 +109,7 @@
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.
*/
@@ -137,7 +137,7 @@
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
*/
@@ -55,7 +55,7 @@ public static RegistryEnvironment get() {
}
/**
* 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
* override it for testing. You should instead store the environment object to a static field.
@@ -109,7 +109,7 @@ public String getReservedTermsExportDisclaimer() {
@Override
public String getGoogleAppsAdminEmailDisplayName() {
return "Testing Domain Registry";
return "Testing Nomulus";
}
@Override
@@ -287,7 +287,7 @@
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
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>
<url-pattern>/_dr/*</url-pattern>
</web-resource-collection>
@@ -86,7 +86,7 @@
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
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>
<url-pattern>/_dr/*</url-pattern>
</web-resource-collection>
@@ -142,7 +142,7 @@
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
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>
<url-pattern>/_dr/*</url-pattern>
</web-resource-collection>
@@ -20,7 +20,7 @@
import org.bouncycastle.openpgp.PGPPublicKey;
/**
* Domain Registry keyring interface.
* Nomulus keyring interface.
*
* <p>Separate methods are defined for each specific situation in which the
* registry server needs a secret value, like a PGP key or password.
@@ -13,7 +13,7 @@
// 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
* such, no default namespace is declared in this package, and all objects in this package should be
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""External dependencies for Domain Registry."""
"""External dependencies for Nomulus."""
def domain_registry_repositories():
@@ -37,7 +37,7 @@
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
* your servlet to an {@link Action @Action} annotated handler class.
@@ -25,7 +25,7 @@
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.
*
@@ -1,6 +1,6 @@
<!doctype html>
<meta http-equiv="refresh" content="0;URL=/registrar">
<title>Domain Registry</title>
<title>Nomulus</title>
<body>
If this page doesn't change automatically, please go
to <a href="/registrar">http://registry.google.com/registrar</a>
@@ -42,7 +42,7 @@
|___/ |___/
-->{/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">
{switch DEBUG}
{case google.registry.ui.ConsoleDebug.PRODUCTION}
@@ -40,15 +40,15 @@
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.
*/
public static boolean sendEmail(String address, String subject, String body) {
return sendEmail(ImmutableList.of(address), subject, body);
}
/**
* 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.
*/
public static boolean sendEmail(Iterable<String> addresses, final String subject, String body) {
@@ -183,7 +183,7 @@ public void test(GpgCommand cmd, BufferSize bufSize, Filename name, Content cont
//
// 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: 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...");
{
Process pid = gpg.exec(cmd.get(), "--verify", sigFile.toString(), rydeFile.toString());
@@ -23,7 +23,7 @@
import java.nio.file.Path;
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 static final ImmutableMap<String, Path> RUNFILES =
@@ -22,7 +22,7 @@
import google.registry.config.TestRegistryConfig;
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 {
private final Optional<RegistryConfig> override;
@@ -55,7 +55,7 @@
/**
* 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.
*
* <p>See https://github.com/GoogleCloudPlatform/appengine-mapreduce/blob/master/java/src/test/java/com/google/appengine/tools/mapreduce/EndToEndTestCase.java
@@ -53,7 +53,7 @@ function setUp() {
clientId: test.testClientId,
showPaymentLink: false,
logoFilename: 'logo.png',
productName: 'Domain Registry'
productName: 'Nomulus'
});
registry.registrar.ConsoleTestUtil.setup(test);
var regNavlist = $('reg-navlist');
@@ -52,7 +52,7 @@ function setUp() {
clientId: test.testClientId,
showPaymentLink: false,
logoFilename: 'logo.png',
productName: 'Domain Registry'
productName: 'Nomulus'
});
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);
registry.registrar.ConsoleTestUtil.setup(test);
@@ -43,7 +43,7 @@ function setUp() {
clientId: 'daddy',
showPaymentLink: false,
logoFilename: 'logo.png',
productName: 'Domain Registry'
productName: 'Nomulus'
});
registry.registrar.ConsoleTestUtil.setup(test);
}
@@ -49,7 +49,7 @@ function setUp() {
clientId: 'ignore',
showPaymentLink: false,
logoFilename: 'logo.png',
productName: 'Domain Registry'
productName: 'Nomulus'
});
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);
@@ -49,7 +49,7 @@ function setUp() {
clientId: 'ignore',
showPaymentLink: false,
logoFilename: 'logo.png',
productName: 'Domain Registry'
productName: 'Nomulus'
});
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);
@@ -57,7 +57,7 @@ function setUp() {
clientId: test.testClientId,
showPaymentLink: false,
logoFilename: 'logo.png',
productName: 'Domain Registry'
productName: 'Nomulus'
});
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);
registry.registrar.ConsoleTestUtil.setup(test);
@@ -51,7 +51,7 @@ function setUp() {
clientId: test.testClientId,
showPaymentLink: false,
logoFilename: 'logo.png',
productName: 'Domain Registry'
productName: 'Nomulus'
});
stubs.setPath('goog.net.XhrIo', goog.testing.net.XhrIo);
registry.registrar.ConsoleTestUtil.setup(test);
@@ -51,7 +51,7 @@
public void setUp() throws Exception {
action.enabled = true;
action.logoFilename = "logo.png";
action.productName = "Domain Registry";
action.productName = "Nomulus";
action.response = response;
action.sessionUtils = sessionUtils;
action.userService = UserServiceFactory.getUserService();

0 comments on commit 71d7a38

Please sign in to comment.