mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 18:26:12 +02:00
Move RDAP boilerplate from remarks to notices
This is in response to decisions made by the RDAP working group regarding the Operational Profile document: https://docs.google.com/document/d/1h1E99GLY-8I0PfYBuANzVc3iJD1R38E6xayDYGK0pCw/edit?usp=sharing ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=195251639
This commit is contained in:
parent
d3bb808c5f
commit
3eb82ad647
27 changed files with 152 additions and 202 deletions
|
@ -393,14 +393,15 @@ public class RdapDomainActionTest {
|
|||
RdapTestHelper.getBuilderExcluding(
|
||||
map, ImmutableSet.of("rdapConformance", "notices", "remarks"));
|
||||
builder.put("rdapConformance", ImmutableList.of("rdap_level_0"));
|
||||
RdapTestHelper.addNotices(
|
||||
RdapTestHelper.addDomainBoilerplateNotices(
|
||||
builder,
|
||||
"https://example.com/rdap/",
|
||||
(contactRoids == null)
|
||||
? RdapTestHelper.ContactNoticeType.DOMAIN
|
||||
: RdapTestHelper.ContactNoticeType.NONE,
|
||||
map.get("notices"));
|
||||
RdapTestHelper.addDomainBoilerplateRemarks(builder, false, map.get("remarks"));
|
||||
false,
|
||||
RdapTestHelper.createNotices(
|
||||
"https://example.com/rdap/",
|
||||
(contactRoids == null)
|
||||
? RdapTestHelper.ContactNoticeType.DOMAIN
|
||||
: RdapTestHelper.ContactNoticeType.NONE,
|
||||
map.get("notices")));
|
||||
obj = new JSONObject(builder.build());
|
||||
}
|
||||
return obj;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue