mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Rename Response in the epp model to EppResponse
So that it doesn't conflict with request.Response. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124595393
This commit is contained in:
parent
0ce293325c
commit
7cf4ddce97
41 changed files with 92 additions and 83 deletions
|
@ -27,7 +27,7 @@ import google.registry.flows.FlowRunner.UserPrivileges;
|
|||
import google.registry.model.eppcommon.Trid;
|
||||
import google.registry.model.eppinput.EppInput;
|
||||
import google.registry.model.eppoutput.EppOutput;
|
||||
import google.registry.model.eppoutput.Response;
|
||||
import google.registry.model.eppoutput.EppResponse;
|
||||
import google.registry.model.eppoutput.Result;
|
||||
import google.registry.model.eppoutput.Result.Code;
|
||||
import google.registry.monitoring.whitebox.EppMetrics;
|
||||
|
@ -104,7 +104,7 @@ public final class EppController {
|
|||
// Create TRID (without a clTRID) if one hasn't been created yet, as it's necessary to construct
|
||||
// a valid response. This can happen if the error occurred before we could even parse out the
|
||||
// clTRID (e.g. if a syntax error occurred parsing the supplied XML).
|
||||
return EppOutput.create(new Response.Builder()
|
||||
return EppOutput.create(new EppResponse.Builder()
|
||||
.setTrid(trid == null ? Trid.create(null) : trid)
|
||||
.setResult(result)
|
||||
.setExecutionTime(clock.nowUtc())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue