google-nomulus/javatests/google/registry/rdap/testdata
mountford ac822053cc Change behavior when searching contacts by name
We no longer find contacts by name if the request is not authorized to see the name.

Several changes cascade from this. Previously, the code assumed that deleted contacts might still have full names, and therefore be searchable. This is not possible in all cases, because Datastore doesn't have the right index to find deleted contacts by name with a matching registrar. However, luckily, this situation can never occur, because contacts always have their name fields nulled out when they are deleted.

So instead, we simply ignore deleted records when searching by name, knowing that none can ever match.

The tests were then changed so that deleted records look the way the really will, meaning devoid of personal information.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=172776926
2017-10-24 16:53:47 -04:00
..
rdap_associated_contact.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdap_associated_contact_no_personal_data.json Add more tests for RDAP contact data permissioning 2017-09-12 15:51:50 -04:00
rdap_contact.json Add RDAP support for deleted contacts and registrars 2017-10-04 16:16:45 -04:00
rdap_contact_deleted.json Change behavior when searching contacts by name 2017-10-24 16:53:47 -04:00
rdap_contact_no_personal_data_with_remark.json Add more tests for RDAP contact data permissioning 2017-09-12 15:51:50 -04:00
rdap_domain.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_domain_cat2.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_domain_deleted.json Add RDAP support for deleted domains and filtering by registrar 2017-10-24 16:53:47 -04:00
rdap_domain_no_contacts.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_domain_no_contacts_with_remark.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_domain_unicode.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_domain_unicode_no_contacts_with_remark.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_domains_four_truncated.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_domains_four_with_one_unicode.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_domains_four_with_one_unicode_truncated.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_domains_two.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_error_400.json mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
rdap_error_404.json mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
rdap_error_422.json mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
rdap_error_501.json mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
rdap_help_index.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdap_help_tos.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdap_host.json Add RDAP support for deleted nameservers and filtering by registrar 2017-10-04 16:16:45 -04:00
rdap_host_external.json RDAP: Add "last update of RDAP database" event 2016-08-15 17:01:29 -04:00
rdap_host_linked.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdap_host_unicode.json RDAP: Add "last update of RDAP database" event 2016-08-15 17:01:29 -04:00
rdap_incomplete_domain_result_set.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_incomplete_domains.json Revise RDAP domain action tests to check results more completely 2017-10-05 11:51:29 -04:00
rdap_multiple_contacts.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdap_multiple_contacts2.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdap_multiple_hosts.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdap_nontruncated_contacts.json Add RDAP support for deleted contacts and registrars 2017-10-04 16:16:45 -04:00
rdap_nontruncated_domains.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdap_nontruncated_hosts.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdap_nontruncated_registrars.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdap_registrar.json Add RDAP support for deleted contacts and registrars 2017-10-04 16:16:45 -04:00
rdap_registrar_test.json Add RDAP support for deleted contacts and registrars 2017-10-04 16:16:45 -04:00
rdap_truncated_contacts.json Add RDAP support for deleted contacts and registrars 2017-10-04 16:16:45 -04:00
rdap_truncated_hosts.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdap_truncated_mixed_entities.json Add RDAP support for deleted contacts and registrars 2017-10-04 16:16:45 -04:00
rdap_truncated_registrars.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdapjson_admincontact.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_domain_full.json Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
rdapjson_domain_logged_out.json Avoid showing personal contact data in RDAP when not logged in 2017-09-12 15:51:50 -04:00
rdapjson_domain_no_nameservers.json Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
rdapjson_domain_summary.json Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
rdapjson_error.json mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
rdapjson_host_both.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_host_both_summary.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_host_ipv4.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_host_ipv6.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_host_no_addresses.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_host_not_linked.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_host_pending_transfer.json Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
rdapjson_notice_alternate_link.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdapjson_notice_self_link.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdapjson_registrant.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_registrant_logged_out.json Avoid showing personal contact data in RDAP when not logged in 2017-09-12 15:51:50 -04:00
rdapjson_registrant_nobase.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_registrant_summary.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_registrant_summary_logged_out.json Avoid showing personal contact data in RDAP when not logged in 2017-09-12 15:51:50 -04:00
rdapjson_registrar.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdapjson_registrar_summary.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdapjson_rolelesscontact.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_techcontact.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00
rdapjson_toplevel.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdapjson_toplevel_domain.json Inject RDAP help information in ConfigModule 2016-12-06 11:52:46 -05:00
rdapjson_unlinkedcontact.json Handle LINKED correctly in RDAP 2017-01-30 15:03:53 -05:00