Remove old json logging from flows

This was meant for log replay and has long been ignored/useless.
As part of this, remove execution time from EppResponse since this
was the only thing consuming it.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137293734
This commit is contained in:
cgoldfeder 2016-10-26 10:54:43 -07:00 committed by Ben McIlwain
parent 5f8a95d853
commit 198558901d
7 changed files with 20 additions and 103 deletions

View file

@ -33,7 +33,6 @@ import google.registry.testing.AppEngineRule;
import google.registry.testing.FakeClock;
import google.registry.testing.ShardableTestCase;
import google.registry.util.Clock;
import google.registry.util.SystemClock;
import google.registry.xml.ValidationMode;
import org.joda.time.DateTime;
import org.junit.Before;
@ -85,7 +84,6 @@ public class EppControllerTest extends ShardableTestCase {
eppController = new EppController();
eppController.metricBuilder = EppMetric.builderForRequest("request-id-1", clock);
eppController.bigQueryMetricsEnqueuer = metricsEnqueuer;
eppController.clock = clock;
eppController.flowComponentBuilder = flowComponentBuilder;
eppController.eppMetrics = eppMetrics;
}
@ -93,8 +91,7 @@ public class EppControllerTest extends ShardableTestCase {
@Test
public void testMarshallingUnknownError() throws Exception {
marshal(
EppController.getErrorResponse(
new SystemClock(), Result.create(Code.COMMAND_FAILED), Trid.create(null)),
EppController.getErrorResponse(Result.create(Code.COMMAND_FAILED), Trid.create(null)),
ValidationMode.STRICT);
}