google-nomulus/java/google/registry/model/domain
mcilwain 49ac4e3e69 Improve Datastore efficiency of duplicate contact messages
I should have caught this in the review, but [] is loading *ALL*
contacts individually from Datastore on every domain update. This will add a
large number of Datastore round trips and thus significantly reduce update
performance.

This CL changes the behavior to *ONLY* load contacts when there is a duplicate
(which is needed to determine the contact's display name to generate the error
message), and loads all of them in a single batch rather than individually.

This also makes some minor changes around domain getters returning empty sets
instead of null.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=233128140
2019-02-11 11:22:34 -05:00
..
fee Make EAP fee description check more flexible 2018-05-05 23:26:33 -04:00
fee06 Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
fee11 Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
fee12 Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
launch Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
metadata Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
rgp Delete end-date sunrise, landrush, and sunrush phases 2019-01-10 16:23:35 -05:00
secdns Fix @VisibleForTesting given the newly deployed enforcement 2019-01-10 16:23:35 -05:00
superuser Add support for a domain delete superuser EPP extension 2017-09-12 15:51:50 -04:00
token Index the allocation token's redemption history entry field 2018-10-03 11:52:31 -04:00
DesignatedContact.java Fix @VisibleForTesting given the newly deployed enforcement 2019-01-10 16:23:35 -05:00
DomainAuthInfo.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainBase.java Merge DomainResource into DomainBase 2019-01-28 15:57:10 -05:00
DomainCommand.java Improve Datastore efficiency of duplicate contact messages 2019-02-11 11:22:34 -05:00
DomainInfoData.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainObjectSpec.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainRenewData.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ForeignKeyedDesignatedContact.java Fix stale documentation on {ForeignKeyed,}DesignatedContact 2017-03-21 15:28:58 -04:00
GracePeriod.java Fix various Error Prone errors that were found by the FOSS build 2019-01-28 16:05:09 -05:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Period.java Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00