mirror of
https://github.com/google/nomulus
synced 2026-01-08 15:21:46 +00:00
Add golden files for request component routing maps
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=157026188
This commit is contained in:
@@ -38,7 +38,7 @@ import javax.inject.Inject;
|
||||
)
|
||||
public class RdapAutnumAction extends RdapActionBase {
|
||||
|
||||
public static final String PATH = "/rdap/autnum";
|
||||
public static final String PATH = "/rdap/autnum/";
|
||||
|
||||
@Inject RdapAutnumAction() {}
|
||||
|
||||
|
||||
@@ -64,7 +64,6 @@ import org.joda.time.DateTime;
|
||||
@Action(
|
||||
path = RdapDomainSearchAction.PATH,
|
||||
method = {GET, HEAD},
|
||||
isPrefix = true,
|
||||
auth = @Auth(minimumLevel = AuthLevel.NONE, userPolicy = Auth.UserPolicy.PUBLIC)
|
||||
)
|
||||
public class RdapDomainSearchAction extends RdapActionBase {
|
||||
|
||||
@@ -61,7 +61,6 @@ import org.joda.time.DateTime;
|
||||
@Action(
|
||||
path = RdapEntitySearchAction.PATH,
|
||||
method = {GET, HEAD},
|
||||
isPrefix = true,
|
||||
auth = @Auth(minimumLevel = AuthLevel.NONE, userPolicy = Auth.UserPolicy.PUBLIC)
|
||||
)
|
||||
public class RdapEntitySearchAction extends RdapActionBase {
|
||||
@@ -144,7 +143,7 @@ public class RdapEntitySearchAction extends RdapActionBase {
|
||||
// Get the registrar matches, depending on whether there's a wildcard.
|
||||
ImmutableList<Registrar> registrarMatches =
|
||||
FluentIterable.from(Registrar.loadAllCached())
|
||||
.filter(
|
||||
.filter(
|
||||
new Predicate<Registrar>() {
|
||||
@Override
|
||||
public boolean apply(Registrar registrar) {
|
||||
@@ -170,7 +169,7 @@ public class RdapEntitySearchAction extends RdapActionBase {
|
||||
.type(ContactResource.class)
|
||||
.id(partialStringQuery.getInitialString())
|
||||
.now();
|
||||
ImmutableList<Registrar> registrars =
|
||||
ImmutableList<Registrar> registrars =
|
||||
getMatchingRegistrars(partialStringQuery.getInitialString());
|
||||
return makeSearchResults(
|
||||
((contactResource == null) || !contactResource.getDeletionTime().isEqual(END_OF_TIME))
|
||||
|
||||
@@ -38,7 +38,7 @@ import javax.inject.Inject;
|
||||
)
|
||||
public class RdapIpAction extends RdapActionBase {
|
||||
|
||||
public static final String PATH = "/rdap/ip";
|
||||
public static final String PATH = "/rdap/ip/";
|
||||
|
||||
@Inject RdapIpAction() {}
|
||||
|
||||
|
||||
@@ -58,7 +58,6 @@ import org.joda.time.DateTime;
|
||||
@Action(
|
||||
path = RdapNameserverSearchAction.PATH,
|
||||
method = {GET, HEAD},
|
||||
isPrefix = true,
|
||||
auth = @Auth(minimumLevel = AuthLevel.NONE, userPolicy = Auth.UserPolicy.PUBLIC)
|
||||
)
|
||||
public class RdapNameserverSearchAction extends RdapActionBase {
|
||||
|
||||
Reference in New Issue
Block a user