google-nomulus/javatests/google/registry
mountford e90e840757 Change GenerateZoneFilesAction to emit glue records only where appropriate
Previously, GenerateZoneFilesAction mapreduced its way through all domains and hosts for the specified TLD(s), emitting information for each matching domain and host (subject to constraints like not being deleted and so on). This resulted in host information (aka glue records) for all hosts subordinate to domains in the specified TLD(s). This is incorrect. DNS glue records should only be present for hosts which act as nameservers for their superordinate domains.

The new version of the mapreduce iterates only over domains. When a matching domain is found, a check is made to see whether any subordinate hosts are also nameservers for the domain, in which case host information is generated.

The test was updated to reflect the new reality, and check for a couple additional nuances.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=165766472
2017-08-29 16:51:35 -04:00
..
backup Map over Key instead of actual instances when deleting old commit logs 2017-08-29 15:40:41 -04:00
batch Better handle deletion of prober domains 2017-08-29 16:32:47 -04:00
bigquery Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:42:43 -04:00
builddefs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
config Remove unnecessary line to load configs 2017-02-27 11:07:40 -05:00
cron Add response information to TldFanoutAction 2017-04-10 13:32:41 -04:00
dns Make DnsWriter truly atomic 2017-08-29 16:40:07 -04:00
export Remove queueing from Lock 2017-08-01 17:06:20 -04:00
flows Record domain transaction for DomainRestoreFlow 2017-08-29 16:35:42 -04:00
groups Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:47:13 -04:00
keyring/kms Update cloudkms_java with the non-beta version 2017-06-05 18:17:09 -04:00
mapreduce/inputs Map over Key instead of actual instances when deleting old commit logs 2017-08-29 15:40:41 -04:00
model Add TransactionRecord to HistoryEntry for transaction reporting 2017-08-29 16:34:16 -04:00
module Add activity report generation code 2017-08-29 15:53:33 -04:00
monitoring Add a Fibonacci fitter for metrics bucketing 2017-05-23 17:22:49 -04:00
pricing Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
rdap RDAP: Allow domain and nameserver queries with no initial string under certain circumstances 2017-07-10 11:16:03 -04:00
rde Fix comment and exception message 2017-08-29 16:45:56 -04:00
reporting Optimize activity report SQL 2017-08-29 16:22:27 -04:00
request Fix Optinal.absent() to Optional.<AuthResult>absent() 2017-08-01 16:34:32 -04:00
security Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:45:45 -04:00
server Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
storage/drive Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:45:45 -04:00
testing Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
tldconfig/idn Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
tmch Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
tools Change GenerateZoneFilesAction to emit glue records only where appropriate 2017-08-29 16:51:35 -04:00
ui Allow admins to access registrar console without a RegistrarContact 2017-08-29 15:43:36 -04:00
util Retry Datastore errors in CommitLogManifestReader.next() 2017-08-29 16:06:48 -04:00
whois Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
xjc Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
xml Update copyright year on all license headers 2017-02-02 16:27:22 -05:00