mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Generate Server Tracking ID
This commit is contained in:
parent
bb3fc43261
commit
89c67ca637
4 changed files with 4 additions and 2 deletions
|
@ -6,6 +6,7 @@ module Epp::Common
|
||||||
end
|
end
|
||||||
|
|
||||||
def proxy
|
def proxy
|
||||||
|
@svTRID = "ccReg-#{'%010d' % rand(10 ** 10)}"
|
||||||
send(params[:command])
|
send(params[:command])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0', 'xmlns:xsi' => 'http://www.
|
||||||
end
|
end
|
||||||
|
|
||||||
xml.trID do
|
xml.trID do
|
||||||
#xml.svTRID 'svTrid'
|
|
||||||
xml.clTRID params[:clTRID]
|
xml.clTRID params[:clTRID]
|
||||||
|
xml.svTRID @svTRID
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,7 +6,7 @@ xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0', 'xmlns:xsi' => 'http://www.
|
||||||
end
|
end
|
||||||
xml.trID do
|
xml.trID do
|
||||||
xml.clTRID params[:clTRID]
|
xml.clTRID params[:clTRID]
|
||||||
xml.svTRID 'ccReg-0003012027'
|
xml.svTRID @svTRID
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,5 +8,6 @@ xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0', 'xmlns:xsi' => 'http://www.
|
||||||
|
|
||||||
xml.trID do
|
xml.trID do
|
||||||
xml.clTRID params[:clTRID]
|
xml.clTRID params[:clTRID]
|
||||||
|
xml.svTRID @svTRID
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue