Remove regtype extension since we won't be using it

If we do end up needing it we can simply revert this commit.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=127094676
This commit is contained in:
mcilwain 2016-07-11 09:30:31 -07:00 committed by Ben McIlwain
parent cd23ece924
commit 0e511f0178
23 changed files with 5 additions and 414 deletions

View file

@ -497,16 +497,6 @@ public class DomainCheckFlowTest
runFlow();
}
@Test
public void testSuccess_regTypeExtensionValidates() throws Exception {
setEppInput("domain_check_regtype.xml");
persistActiveDomain("example1.tld");
doCheckTest(
create(false, "example1.tld", "In use"),
create(true, "example2.tld", null),
create(true, "example3.tld", null));
}
@Test
public void testSuccess_eapFeeCheck() throws Exception {
clock.setTo(DateTime.parse("2010-01-01T10:00:00Z"));

View file

@ -1282,13 +1282,6 @@ public class DomainCreateFlowTest extends ResourceFlowTestCase<DomainCreateFlow,
doSuccessfulTest();
}
@Test
public void testSuccess_regTypeExtensionValidates() throws Exception {
setEppInput("domain_create_regtype.xml");
persistContactsAndHosts();
doSuccessfulTest("tld", "domain_create_response.xml");
}
@Test
public void testSuccess_eapFeeApplied() throws Exception {
setEppInput("domain_create_eap_fee.xml");

View file

@ -1123,12 +1123,4 @@ public class DomainUpdateFlowTest extends ResourceFlowTestCase<DomainUpdateFlow,
.build());
doSuccessfulTest();
}
@Test
public void testSuccess_regTypeExtensionValidates() throws Exception {
setEppInput("domain_update_regtype.xml");
persistReferencedEntities();
persistDomain();
doSuccessfulTest();
}
}

View file

@ -1,18 +0,0 @@
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<check>
<domain:check xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example1.tld</domain:name>
<domain:name>example2.tld</domain:name>
<domain:name>example3.tld</domain:name>
</domain:check>
</check>
<extension>
<regtype:check
xmlns:regtype="urn:ietf:params:xml:ns:regtype-0.2">
<regtype:type>foo,bar,baz</regtype:type>
</regtype:check>
</extension>
<clTRID>ABC-12345</clTRID>
</command>
</epp>

View file

@ -1,28 +0,0 @@
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
<domain:create
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.tld</domain:name>
<domain:period unit="y">2</domain:period>
<domain:ns>
<domain:hostObj>ns1.example.net</domain:hostObj>
<domain:hostObj>ns2.example.net</domain:hostObj>
</domain:ns>
<domain:registrant>jd1234</domain:registrant>
<domain:contact type="admin">sh8013</domain:contact>
<domain:contact type="tech">sh8013</domain:contact>
<domain:authInfo>
<domain:pw>2fooBAR</domain:pw>
</domain:authInfo>
</domain:create>
</create>
<extension>
<regType:create
xmlns:regType="urn:ietf:params:xml:ns:regtype-0.2">
<regType:type>foobar</regType:type>
</regType:create>
</extension>
<clTRID>ABC-12345</clTRID>
</command>
</epp>

View file

@ -1,40 +0,0 @@
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
<domain:update
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.tld</domain:name>
<domain:add>
<domain:ns>
<domain:hostObj>ns2.example.foo</domain:hostObj>
</domain:ns>
<domain:contact type="tech">mak21</domain:contact>
<domain:status s="clientHold"
lang="en">Payment overdue.</domain:status>
</domain:add>
<domain:rem>
<domain:ns>
<domain:hostObj>ns1.example.foo</domain:hostObj>
</domain:ns>
<domain:contact type="tech">sh8013</domain:contact>
<domain:status s="clientUpdateProhibited"/>
</domain:rem>
<domain:chg>
<domain:registrant>sh8013</domain:registrant>
<domain:authInfo>
<domain:pw>2BARfoo</domain:pw>
</domain:authInfo>
</domain:chg>
</domain:update>
</update>
<extension>
<regType:update
xmlns:regType="urn:ietf:params:xml:ns:regtype-0.2">
<regType:chg>
<regType:type>bar,foo</regType:type>
</regType:chg>
</regType:update>
</extension>
<clTRID>ABC-12345</clTRID>
</command>
</epp>

View file

@ -13,7 +13,6 @@
<extURI>urn:ietf:params:xml:ns:rgp-1.0</extURI>
<extURI>urn:ietf:params:xml:ns:secDNS-1.1</extURI>
<extURI>urn:ietf:params:xml:ns:fee-0.6</extURI>
<extURI>urn:ietf:params:xml:ns:regtype-0.2</extURI>
</svcExtension>
</svcMenu>
<dcp>

View file

@ -13,7 +13,6 @@
<extURI>urn:ietf:params:xml:ns:rgp-1.0</extURI>
<extURI>urn:ietf:params:xml:ns:secDNS-1.1</extURI>
<extURI>urn:ietf:params:xml:ns:fee-0.6</extURI>
<extURI>urn:ietf:params:xml:ns:regtype-0.2</extURI>
</svcExtension>
</svcMenu>
<dcp>