google-nomulus/java/google/registry/flows
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
..
async Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
contact Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
domain Fix missing LRP token during LRP period behavior 2016-11-02 15:19:34 -04:00
exceptions Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
host Use Dagger to @Inject DnsQueue everywhere that is feasible 2016-10-14 16:58:07 -04:00
picker Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
poll Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
session Flatten the domain and application create flows 2016-10-19 13:08:33 -04:00
soy Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
BUILD Improve logging/reduce shard count on async deletion [] 2016-09-19 11:56:37 -04:00
CheckApiAction.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppConsoleAction.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppController.java Add EPP controller logging for XML unmarshalling failures 2016-11-02 15:19:34 -04:00
EppException.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppMetrics.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppRequestHandler.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppRequestSource.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppTlsAction.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppToolAction.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
EppXmlTransformer.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
Flow.java Remove old json logging from flows 2016-11-02 15:19:34 -04:00
FlowComponent.java Use Dagger to @Inject DnsQueue everywhere that is feasible 2016-10-14 16:58:07 -04:00
FlowModule.java Flatten the domain and application create flows 2016-10-19 13:08:33 -04:00
FlowRunner.java Remove old json logging from flows 2016-11-02 15:19:34 -04:00
FlowScope.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
GaeUserCredentials.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
HttpSessionMetadata.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
LoggedInFlow.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
PasswordOnlyTransportCredentials.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
ResourceFlowUtils.java Flatten the domain and application create flows 2016-10-19 13:08:33 -04:00
SessionMetadata.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
StatelessRequestSessionMetadata.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
TlsCredentials.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
TransactionalFlow.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
TransportCredentials.java Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00