google-nomulus/java/google/registry
nickfelt bc0116f3a0 Add EPP controller logging for XML unmarshalling failures
This will make it much easier to detect issues with bad EPP XML (e.g. the one in the loadtest action fixed in [] based on the request logs, since otherwise the only indication of what went wrong is the EPP response returned to the client, which we don't store anywhere.

Now we'll get log messages that look like this:

google.registry.flows.EppController handleEppCommand: EPP request XML unmarshalling failed - "Syntax error at line 2, column 7: cvc-elt.1: Cannot find the declaration of element 'epp'.": (EppController.java:59)
{"clientId":"CharlestonRoad","resultCode":2001,"resultMessage":"Command syntax error","xmlBytes":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI\/Pgo8ZXBwLz4K"}
========================================
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp/>
========================================
google.registry.flows.EppXmlTransformer$GenericSyntaxErrorException: Syntax error at line 2, column 7: cvc-elt.1: Cannot find the declaration of element 'epp'.
	at google.registry.flows.EppXmlTransformer.unmarshal(EppXmlTransformer.java:89)
	at google.registry.flows.EppController.handleEppCommand(EppController.java:56)
	at google.registry.flows.EppRequestHandler.executeEpp(EppRequestHandler.java:37)
	at google.registry.flows.EppToolAction.run(EppToolAction.java:33)
        <snip>

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137363446
2016-11-02 15:19:34 -04:00
..
backup Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
batch Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
bigquery Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
braintree Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
builddefs Change all references to Domain Registry to Nomulus 2016-10-14 16:58:07 -04:00
config Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
cron Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
dns Rename CloudDnsModule to CloudDnsWriterModule for consistency 2016-11-02 15:19:34 -04:00
eclipse Integrate: Eclipse file generation script 2016-05-16 18:39:45 -04:00
env Add mapreduce for RDE hosts import 2016-10-24 11:56:53 -04:00
export Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
flows Add EPP controller logging for XML unmarshalling failures 2016-11-02 15:19:34 -04:00
gcs Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
groups Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
idn Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
keyring/api Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
loadtest Fix double-URL-encoding bug in LoadTestAction 2016-11-02 15:19:34 -04:00
mapreduce Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
model Save number of years in DomainApplication 2016-11-02 15:19:34 -04:00
module Rename CloudDnsModule to CloudDnsWriterModule for consistency 2016-11-02 15:19:34 -04:00
monitoring Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
pricing Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
rdap Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
rde Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
request Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
security Fix bugs in load test action so that it actually works 2016-10-24 11:57:00 -04:00
storage/drive Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
tldconfig/idn Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
tmch Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
tools Enable command name autocomplete for nomulus tool 2016-11-02 15:19:34 -04:00
ui Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
util Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
whois Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
xjc Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
xml Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
BUILD Fix Bazel visibility rules 2016-10-24 11:57:00 -04:00
repositories.bzl Change some Bazel deps back to earlier supported versions 2016-10-24 11:57:00 -04:00