mirror of
https://github.com/google/nomulus.git
synced 2025-07-12 22:18:12 +02:00
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:
parent
487b695a10
commit
d6bcdc241e
65 changed files with 282 additions and 384 deletions
|
@ -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")))));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue