google-nomulus/java/google/registry
mountford e8eabe01cf Update WHOIS output format to reflect CL&D and PDT requirements
PDT testing revealed a couple ways in which our WHOIS output was non-compliant. First, the Consistent Labeling & Display policy dictates that the contact IDs must be ROIDs. See rule 11 in https://www.icann.org/resources/pages/rdds-labeling-policy-2017-02-01-en. Second, PDT tests expect that a WHOIS response will treat missing values either by omitting the line entirely, or by including the line with a blank value, but not both. So this is legal:

Phone Number: 123-4567
Phone Number Ext:
Fax Number: 123-4568
Fax Number Ext:

and this is legal:

Phone Number: 123-4567
Fax Number: 123-4568

but this is not:

Phone Number: 123-4567
Phone Number Ext:
Fax Number: 123-4568

In the last example, one extension line is present with a blank value, while the other extension line is omitted. We cannot do both. Therefore, we should update our code to omit lines with no value. Since we can't guarantee that we will always emit all lines that the parse might expect to see, it is safe to use the policy of omitting lines with no value.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=158184150
2017-06-14 10:29:55 -04:00
..
backup Create nomulus tool restore command 2017-06-05 18:17:09 -04:00
batch Add metrics for async batch operation processing 2017-06-05 18:17:09 -04:00
bigquery Change BigQuery call from update to patch 2017-02-06 16:45:23 -05:00
braintree Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
builddefs Add build rules for "nocron" deployments 2017-04-26 10:53:16 -04:00
config Update cloudkms_java with the non-beta version 2017-06-05 18:17:09 -04:00
cron Add response information to TldFanoutAction 2017-04-10 13:32:41 -04:00
dns Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
eclipse Add Cloud KMS as dependency of eclipse package 2017-03-21 15:17:04 -04:00
env Move restore from backend to tools 2017-05-23 17:22:49 -04:00
export Cache Registrars in memory 2017-05-17 12:26:11 -04:00
flows Remove all vestiges of memcache 2017-06-14 10:28:24 -04:00
gcs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
groups Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
idn Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
keyring Update cloudkms_java with the non-beta version 2017-06-05 18:17:09 -04:00
loadtest Change auth settings on some tools service actions 2017-06-05 18:17:09 -04:00
mapreduce Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
model Remove all vestiges of memcache 2017-06-14 10:28:24 -04:00
module Move restore from backend to tools 2017-05-23 17:22:49 -04:00
monitoring Add metrics for async batch operation processing 2017-06-05 18:17:09 -04:00
pricing Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
rdap Add golden files for request component routing maps 2017-06-05 18:17:09 -04:00
rde Change auth settings on RdeStagingAction 2017-06-05 18:17:09 -04:00
request Add golden files for request component routing maps 2017-06-05 18:17:09 -04:00
security Remove XsrfTokenManager fallback for validating legacy tokens 2017-03-21 15:36:31 -04:00
storage/drive Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
tldconfig/idn Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
tmch Cache Registrars in memory 2017-05-17 12:26:11 -04:00
tools Remove all vestiges of memcache 2017-06-14 10:28:24 -04:00
ui Remove all vestiges of memcache 2017-06-14 10:28:24 -04:00
util Add golden files for request component routing maps 2017-06-05 18:17:09 -04:00
whois Update WHOIS output format to reflect CL&D and PDT requirements 2017-06-14 10:29:55 -04:00
xjc Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
xml Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
BUILD Document procedural changes to restore 2017-05-03 10:43:25 -04:00
repositories.bzl Update cloudkms_java with the non-beta version 2017-06-05 18:17:09 -04:00