updated prefixes

This commit is contained in:
Oleg Hasjanov 2021-06-04 17:07:56 +03:00
parent 177ddf0a72
commit 9e8f760fc4
28 changed files with 146 additions and 146 deletions

View file

@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
xml.tag!('domain:chkData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-eis')) do
xml.tag!('domain:chkData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee')) do
@domains.each do |x|
xml.tag!('domain:cd') do
xml.tag!('domain:name', x[:name], 'avail' => x[:avail])

View file

@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
xml.tag!('domain:creData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-eis')) do
xml.tag!('domain:creData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee')) do
xml.tag!('domain:name', @domain.name)
xml.tag!('domain:crDate', @domain.created_at.try(:iso8601))
xml.tag!('domain:exDate', @domain.valid_to.iso8601)

View file

@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
xml.tag! 'domain:infData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-eis') do
xml.tag! 'domain:infData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee') do
xml.tag!('domain:name', @domain.name)
xml.tag!('domain:roid', @domain.roid)
@domain.statuses.each do |s|

View file

@ -1,4 +1,4 @@
builder.tag!('domain:trnData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-eis')) do
builder.tag!('domain:trnData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee')) do
builder.tag!('domain:name', dt.domain_name)
builder.tag!('domain:trStatus', dt.status)
builder.tag!('domain:reID', dt.new_registrar.code)

View file

@ -5,7 +5,7 @@ xml.epp_head do
end
xml.resData do
xml.tag!('domain:renData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-eis')) do
xml.tag!('domain:renData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee')) do
xml.tag!('domain:name', @domain[:name])
xml.tag!('domain:exDate', @domain.valid_to.iso8601)
end

View file

@ -5,7 +5,7 @@ xml.epp_head do
xml.svcMenu do
xml.version '1.0'
xml.lang 'en'
xml.objURI Xsd::Schema.filename(for_prefix: 'domain-eis')
xml.objURI Xsd::Schema.filename(for_prefix: 'domain-ee')
xml.objURI Xsd::Schema.filename(for_prefix: 'contact-ee')
xml.objURI 'urn:ietf:params:xml:ns:host-1.0'
xml.svcExtension do

View file

@ -3,7 +3,7 @@
<command>
<check>
<domain:check
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}">
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name>
</domain:check>
</check>

View file

@ -3,7 +3,7 @@
<command>
<update>
<domain:update
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}">
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name>
<domain:rem>
<domain:status s="clientHold"/>

View file

@ -3,7 +3,7 @@
<command>
<create>
<domain:create
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}">
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name>
<domain:period unit="y">1</domain:period>
<domain:ns>

View file

@ -3,12 +3,12 @@
<command>
<delete>
<domain:delete
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}">
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name>
</domain:delete>
</delete>
<extension>
<eis:extdata xmlns:eis="#{Xsd::Schema.filename(for_prefix: 'eis')}">
<eis:extdata xmlns:eis="#{Xsd::Schema.filename(for_prefix: 'ee')}">
<eis:legalDocument type="pdf">
dGVzdCBmYWlsCg==
</eis:legalDocument>

View file

@ -3,7 +3,7 @@
<command>
<info>
<domain:info
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}">
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name hosts="all">example.ee</domain:name>
<domain:authInfo>
<domain:pw>2fooBAR</domain:pw>

View file

@ -3,7 +3,7 @@
<command>
<renew>
<domain:renew
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}">
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name>
<domain:curExpDate>2014-08-07</domain:curExpDate>
<domain:period unit="y">1</domain:period>

View file

@ -3,7 +3,7 @@
<command>
<transfer op="request">
<domain:transfer
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}">
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name>
<domain:authInfo>
<domain:pw roid="JD1234-REP">2BARfoo</domain:pw>
@ -11,7 +11,7 @@
</domain:transfer>
</transfer>
<extension>
<eis:extdata xmlns:eis="#{Xsd::Schema.filename(for_prefix: 'eis')}">
<eis:extdata xmlns:eis="#{Xsd::Schema.filename(for_prefix: 'ee')}">
<eis:legalDocument type="pdf">
dGVzdCBmYWlsCg==
</eis:legalDocument>

View file

@ -3,7 +3,7 @@
<command>
<update>
<domain:update
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-eis')}">
xmlns:domain="#{Xsd::Schema.filename(for_prefix: 'domain-ee')}">
<domain:name>example.ee</domain:name>
<domain:add>
<domain:ns>