google-nomulus/java/google/registry
nickfelt f296b225af Make FlowReporter log tld and various other fields
As part of b/36599833, this makes FlowReporter log the tld(s) of every domain
flow it executes, so we can provide ICANN reporting totals on a per-TLD basis.

It also adds several other fields that we're computing anyway and which seem
useful, particularly for debugging any issues we see in production with the data
that we're attempting to record for ICANN reporting.  The full set of fields is:

  - commandType (e.g. "create", "info", "transfer")
  - resourceType* (e.g. "domain", "contact", "host")
  - flowClassName (e.g. "ContactCreateFlow", "DomainRestoreRequestFlow")
  - targetId* (e.g. "ns1.foo.com", "bar.org", "contact-1234")
  - targetIds* - plural of the above, for multi-resource checks
  - tld** (e.g. "com", "co.uk") - extracted from targetId, lowercased
  - tlds** - plural of the above, deduplicated, for multi-resource checks

* = only non-empty for resource flows (not e.g. login, logout, poll)
** = only non-empty for domain flows

Note that TLD extraction is deliberately very lenient to avoid the complexity
overhead of double-validation of the domain names in the common case.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=154070794
2017-04-26 10:59:09 -04:00
..
backup Add loadWithMemcache() to Ofy 2017-04-26 10:57:41 -04:00
batch Notify registrars of async contact/host deletions 2017-04-26 10:33:55 -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 Clarify available/required OAuth scope documentation 2017-04-26 10:39:45 -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 Add mapreduce cleanup action 2017-03-13 10:24:57 -04:00
export Remove UNRESERVED as a reservation type 2017-03-27 13:31:33 -04:00
flows Make FlowReporter log tld and various other fields 2017-04-26 10:59:09 -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 Replace KeystoreKeyring with KmsKeystore comparison 2017-04-13 10:58:57 -04:00
loadtest Add a "loadtest" command to nomulus tool 2017-03-27 13:16:35 -04:00
mapreduce Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
model Add loadWithMemcache() to Ofy 2017-04-26 10:57:41 -04:00
module Replace KeystoreKeyring with KmsKeystore comparison 2017-04-13 10:58:57 -04:00
monitoring Use the actual EPP command flow name for EppMetrics 2017-03-27 13:30:05 -04:00
pricing Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
rdap Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
rde Change GenerateEscrowDepositCommand to trigger back end deposit generation 2017-04-13 10:57:24 -04:00
request Allow RdeStagingAction to be invoked manually 2017-04-10 13:47:51 -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 Use Immutable types for static final fields 2017-03-07 13:55:13 -05:00
tools Replace KeystoreKeyring with KmsKeystore comparison 2017-04-13 10:58:57 -04:00
ui Provide better error message for abuse contact phone number 2017-04-26 10:41:12 -04:00
util Fix two warnings thrown by Eclipse 2017-04-26 10:36:51 -04:00
whois Fix two warnings thrown by Eclipse 2017-04-26 10:36:51 -04:00
xjc Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
xml Replace Throwables.propagate and variants with Guava 20 versions 2017-02-02 17:01:23 -05:00
BUILD Add build rules for "nocron" deployments 2017-04-26 10:53:16 -04:00
repositories.bzl Revert upgrade to Bazel 0.4.4 2017-03-21 15:40:54 -04:00