google-nomulus/javatests/google/registry/flows
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
..
contact Notify registrars of async contact/host deletions 2017-04-26 10:33:55 -04:00
custom Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
domain Make FlowReporter log tld and various other fields 2017-04-26 10:59:09 -04:00
host Notify registrars of async contact/host deletions 2017-04-26 10:33:55 -04:00
poll Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
session Finish YAMLification of last necessary config values 2017-02-03 12:37:38 -05:00
testdata Disallow renaming of external hosts 2017-03-21 15:24:28 -04:00
BUILD Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
CheckApiActionTest.java Correctly set clientId on EPP metrics in LoginFlow 2017-04-26 10:56:13 -04:00
EppCommitLogsTest.java Correctly set clientId on EPP metrics in LoginFlow 2017-04-26 10:56:13 -04:00
EppConsoleActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppControllerTest.java Refactor out creation of server TRIDs so they can be tested 2017-04-13 10:55:47 -04:00
EppLifecycleContactTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLifecycleDomainApplicationTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLifecycleDomainTest.java Disallow renaming of external hosts 2017-03-21 15:24:28 -04:00
EppLifecycleHostTest.java Disallow renaming of external hosts 2017-03-21 15:24:28 -04:00
EppLifecycleLoginTest.java Correctly set clientId on EPP metrics in LoginFlow 2017-04-26 10:56:13 -04:00
EppLoggedOutTest.java Finish YAMLification of last necessary config values 2017-02-03 12:37:38 -05:00
EppLoginAdminUserTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLoginTlsTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLoginUserTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppTestCase.java Correctly set clientId on EPP metrics in LoginFlow 2017-04-26 10:56:13 -04:00
EppTestComponent.java Correctly set clientId on EPP metrics in LoginFlow 2017-04-26 10:56:13 -04:00
EppTlsActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppToolActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppXmlTransformerTest.java Add and adjust EppInput accessors for more useful properties 2017-04-26 10:51:47 -04:00
EppXxeAttackTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ExtensionManagerTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
FlowReporterTest.java Make FlowReporter log tld and various other fields 2017-04-26 10:59:09 -04:00
FlowRunnerTest.java Skip FlowReporter logging for dry runs 2017-04-26 10:54:43 -04:00
FlowTestCase.java Correctly set clientId on EPP metrics in LoginFlow 2017-04-26 10:56:13 -04:00
ResourceCheckFlowTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResourceFlowTestCase.java Make FlowReporter log tld and various other fields 2017-04-26 10:59:09 -04:00