mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 06:44:51 +02:00
Inject RDAP help information in ConfigModule
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=140849879
This commit is contained in:
parent
3740171bbf
commit
c59b738b5b
57 changed files with 436 additions and 306 deletions
|
@ -126,7 +126,7 @@ public class RdapDomainSearchAction extends RdapActionBase {
|
|||
}
|
||||
ImmutableMap.Builder<String, Object> builder = new ImmutableMap.Builder<>();
|
||||
builder.put("domainSearchResults", results.jsonList());
|
||||
RdapJsonFormatter.addTopLevelEntries(
|
||||
rdapJsonFormatter.addTopLevelEntries(
|
||||
builder,
|
||||
BoilerplateType.DOMAIN,
|
||||
results.isTruncated()
|
||||
|
@ -296,7 +296,7 @@ public class RdapDomainSearchAction extends RdapActionBase {
|
|||
ImmutableList.Builder<ImmutableMap<String, Object>> jsonBuilder = new ImmutableList.Builder<>();
|
||||
for (DomainResource domain : domains) {
|
||||
jsonBuilder.add(
|
||||
RdapJsonFormatter.makeRdapJsonForDomain(
|
||||
rdapJsonFormatter.makeRdapJsonForDomain(
|
||||
domain, false, rdapLinkBase, rdapWhoisServer, now, outputDataType));
|
||||
}
|
||||
return RdapSearchResults.create(jsonBuilder.build(), isTruncated);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue