google-nomulus/javatests/google/registry
mountford 52fd9d8c4e Correctly order RDAP domain searches by nameserver
Usually, the correct order happens automatically, because we are searching on either the key or a specific field like fullyQualifiedDomainName, and the results come back in that order. But when searching by nameserver, where we split the query into multiple "IN" chunks, we have to assemble the result set and order after the fact.

The tests didn't pick up the problem, because the domains and hosts were created in alphabetical order, so it happened to work anyway. The tests have now been changed to create things in reverse order, to test the reordering. Also, the previous arbitrary limit of 1000 nameservers in the intermediate query has been reduced to 300, because we now loop through all nameservers no matter what, rather than stopping when we collect enough domains, so there's more of a penalty for having way too many nameservers.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=173163121
2017-10-24 16:53:47 -04:00
..
backup Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
batch Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
bigquery Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
builddefs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
config Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
cron Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
dns Add stackdriver metrics to publishDnsUpdates 2017-10-24 16:53:47 -04:00
export Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
flows Rename ClaimsCheckFlow to DomainClaimsCheckFlow 2017-10-24 16:53:47 -04:00
groups Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
keyring Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
mapreduce/inputs Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
model Convert domain label list code to use Java 8 streams features 2017-10-24 16:53:47 -04:00
module Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
monitoring Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
pricing Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
rdap Correctly order RDAP domain searches by nameserver 2017-10-24 16:53:47 -04:00
rde Remove reference to TLD in Locks' ResourceName 2017-10-24 16:53:47 -04:00
reporting Prepare ICANN reporting for production 2017-10-24 16:53:47 -04:00
request Prepare ICANN reporting for production 2017-10-24 16:53:47 -04:00
security Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
server Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
storage/drive Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
testing Change behavior when searching contacts by name 2017-10-24 16:53:47 -04:00
tldconfig/idn Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
tmch Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
tools Migrates users from the unitless, ambiguous plus(long) and minus(long) methods on various Joda-Time APIs to their Duration-accepting overloads. 2017-10-24 16:53:47 -04:00
ui Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
util Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
whois Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
xjc Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
xml Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00