Decouple dryRun from SessionMetadata

dryRun is only available via the (sessionless!) tool, and is not
a property of the session.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=125203026
This commit is contained in:
cgoldfeder
2016-06-27 16:16:27 -04:00
committed by Ben McIlwain
parent 3ae646d687
commit e359ab5f52
17 changed files with 31 additions and 54 deletions
+5 -1
View File
@@ -46,7 +46,11 @@ public class EppTlsAction implements Runnable {
if (!tlsCredentials.hasSni()) {
logger.warning("Request did not include required SNI header.");
}
eppRequestHandler.executeEpp(new HttpSessionMetadata(session), tlsCredentials, inputXmlBytes);
eppRequestHandler.executeEpp(
new HttpSessionMetadata(session),
tlsCredentials,
false, // This endpoint is never a dry run.
inputXmlBytes);
}
}