Merge branch 'master' of github.com:domify/registry

This commit is contained in:
Martin Lensment 2015-03-30 10:47:45 +03:00
commit 45f816f160
3 changed files with 14 additions and 10 deletions

View file

@ -68,7 +68,7 @@ en:
domain_contacts: domain_contacts:
invalid: 'Contacts are invalid' invalid: 'Contacts are invalid'
not_found: 'Contact was not found' not_found: 'Contact was not found'
admin_contact_can_be_only_private_person: 'Admin contact can be only private person' admin_contact_can_be_only_private_person: 'Admin contact can be private person only'
admin_contacts: admin_contacts:
out_of_range: 'Admin contacts count must be between %{min}-%{max}' out_of_range: 'Admin contacts count must be between %{min}-%{max}'
less_than_or_equal_to: 'Admin contacts count must be less than or equal to %{count}' less_than_or_equal_to: 'Admin contacts count must be less than or equal to %{count}'

View file

@ -28,10 +28,12 @@ Contact Mapping protocol short version:
<extension> 1 <extension> 1
<eis:extdata> 1 Attribute: xmlns:eis="urn:ee:eis:xml:epp:eis-1.0" <eis:extdata> 1 Attribute: xmlns:eis="urn:ee:eis:xml:epp:eis-1.0"
<eis:ident> 1 Contact identificator <eis:ident> 1 Contact identificator
Attribute: type="bic/priv/birthday" Attribute: "type"
"bic" # Business registry code "bic" # Business registry code
"priv" # National idendtification number "priv" # National idendtification number
"birthday" # Birthday date in format in DD-MM-YYYY "birthday" # Birthday date in format in DD-MM-YYYY
Attribute: "cc"
"EE" # Country code in ISO_3166-1 aplha 2
<eis:legalDocument> 0-1 Base64 encoded document <eis:legalDocument> 0-1 Base64 encoded document
Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z"
<clTRID> 0-1 Client transaction id <clTRID> 0-1 Client transaction id
@ -62,10 +64,12 @@ Contact Mapping protocol short version:
<extension> 0-1 <extension> 0-1
<eis:extdata> 0-1 Attribute: xmlns:eis="urn:ee:eis:xml:epp:eis-1.0" <eis:extdata> 0-1 Attribute: xmlns:eis="urn:ee:eis:xml:epp:eis-1.0"
<eis:ident> 0-1 Contact identificator <eis:ident> 0-1 Contact identificator
Attribute: type="bic/priv/birthday" Attribute: "type"
"bic" # Business registry code "bic" # Business registry code
"priv" # National idendtification number "priv" # National idendtification number
"birthday" # Birthday date in format in DD-MM-YYYY "birthday" # Birthday date in format in DD-MM-YYYY
Attribute: "cc"
"EE" # Country code in ISO_3166-1 aplha 2
<eis:legalDocument> 0-1 Base64 encoded document. <eis:legalDocument> 0-1 Base64 encoded document.
Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z"
<clTRID> 0-1 Client transaction id <clTRID> 0-1 Client transaction id

View file

@ -691,7 +691,7 @@ describe 'EPP Domain', epp: true do
}) })
response = epp_plain_request(xml, :xml) response = epp_plain_request(xml, :xml)
response[:msg].should == 'Admin contact can be only private person' response[:msg].should == 'Admin contact can be private person only'
response[:result_code].should == '2306' response[:result_code].should == '2306'
end end
end end