Remove 'value' from RDAP link responses (#236)

* Remove 'value' from RDAP link responses

* Change application type to rdap+json

* Merge remote-tracking branch 'origin/master' into removeValueRdap

* CR response
This commit is contained in:
gbrodman 2019-08-30 10:21:03 -04:00 committed by GitHub
parent 487b695a10
commit d6bcdc241e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 282 additions and 384 deletions

View file

@ -77,7 +77,10 @@ public class RdapTestHelper {
"links",
ImmutableList.of(
ImmutableMap.of(
"value", linkBase + "help/tos",
"rel", "self",
"href", linkBase + "help/tos",
"type", "application/rdap+json"),
ImmutableMap.of(
"rel", "alternate",
"href", "https://www.registry.tld/about/rdap/tos.html",
"type", "text/html")))).getAsJsonObject();
@ -125,7 +128,6 @@ public class RdapTestHelper {
"links",
ImmutableList.of(
ImmutableMap.of(
"value", "https://icann.org/epp",
"rel", "alternate",
"href", "https://icann.org/epp",
"type", "text/html")))));
@ -141,7 +143,6 @@ public class RdapTestHelper {
"links",
ImmutableList.of(
ImmutableMap.of(
"value", "https://www.icann.org/wicf",
"rel", "alternate",
"href", "https://www.icann.org/wicf",
"type", "text/html")))));