mirror of
https://github.com/google/nomulus
synced 2026-09-25 17:34:20 +00:00
RDAP: Remove port43 element from JSON output
According to Gustavo Lozano of ICANN: "In the case of the RDAP profile (gTLD space), the “port43” element is not expected to be used, because Whois/43 tcp will be deprecated in the future." So it sounds like we should not include the port43 element for the moment. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130017966
This commit is contained in:
@@ -124,7 +124,7 @@ public class RdapDomainActionTest {
|
||||
action.clock = clock;
|
||||
action.response = response;
|
||||
action.rdapLinkBase = "https://example.com/rdap/";
|
||||
action.rdapWhoisServer = "whois.example.tld";
|
||||
action.rdapWhoisServer = null;
|
||||
|
||||
// history entries
|
||||
persistResource(
|
||||
@@ -199,9 +199,6 @@ public class RdapDomainActionTest {
|
||||
if (!map.containsKey("remarks")) {
|
||||
RdapTestHelper.addDomainBoilerplateRemarks(builder);
|
||||
}
|
||||
if (!map.containsKey("port43")) {
|
||||
builder.put("port43", "whois.example.com");
|
||||
}
|
||||
obj = builder.build();
|
||||
}
|
||||
return obj;
|
||||
|
||||
Reference in New Issue
Block a user