mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Add the ability to setup OT&E from the web console
We create a new endpoint with a simple form that will let admins (including support) setup OT&E for registrars. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=226570568
This commit is contained in:
parent
040319a95d
commit
2777018d6a
17 changed files with 804 additions and 34 deletions
|
@ -22,6 +22,7 @@ import static google.registry.testing.DatastoreHelper.loadRegistrar;
|
|||
import static google.registry.testing.DatastoreHelper.newContactResource;
|
||||
import static google.registry.testing.DatastoreHelper.newDomainResource;
|
||||
import static google.registry.testing.DatastoreHelper.persistActiveHost;
|
||||
import static google.registry.testing.DatastoreHelper.persistPremiumList;
|
||||
import static google.registry.testing.DatastoreHelper.persistResource;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
|
@ -58,6 +59,9 @@ public enum Fixture {
|
|||
public void load() {
|
||||
createTlds("xn--q9jyb4c", "example");
|
||||
|
||||
// Used for OT&E TLDs
|
||||
persistPremiumList("default_sandbox_list");
|
||||
|
||||
ContactResource google = persistResource(newContactResource("google")
|
||||
.asBuilder()
|
||||
.setLocalizedPostalInfo(new PostalInfo.Builder()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue