mirror of
https://github.com/google/nomulus.git
synced 2025-07-08 20:23:24 +02:00
Remove final vestiges of domain applications (#1153)
* Remove final vestiges of domain applications
This commit is contained in:
parent
0f4bf7ac38
commit
2e51a21472
4 changed files with 7 additions and 14 deletions
|
@ -173,8 +173,9 @@ public class DomainContent extends EppResource
|
|||
@Transient Set<DelegationSignerData> dsData;
|
||||
|
||||
/**
|
||||
* The claims notice supplied when this application or domain was created, if there was one. It's
|
||||
* {@literal @}XmlTransient because it's not returned in an info response.
|
||||
* The claims notice supplied when this domain was created, if there was one.
|
||||
*
|
||||
* <p>It's {@literal @}XmlTransient because it's not returned in an info response.
|
||||
*/
|
||||
@IgnoreSave(IfNull.class)
|
||||
@Embedded
|
||||
|
@ -706,7 +707,7 @@ public class DomainContent extends EppResource
|
|||
return authInfo;
|
||||
}
|
||||
|
||||
/** Returns all referenced contacts from this domain or application. */
|
||||
/** Returns all referenced contacts from this domain. */
|
||||
public ImmutableSet<VKey<ContactResource>> getReferencedContacts() {
|
||||
return nullToEmptyImmutableCopy(allContacts).stream()
|
||||
.map(DesignatedContact::getContactKey)
|
||||
|
|
|
@ -51,8 +51,8 @@ import javax.xml.bind.annotation.XmlValue;
|
|||
public class LaunchPhase extends ImmutableObject {
|
||||
|
||||
/**
|
||||
* The phase during which trademark holders can submit registrations or applications with
|
||||
* trademark information that can be validated by the server.
|
||||
* The phase during which trademark holders can submit domain registrations with trademark
|
||||
* information that can be validated by the server.
|
||||
*/
|
||||
public static final LaunchPhase SUNRISE = create("sunrise");
|
||||
|
||||
|
|
|
@ -235,14 +235,6 @@ class ContactDeleteFlowTest extends ResourceFlowTestCase<ContactDeleteFlow, Cont
|
|||
assertAboutEppExceptions().that(thrown).marshalsToXml();
|
||||
}
|
||||
|
||||
@TestOfyAndSql
|
||||
void testFailure_failfastWhenLinkedToApplication() throws Exception {
|
||||
createTld("tld");
|
||||
persistResource(newDomainBase("example.tld", persistActiveContact(getUniqueIdFromCommand())));
|
||||
EppException thrown = assertThrows(ResourceToDeleteIsReferencedException.class, this::runFlow);
|
||||
assertAboutEppExceptions().that(thrown).marshalsToXml();
|
||||
}
|
||||
|
||||
@TestOfyAndSql
|
||||
void testIcannActivityReportField_getsLogged() throws Exception {
|
||||
persistActiveContact(getUniqueIdFromCommand());
|
||||
|
|
|
@ -229,7 +229,7 @@ class EppResourceInputsTest {
|
|||
void testSuccess_entityReader_noFilteringWhenUsingEppResource() throws Exception {
|
||||
createTld("tld");
|
||||
ContactResource contact = persistEppResourceInFirstBucket(newContactResource("contact"));
|
||||
// Specify the contact since persistActiveDomain{Application} creates a hidden one.
|
||||
// Specify the contact since persistActiveDomain() creates a hidden one.
|
||||
DomainBase domain1 = persistEppResourceInFirstBucket(newDomainBase("a.tld", contact));
|
||||
DomainBase domain2 = persistEppResourceInFirstBucket(newDomainBase("b.tld", contact));
|
||||
HostResource host = persistEppResourceInFirstBucket(newHostResource("ns1.example.com"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue