diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb
index bfaf2e238..e708603ea 100644
--- a/app/controllers/epp_controller.rb
+++ b/app/controllers/epp_controller.rb
@@ -62,8 +62,8 @@ class EppController < ApplicationController
# validate legal document's type here because it may be in most of the requests
@prefix = nil
- if element_count('extension > extdata > legalDocument') > 0
- requires_attribute('extension > extdata > legalDocument', 'type', values: LegalDocument::TYPES)
+ if element_count('extdata > legalDocument') > 0
+ requires_attribute('extdata > legalDocument', 'type', values: LegalDocument::TYPES)
end
handle_errors and return if epp_errors.any?
diff --git a/app/views/admin/keyrelays/show.haml b/app/views/admin/keyrelays/show.haml
index 9b3957c9e..4f7c6281a 100644
--- a/app/views/admin/keyrelays/show.haml
+++ b/app/views/admin/keyrelays/show.haml
@@ -45,3 +45,20 @@
%dt= t('accepter')
%dd= link_to(@keyrelay.accepter, [:admin, @keyrelay.accepter])
+
+.row
+ .col-md-12
+ .panel.panel-default
+ .panel-heading.clearfix
+ = t('legal_documents')
+ .table-responsive
+ %table.table.table-hover.table-bordered.table-condensed
+ %thead
+ %tr
+ %th{class: 'col-xs-8'}= t('created_at')
+ %th{class: 'col-xs-4'}= t('type')
+ %tbody
+ - @keyrelay.legal_documents.each do |x|
+ %tr
+ %td= link_to(x.created_at, [:admin, x])
+ %td= x.document_type
diff --git a/doc/epp-examples.md b/doc/epp-examples.md
index 67f000389..23c9a2b87 100644
--- a/doc/epp-examples.md
+++ b/doc/epp-examples.md
@@ -1,9 +1,55 @@
# EPP REQUEST - RESPONSE EXAMPLES
-GENERATED AT: 2015-01-22 18:02:44 +0200
+GENERATED AT: 2015-01-29 16:37:08 +0200
EXAMPLE COUNT: 103
---
+REQUEST:
+
+```xml
+
+
+
+
+ gitlab
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-9605659156
+
+
+
+```
+
### EPP Contact with valid user create command fails if request xml is missing
REQUEST:
@@ -32,7 +78,7 @@ RESPONSE:
ABC-12345
- ccReg-3705649936
+ ccReg-5082565487
```
@@ -84,7 +130,7 @@ RESPONSE:
ABC-12345
- ccReg-0220583595
+ ccReg-4208345006
```
@@ -128,13 +174,13 @@ RESPONSE:
- 6a66beb3
- 2015-01-22 16:02:47 UTC
+ 6ea96411
+ 2015-01-29 14:37:09 UTC
ABC-12345
- ccReg-5526107011
+ ccReg-5552787115
@@ -179,13 +225,13 @@ RESPONSE:
- 3b293a67
- 2015-01-22 16:02:48 UTC
+ 65e681ce
+ 2015-01-29 14:37:09 UTC
ABC-12345
- ccReg-7017390622
+ ccReg-8119456299
@@ -230,13 +276,13 @@ RESPONSE:
- bf4e0c8d
- 2015-01-22 16:02:49 UTC
+ 5c961f09
+ 2015-01-29 14:37:09 UTC
ABC-12345
- ccReg-1383351448
+ ccReg-7819343556
@@ -281,13 +327,13 @@ RESPONSE:
- 38baa688
- 2015-01-22 16:02:49 UTC
+ 193db5f6
+ 2015-01-29 14:37:09 UTC
ABC-12345
- ccReg-2159394624
+ ccReg-7922426886
@@ -340,13 +386,13 @@ RESPONSE:
- fbcba903
- 2015-01-22 16:02:50 UTC
+ 6bad03a1
+ 2015-01-29 14:37:09 UTC
ABC-12345
- ccReg-6483389016
+ ccReg-4198238682
@@ -395,13 +441,13 @@ RESPONSE:
- fc88dad0
- 2015-01-22 16:02:50 UTC
+ f1102c73
+ 2015-01-29 14:37:09 UTC
ABC-12345
- ccReg-9275383425
+ ccReg-8870181699
@@ -438,7 +484,7 @@ RESPONSE:
ABC-12345
- ccReg-7833283657
+ ccReg-4405393350
```
@@ -447,6 +493,52 @@ RESPONSE:
REQUEST:
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-2270582286
+
+
+
+```
+
+REQUEST:
+
```xml
@@ -487,11 +579,57 @@ RESPONSE:
ABC-12345
- ccReg-2336042780
+ ccReg-5928871487
```
+REQUEST:
+
+```xml
+
+
+
+
+ gitlab
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-4616965597
+
+
+
+```
+
### EPP Contact with valid user update command is succesful
REQUEST:
@@ -536,12 +674,12 @@ RESPONSE:
sh8013
- 2015-01-22 16:02:51 UTC
+ 2015-01-29 14:37:10 UTC
ABC-12345
- ccReg-9216561619
+ ccReg-3148009993
@@ -594,7 +732,7 @@ RESPONSE:
ABC-12345
- ccReg-1975553381
+ ccReg-3411293846
```
@@ -609,7 +747,7 @@ REQUEST:
- sh8013
+ sh8013disclosure
2fooBAR
@@ -642,13 +780,13 @@ RESPONSE:
- sh8013
- 2015-01-22 16:02:53 UTC
+ sh8013disclosure
+ 2015-01-29 14:37:10 UTC
ABC-12345
- ccReg-4303402192
+ ccReg-7680027446
@@ -684,7 +822,7 @@ RESPONSE:
ABC-12345
- ccReg-4644096011
+ ccReg-6036825649
```
@@ -718,7 +856,7 @@ RESPONSE:
ABC-12345
- ccReg-4753456591
+ ccReg-8077119435
@@ -760,7 +898,7 @@ RESPONSE:
ABC-12345
- ccReg-4854328813
+ ccReg-7045011775
```
@@ -795,7 +933,7 @@ RESPONSE:
ABC-12345
- ccReg-6026141332
+ ccReg-8208028220
```
@@ -830,7 +968,7 @@ RESPONSE:
ABC-12345
- ccReg-3112058246
+ ccReg-5679761755
```
@@ -876,13 +1014,59 @@ RESPONSE:
ABC-12345
- ccReg-0212021921
+ ccReg-5723397351
```
-### EPP Contact with valid user info command discloses items with wrong password when queried by owner
+### EPP Contact with valid user info command return info about contact
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-8948206964
+
+
+
+```
REQUEST:
@@ -916,22 +1100,23 @@ RESPONSE:
Johnny Awesome
- Bednar Lights
- West Tayaberg
+ Rath Mill
+ North Petefurt
+372.12345678
- myra_price@stark.com
- 2015-01-22 16:02:56 UTC
+ cyrus@gerlach.name
+ Registrar OÜ
+ 2015-01-29 14:37:11 UTC
37605030299
- asde
+ ccds4324pok
-
+
@@ -942,66 +1127,36 @@ RESPONSE:
ABC-12345
- ccReg-5078882347
+ ccReg-3277724928
```
-### EPP Contact with valid user info command returns auth error for non-owner with wrong password
-
REQUEST:
```xml
-
-
- info-4444
-
- asdesde
-
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Authentication error
-
-
-
- ABC-12345
- ccReg-9862507491
-
-
-```
-
-### EPP Contact with valid user info command doesn't disclose items to non-owner with right password
-
-REQUEST:
-
-```xml
-
-
-
-
-
- info-4444
-
- password
-
-
-
+
+ gitlab
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
ABC-12345
@@ -1016,95 +1171,9 @@ RESPONSE:
Command completed successfully
-
-
- info-4444
-
-
-
- 2015-01-22 16:02:57 UTC
- 37605030299
-
-
-
-
-
-
-
-
-
-
-
-
ABC-12345
- ccReg-5025143485
-
-
-
-```
-
-### EPP Contact with valid user info command discloses items to owner
-
-REQUEST:
-
-```xml
-
-
-
-
-
- info-4444
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
- info-4444
-
- Johnny Awesome
-
-
- Bednar Lights
- West Tayaberg
-
-
- +372.12345678
-
- myra_price@stark.com
- 2015-01-22 16:02:57 UTC
- 37605030299
-
- password
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ABC-12345
- ccReg-5640524078
+ ccReg-4170133330
@@ -1120,7 +1189,7 @@ REQUEST:
- 123123
+ 123123
ABC-12345
@@ -1140,7 +1209,7 @@ RESPONSE:
ABC-12345
- ccReg-5902046252
+ ccReg-5332024642
```
@@ -1155,7 +1224,7 @@ REQUEST:
- info-4444
+ no-contact
password
@@ -1175,18 +1244,20 @@ RESPONSE:
Object does not exist
- info-4444
+ no-contact
ABC-12345
- ccReg-0523623817
+ ccReg-2612971476
```
-### EPP Contact with valid user info command returns info about contact
+### EPP Contact with valid user info command does not display unassociated object without password
+
+### EPP Contact with valid user info command does not display unassociated object with wrong password
REQUEST:
@@ -1194,11 +1265,24 @@ REQUEST:
-
-
- info-4444
-
-
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
ABC-12345
@@ -1213,47 +1297,14 @@ RESPONSE:
Command completed successfully
-
-
- info-4444
-
- Johnny Awesome
-
-
- Bednar Lights
- West Tayaberg
-
-
- +372.12345678
-
- myra_price@stark.com
- 2015-01-22 16:02:58 UTC
- 37605030299
-
- ccds4324pok
-
-
-
-
-
-
-
-
-
-
-
-
-
ABC-12345
- ccReg-0096158587
+ ccReg-8926329058
```
-### EPP Contact with valid user info command doesn't disclose private elements
-
REQUEST:
```xml
@@ -1264,101 +1315,7 @@ REQUEST:
info-4444
- 2fooBAR
-
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
- info-4444
-
- Kirsten Reichert
-
-
- 2015-01-22 16:02:59 UTC
- 37605030299
-
-
-
-
-
-
-
-
-
-
-
-
-
- ABC-12345
- ccReg-5758425786
-
-
-
-```
-
-### EPP Contact with valid user info command doesn't display unassociated object without password
-
-REQUEST:
-
-```xml
-
-
-
-
-
- info-4444
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Required parameter missing: pw
-
-
-
- ABC-12345
- ccReg-6684140960
-
-
-```
-
-### EPP Contact with valid user info command doesn't display unassociated object with wrong password
-
-REQUEST:
-
-```xml
-
-
-
-
-
- info-4444
-
- qwe321
+ wrong-pw
@@ -1379,7 +1336,7 @@ RESPONSE:
ABC-12345
- ccReg-2681002390
+ ccReg-4631319986
```
@@ -1417,12 +1374,58 @@ RESPONSE:
ABC-12345
- ccReg-1317969812
+ ccReg-6371946715
```
-### EPP Domain with valid user returns error if contact does not exists
+REQUEST:
+
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-2036734228
+
+
+
+```
+
+### EPP Domain returns error if contact does not exists
REQUEST:
@@ -1432,7 +1435,7 @@ REQUEST:
- example.ee
+ example1.ee
1
@@ -1444,10 +1447,10 @@ REQUEST:
ns2.example.net
- jd1234
- sh8013
- sh8013
- sh801333
+ citizen_1234
+ citizen_1234
+ sh1111
+ sh2222
@@ -1477,24 +1480,24 @@ RESPONSE:
Contact was not found
- sh8013
+ sh1111
Contact was not found
- sh801333
+ sh2222
ABC-12345
- ccReg-6650464957
+ ccReg-2209864981
```
-### EPP Domain with valid user validates required parameters
+### EPP Domain validates required parameters
REQUEST:
@@ -1519,13 +1522,13 @@ RESPONSE:
- Required parameter missing: ns
+ Required parameter missing: create > create > ns
- Required parameter missing: registrant
+ Required parameter missing: create > create > registrant
- Required parameter missing: ns > hostAttr
+ Required parameter missing: create > create > ns > hostAttr
Required parameter missing: extension > extdata > legalDocument
@@ -1533,192 +1536,12 @@ RESPONSE:
ABC-12345
- ccReg-2689050873
+ ccReg-5241644719
```
-### EPP Domain with valid user checks a domain
-
-REQUEST:
-
-```xml
-
-
-
-
-
- example.ee
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
-
- example.ee
-
-
-
-
- ABC-12345
- ccReg-0840638765
-
-
-
-```
-
-REQUEST:
-
-```xml
-
-
-
-
-
- example.ee
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
-
- example.ee
- in use
-
-
-
-
- ABC-12345
- ccReg-8573572934
-
-
-
-```
-
-### EPP Domain with valid user checks multiple domains
-
-REQUEST:
-
-```xml
-
-
-
-
-
- one.ee
- two.ee
- three.ee
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
-
- one.ee
-
-
- two.ee
-
-
- three.ee
-
-
-
-
- ABC-12345
- ccReg-1562345838
-
-
-
-```
-
-### EPP Domain with valid user checks invalid format domain
-
-REQUEST:
-
-```xml
-
-
-
-
-
- one.ee
- notcorrectdomain
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
-
- one.ee
-
-
- notcorrectdomain
- invalid format
-
-
-
-
- ABC-12345
- ccReg-1373046993
-
-
-
-```
-
-### EPP Domain with valid user with citizen as an owner creates a domain
+### EPP Domain with citizen as an owner creates a domain
REQUEST:
@@ -1728,7 +1551,7 @@ REQUEST:
- example.ee
+ example2.ee
1
@@ -1740,7 +1563,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -1775,20 +1598,20 @@ RESPONSE:
- example.ee
- 2015-01-22 16:03:03 UTC
- 2016-01-22 00:00:00 UTC
+ example2.ee
+ 2015-01-29 14:37:14 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-1572143752
+ ccReg-0898112664
```
-### EPP Domain with valid user with citizen as an owner creates a domain with legal document
+### EPP Domain with citizen as an owner creates a domain with legal document
REQUEST:
@@ -1798,7 +1621,7 @@ REQUEST:
- example.ee
+ example4.ee
1
@@ -1810,7 +1633,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -1837,20 +1660,20 @@ RESPONSE:
- example.ee
- 2015-01-22 16:03:03 UTC
- 2016-01-22 00:00:00 UTC
+ example4.ee
+ 2015-01-29 14:37:14 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-6181705313
+ ccReg-1805969383
```
-### EPP Domain with valid user with citizen as an owner creates ria.ee with valid ds record
+### EPP Domain with citizen as an owner creates ria.ee with valid ds record
REQUEST:
@@ -1872,7 +1695,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -1908,19 +1731,19 @@ RESPONSE:
ria.ee
- 2015-01-22 16:03:04 UTC
- 2016-01-22 00:00:00 UTC
+ 2015-01-29 14:37:14 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-5741475436
+ ccReg-0011097743
```
-### EPP Domain with valid user with citizen as an owner validates nameserver ipv4 when in same zone as domain
+### EPP Domain with citizen as an owner validates nameserver ipv4 when in same zone as domain
REQUEST:
@@ -1930,17 +1753,17 @@ REQUEST:
- example.ee
+ example6.ee
1
- ns1.example.ee
+ ns1.example6.ee
- ns2.example.ee
+ ns2.example6.ee
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -1976,12 +1799,12 @@ RESPONSE:
ABC-12345
- ccReg-9633254459
+ ccReg-5138544880
```
-### EPP Domain with valid user with citizen as an owner does not create duplicate domain
+### EPP Domain with citizen as an owner does not create duplicate domain
REQUEST:
@@ -1991,7 +1814,7 @@ REQUEST:
- example.ee
+ example8.ee
1
@@ -2003,7 +1826,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2038,15 +1861,15 @@ RESPONSE:
- example.ee
- 2015-01-22 16:03:05 UTC
- 2016-01-22 00:00:00 UTC
+ example8.ee
+ 2015-01-29 14:37:14 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-1634205117
+ ccReg-9308011425
```
@@ -2059,7 +1882,7 @@ REQUEST:
- example.ee
+ example8.ee
1
@@ -2071,7 +1894,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2104,18 +1927,18 @@ RESPONSE:
Domain name already exists
- example.ee
+ example8.ee
ABC-12345
- ccReg-8572553222
+ ccReg-7366518908
```
-### EPP Domain with valid user with citizen as an owner does not create reserved domain
+### EPP Domain with citizen as an owner does not create reserved domain
REQUEST:
@@ -2137,7 +1960,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2176,12 +1999,12 @@ RESPONSE:
ABC-12345
- ccReg-1317985794
+ ccReg-7680945421
```
-### EPP Domain with valid user with citizen as an owner does not create domain without contacts and registrant
+### EPP Domain with citizen as an owner does not create domain without contacts and registrant
REQUEST:
@@ -2191,7 +2014,7 @@ REQUEST:
- example.ee
+ example12.ee
1
@@ -2234,17 +2057,17 @@ RESPONSE:
- Required parameter missing: registrant
+ Required parameter missing: create > create > registrant
ABC-12345
- ccReg-7658486931
+ ccReg-3175970158
```
-### EPP Domain with valid user with citizen as an owner does not create domain without nameservers
+### EPP Domain with citizen as an owner does not create domain without nameservers
REQUEST:
@@ -2254,10 +2077,10 @@ REQUEST:
- example.ee
+ example13.ee
1
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2288,20 +2111,17 @@ RESPONSE:
- Required parameter missing: ns
-
-
- Required parameter missing: ns > hostAttr
+ Required parameter missing: create > create > ns > hostAttr
ABC-12345
- ccReg-5180426661
+ ccReg-6004073128
```
-### EPP Domain with valid user with citizen as an owner does not create domain with too many nameservers
+### EPP Domain with citizen as an owner does not create domain with too many nameservers
REQUEST:
@@ -2311,7 +2131,7 @@ REQUEST:
- example.ee
+ example14.ee
1
@@ -2357,7 +2177,7 @@ REQUEST:
ns13.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2393,12 +2213,12 @@ RESPONSE:
ABC-12345
- ccReg-3291259937
+ ccReg-9857139853
```
-### EPP Domain with valid user with citizen as an owner returns error when invalid nameservers are present
+### EPP Domain with citizen as an owner returns error when invalid nameservers are present
REQUEST:
@@ -2408,7 +2228,7 @@ REQUEST:
- example.ee
+ example15.ee
1
@@ -2418,7 +2238,7 @@ REQUEST:
-invalid2
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2463,12 +2283,12 @@ RESPONSE:
ABC-12345
- ccReg-5104641202
+ ccReg-5169552858
```
-### EPP Domain with valid user with citizen as an owner checks hostAttr presence
+### EPP Domain with citizen as an owner checks hostAttr presence
REQUEST:
@@ -2478,13 +2298,13 @@ REQUEST:
- example.ee
+ example16.ee
1
ns1.example.ee
ns2.example.ee
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2515,17 +2335,17 @@ RESPONSE:
- Required parameter missing: ns > hostAttr
+ Required parameter missing: create > create > ns > hostAttr
ABC-12345
- ccReg-5737198880
+ ccReg-0362209829
```
-### EPP Domain with valid user with citizen as an owner creates domain with nameservers with ips
+### EPP Domain with citizen as an owner creates domain with nameservers with ips
REQUEST:
@@ -2535,7 +2355,7 @@ REQUEST:
- example.ee
+ example17.ee
1
@@ -2547,7 +2367,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2577,20 +2397,20 @@ RESPONSE:
- example.ee
- 2015-01-22 16:03:08 UTC
- 2016-01-22 00:00:00 UTC
+ example17.ee
+ 2015-01-29 14:37:14 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-9028713324
+ ccReg-0104152781
```
-### EPP Domain with valid user with citizen as an owner returns error when nameserver has invalid ips
+### EPP Domain with citizen as an owner returns error when nameserver has invalid ips
REQUEST:
@@ -2600,7 +2420,7 @@ REQUEST:
- example.ee
+ example18.ee
1
@@ -2612,7 +2432,7 @@ REQUEST:
invalid_ipv6
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2652,12 +2472,12 @@ RESPONSE:
ABC-12345
- ccReg-7976917645
+ ccReg-5275363669
```
-### EPP Domain with valid user with citizen as an owner creates a domain with period in days
+### EPP Domain with citizen as an owner creates a domain with period in days
REQUEST:
@@ -2667,7 +2487,7 @@ REQUEST:
- example.ee
+ example19.ee
1
@@ -2679,7 +2499,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2714,20 +2534,20 @@ RESPONSE:
- example.ee
- 2015-01-22 16:03:09 UTC
- 2016-01-22 00:00:00 UTC
+ example19.ee
+ 2015-01-29 14:37:15 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-5687502537
+ ccReg-5252404496
```
-### EPP Domain with valid user with citizen as an owner does not create a domain with invalid period
+### EPP Domain with citizen as an owner does not create a domain with invalid period
REQUEST:
@@ -2737,7 +2557,7 @@ REQUEST:
- example.ee
+ example20.ee
367
@@ -2749,7 +2569,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2788,12 +2608,12 @@ RESPONSE:
ABC-12345
- ccReg-9848028894
+ ccReg-9221478530
```
-### EPP Domain with valid user with citizen as an owner creates a domain with multiple dnskeys
+### EPP Domain with citizen as an owner creates a domain with multiple dnskeys
REQUEST:
@@ -2803,7 +2623,7 @@ REQUEST:
- example.ee
+ example21.ee
1
@@ -2815,7 +2635,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2862,20 +2682,20 @@ RESPONSE:
- example.ee
- 2015-01-22 16:03:10 UTC
- 2016-01-22 00:00:00 UTC
+ example21.ee
+ 2015-01-29 14:37:15 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-4080560393
+ ccReg-0779134263
```
-### EPP Domain with valid user with citizen as an owner does not create a domain when dnskeys are invalid
+### EPP Domain with citizen as an owner does not create a domain when dnskeys are invalid
REQUEST:
@@ -2885,7 +2705,7 @@ REQUEST:
- example.ee
+ example22.ee
1
@@ -2897,7 +2717,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -2981,12 +2801,12 @@ RESPONSE:
ABC-12345
- ccReg-4799605498
+ ccReg-5129719313
```
-### EPP Domain with valid user with citizen as an owner does not create a domain with two identical dnskeys
+### EPP Domain with citizen as an owner does not create a domain with two identical dnskeys
REQUEST:
@@ -2996,7 +2816,7 @@ REQUEST:
- example.ee
+ example23.ee
1
@@ -3008,7 +2828,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -3053,12 +2873,12 @@ RESPONSE:
ABC-12345
- ccReg-2174097565
+ ccReg-7226565627
```
-### EPP Domain with valid user with citizen as an owner validated dnskeys count
+### EPP Domain with citizen as an owner validated dnskeys count
REQUEST:
@@ -3068,7 +2888,7 @@ REQUEST:
- example.ee
+ example24.ee
1
@@ -3080,7 +2900,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -3122,12 +2942,12 @@ RESPONSE:
ABC-12345
- ccReg-9180122485
+ ccReg-0813411699
```
-### EPP Domain with valid user with citizen as an owner creates domain with ds data
+### EPP Domain with citizen as an owner creates domain with ds data
REQUEST:
@@ -3137,7 +2957,7 @@ REQUEST:
- example.ee
+ example25.ee
1
@@ -3149,7 +2969,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -3184,20 +3004,20 @@ RESPONSE:
- example.ee
- 2015-01-22 16:03:12 UTC
- 2016-01-22 00:00:00 UTC
+ example25.ee
+ 2015-01-29 14:37:15 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-1613286337
+ ccReg-6398067973
```
-### EPP Domain with valid user with citizen as an owner creates domain with ds data with key
+### EPP Domain with citizen as an owner creates domain with ds data with key
REQUEST:
@@ -3207,7 +3027,7 @@ REQUEST:
- example.ee
+ example26.ee
1
@@ -3219,7 +3039,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -3260,20 +3080,20 @@ RESPONSE:
- example.ee
- 2015-01-22 16:03:13 UTC
- 2016-01-22 00:00:00 UTC
+ example26.ee
+ 2015-01-29 14:37:15 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-9621237815
+ ccReg-5195420892
```
-### EPP Domain with valid user with citizen as an owner prohibits dsData with key
+### EPP Domain with citizen as an owner prohibits dsData with key
REQUEST:
@@ -3283,7 +3103,7 @@ REQUEST:
- example.ee
+ example27.ee
1
@@ -3295,7 +3115,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -3337,12 +3157,12 @@ RESPONSE:
ABC-12345
- ccReg-7734495115
+ ccReg-2822562520
```
-### EPP Domain with valid user with citizen as an owner prohibits dsData
+### EPP Domain with citizen as an owner prohibits dsData
REQUEST:
@@ -3352,7 +3172,7 @@ REQUEST:
- example.ee
+ example28.ee
1
@@ -3364,7 +3184,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -3406,12 +3226,12 @@ RESPONSE:
ABC-12345
- ccReg-0383718891
+ ccReg-9033917156
```
-### EPP Domain with valid user with citizen as an owner prohibits keyData
+### EPP Domain with citizen as an owner prohibits keyData
REQUEST:
@@ -3421,7 +3241,7 @@ REQUEST:
- example.ee
+ example29.ee
1
@@ -3433,7 +3253,7 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
sh8013
sh8013
sh801333
@@ -3469,12 +3289,12 @@ RESPONSE:
ABC-12345
- ccReg-1861000064
+ ccReg-7411900292
```
-### EPP Domain with valid user with juridical persion as an owner creates a domain with contacts
+### EPP Domain with citizen as an owner prohibits dsData and keyData when they exists together
REQUEST:
@@ -3484,7 +3304,7 @@ REQUEST:
- example.ee
+ example30.ee
1
@@ -3496,7 +3316,76 @@ REQUEST:
ns2.example.net
- jd1234
+ citizen_1234
+ sh8013
+ sh8013
+ sh801333
+
+
+
+
+
+ 12345
+ 3
+ 1
+ 49FD46E6C4B45C55D4AC
+
+
+ 0
+ 3
+ 5
+ 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f
+
+
+
+ JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Mutually exclusive parameters: extension > create > keyData, extension > create > dsData
+
+
+
+ ABC-12345
+ ccReg-3926969980
+
+
+```
+
+### EPP Domain with juridical persion as an owner creates a domain with contacts
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ example31.ee
+ 1
+
+
+ ns1.example.net
+ 192.0.2.2
+ 1080:0:0:0:8:800:200C:417A
+
+
+ ns2.example.net
+
+
+ juridical_1234
sh8013
@@ -3529,20 +3418,20 @@ RESPONSE:
- example.ee
- 2015-01-22 16:03:15 UTC
- 2016-01-22 00:00:00 UTC
+ example31.ee
+ 2015-01-29 14:37:16 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-8230618922
+ ccReg-1803704181
```
-### EPP Domain with valid user with juridical persion as an owner does not create a domain without admin contact
+### EPP Domain with juridical persion as an owner does not create a domain without admin contact
REQUEST:
@@ -3552,7 +3441,7 @@ REQUEST:
- example.ee
+ example32.ee
1
@@ -3564,7 +3453,7 @@ REQUEST:
ns2.example.net
- jd1234
+ juridical_1234
sh8013
@@ -3598,12 +3487,12 @@ RESPONSE:
ABC-12345
- ccReg-4144716885
+ ccReg-6174363771
```
-### EPP Domain with valid user with juridical persion as an owner cannot assign juridical person as admin contact
+### EPP Domain with juridical persion as an owner cannot assign juridical person as admin contact
REQUEST:
@@ -3613,7 +3502,7 @@ REQUEST:
- example.ee
+ example33.ee
1
@@ -3625,8 +3514,8 @@ REQUEST:
ns2.example.net
- jd1234
- jd1234
+ juridical_1234
+ juridical_1234
@@ -3656,18 +3545,64 @@ RESPONSE:
Admin contact can be only citizen
- jd1234
+ juridical_1234
ABC-12345
- ccReg-2849769695
+ ccReg-4700933742
```
-### EPP Domain with valid user with valid domain transfers a domain
+### EPP Domain with valid domain transfers a domain
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-1087330100
+
+
+
+```
REQUEST:
@@ -3677,9 +3612,9 @@ REQUEST:
- example.ee
+ example34.ee
- 171490eb9cc2d032d24b642a6f2bba02
+ 64c6e246e5db07ca9fadb327211511e4
@@ -3699,34 +3634,80 @@ RESPONSE:
- example.ee
+ example34.ee
serverApproved
123
- 2015-01-22 16:03:17 UTC
+ 2015-01-29 14:37:16 UTC
12345678
- 2015-01-22 16:03:17 UTC
- 2016-01-22 00:00:00 UTC
+ 2015-01-29 14:37:16 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-3341177020
+ ccReg-3808490159
```
REQUEST:
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-8864691000
+
+
+
+```
+
+REQUEST:
+
```xml
- example.ee
+ example34.ee
- 77eae4d659fa7fbf3835d6c6ced9eaf2
+ ee317e4bd4a982214ec50017b28fca33
@@ -3746,19 +3727,19 @@ RESPONSE:
- example.ee
+ example34.ee
pending
12345678
- 2015-01-22 16:03:17 UTC
+ 2015-01-29 14:37:16 UTC
123
- 2015-01-22 17:03:17 UTC
- 2016-01-22 00:00:00 UTC
+ 2015-01-29 15:37:16 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-2530628270
+ ccReg-3380890617
```
@@ -3771,9 +3752,9 @@ REQUEST:
- example.ee
+ example34.ee
- 77eae4d659fa7fbf3835d6c6ced9eaf2
+ ee317e4bd4a982214ec50017b28fca33
@@ -3793,25 +3774,71 @@ RESPONSE:
- example.ee
+ example34.ee
pending
12345678
- 2015-01-22 16:03:17 UTC
+ 2015-01-29 14:37:16 UTC
123
- 2015-01-22 17:03:17 UTC
- 2016-01-22 00:00:00 UTC
+ 2015-01-29 15:37:16 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-4649706691
+ ccReg-8626741512
```
REQUEST:
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-7047341745
+
+
+
+```
+
+REQUEST:
+
```xml
@@ -3832,23 +3859,115 @@ RESPONSE:
Command completed successfully; ack to dequeue
- 2015-01-22 16:03:17 UTC
+ 2015-01-29 14:37:16 UTC
Transfer requested.
- example.ee
+ example34.ee
pending
12345678
- 2015-01-22 16:03:17 UTC
+ 2015-01-29 14:37:16 UTC
123
- 2015-01-22 17:03:17 UTC
- 2016-01-22 00:00:00 UTC
+ 2015-01-29 15:37:16 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-9005087572
+ ccReg-0036145470
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-0295191366
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-4143637041
@@ -3878,13 +3997,105 @@ RESPONSE:
ABC-12345
- ccReg-5368250777
+ ccReg-1853825992
```
-### EPP Domain with valid user with valid domain creates a domain transfer with legal document
+REQUEST:
+
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-9240064798
+
+
+
+```
+
+### EPP Domain with valid domain creates a domain transfer with legal document
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-1774087787
+
+
+
+```
REQUEST:
@@ -3894,9 +4105,9 @@ REQUEST:
- example.ee
+ example37.ee
- 855c3aa9be2dc8fbf67ce7199a31ad86
+ d8cddd150cf7d24b34a0f3038cbcbf72
@@ -3921,34 +4132,126 @@ RESPONSE:
- example.ee
+ example37.ee
pending
123
- 2015-01-22 16:03:18 UTC
+ 2015-01-29 14:37:17 UTC
12345678
- 2015-01-22 17:03:18 UTC
- 2016-01-22 00:00:00 UTC
+ 2015-01-29 15:37:17 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-0211913262
+ ccReg-6856272542
```
REQUEST:
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-8458283248
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-1482519636
+
+
+
+```
+
+REQUEST:
+
```xml
- example.ee
+ example37.ee
- 855c3aa9be2dc8fbf67ce7199a31ad86
+ d8cddd150cf7d24b34a0f3038cbcbf72
@@ -3973,24 +4276,70 @@ RESPONSE:
- example.ee
+ example37.ee
pending
123
- 2015-01-22 16:03:18 UTC
+ 2015-01-29 14:37:17 UTC
12345678
- 2015-01-22 17:03:18 UTC
- 2016-01-22 00:00:00 UTC
+ 2015-01-29 15:37:17 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-2188250337
+ ccReg-6033276040
```
-### EPP Domain with valid user with valid domain approves the transfer request
+REQUEST:
+
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-6854047677
+
+
+
+```
+
+### EPP Domain with valid domain approves the transfer request
REQUEST:
@@ -4000,9 +4349,9 @@ REQUEST:
- example.ee
+ example39.ee
- cbaa4152b4b4745460f6034ab36e141c
+ f71c7aa92230c1c80a17b5d4c25386be
@@ -4022,24 +4371,70 @@ RESPONSE:
- example.ee
+ example39.ee
clientApproved
123
- 2015-01-22 16:03:18 UTC
+ 2015-01-29 14:37:17 UTC
12345678
- 2015-01-22 16:03:19 UTC
- 2016-01-22 00:00:00 UTC
+ 2015-01-29 14:37:17 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-6728989856
+ ccReg-3058350454
```
-### EPP Domain with valid user with valid domain rejects a domain transfer
+### EPP Domain with valid domain rejects a domain transfer
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-7419467469
+
+
+
+```
REQUEST:
@@ -4049,9 +4444,9 @@ REQUEST:
- example.ee
+ example41.ee
- fc605097eaf0261dc8a9403fc4dacefb
+ c5b066c1ff235f6df98521f9d12ba430
@@ -4077,22 +4472,68 @@ RESPONSE:
ABC-12345
- ccReg-0025441931
+ ccReg-5434026715
```
REQUEST:
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-7272167764
+
+
+
+```
+
+REQUEST:
+
```xml
- example.ee
+ example41.ee
- fc605097eaf0261dc8a9403fc4dacefb
+ c5b066c1ff235f6df98521f9d12ba430
@@ -4117,24 +4558,70 @@ RESPONSE:
- example.ee
+ example41.ee
clientRejected
123
- 2015-01-22 16:03:19 UTC
+ 2015-01-29 14:37:17 UTC
12345678
- 2016-01-22 00:00:00 UTC
+ 2016-01-29 00:00:00 UTC
ABC-12345
- ccReg-3004003476
+ ccReg-7881371770
```
-### EPP Domain with valid user with valid domain prohibits wrong registrar from approving transfer
+### EPP Domain with valid domain prohibits wrong registrar from approving transfer
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-3661382457
+
+
+
+```
REQUEST:
@@ -4144,9 +4631,9 @@ REQUEST:
- example.ee
+ example43.ee
- 28ddb23cf076e5a4adcb9a3ea9f2d215
+ 643ba7ffcda956f1efd73703944edae2
@@ -4167,12 +4654,58 @@ RESPONSE:
ABC-12345
- ccReg-1632442836
+ ccReg-1502255734
```
-### EPP Domain with valid user with valid domain does not transfer with invalid pw
+REQUEST:
+
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-4561833267
+
+
+
+```
+
+### EPP Domain with valid domain does not transfer with invalid pw
REQUEST:
@@ -4182,9 +4715,9 @@ REQUEST:
- example.ee
+ example45.ee
- test
+ test
@@ -4205,12 +4738,12 @@ RESPONSE:
ABC-12345
- ccReg-2054595808
+ ccReg-1617826528
```
-### EPP Domain with valid user with valid domain ignores transfer when owner registrar requests transfer
+### EPP Domain with valid domain ignores transfer when owner registrar requests transfer
REQUEST:
@@ -4220,9 +4753,9 @@ REQUEST:
- example.ee
+ example47.ee
- 4925f0da1617297a3b8c47efd1a8af58
+ f54215bdb344f6a90b75105e40dde7a4
@@ -4243,12 +4776,12 @@ RESPONSE:
ABC-12345
- ccReg-3996513920
+ ccReg-4731348585
```
-### EPP Domain with valid user with valid domain returns an error for incorrect op attribute
+### EPP Domain with valid domain returns an error for incorrect op attribute
REQUEST:
@@ -4258,9 +4791,9 @@ REQUEST:
- example.ee
+ example50.ee
- 98oiewslkfkd
+ 98oiewslkfkd
@@ -4276,17 +4809,63 @@ RESPONSE:
- Attribute op is invalid
+ Attribute is invalid: op
ABC-12345
- ccReg-5195213842
+ ccReg-6057139057
```
-### EPP Domain with valid user with valid domain creates new pw after successful transfer
+### EPP Domain with valid domain creates new pw after successful transfer
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-4697397917
+
+
+
+```
REQUEST:
@@ -4296,9 +4875,56 @@ REQUEST:
- example.ee
+ example51.ee
- 98oiewslkfkd
+ 53d13282073ac841b58777e8d8eec712
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+ example51.ee
+ serverApproved
+ 123
+ 2015-01-29 14:37:18 UTC
+ 12345678
+ 2015-01-29 14:37:18 UTC
+ 2016-01-29 00:00:00 UTC
+
+
+
+
+ ABC-12345
+ ccReg-2344709786
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ example51.ee
+
+ 53d13282073ac841b58777e8d8eec712
@@ -4319,7 +4945,7 @@ RESPONSE:
ABC-12345
- ccReg-3465206289
+ ccReg-7912619762
```
@@ -4330,14 +4956,24 @@ REQUEST:
-
-
- example.ee
-
- 98oiewslkfkd
-
-
-
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
ABC-12345
@@ -4349,18 +4985,18 @@ RESPONSE:
-
- Authorization error
+
+ Command completed successfully
-
ABC-12345
- ccReg-2653385954
+ ccReg-9284561579
+
```
-### EPP Domain with valid user with valid domain updates a domain
+### EPP Domain with valid domain updates a domain
REQUEST:
@@ -4370,9 +5006,9 @@ REQUEST:
- example.ee
+ example53.ee
- mak21
+ citizen_1234
@@ -4399,12 +5035,12 @@ RESPONSE:
ABC-12345
- ccReg-1695350616
+ ccReg-2155291918
```
-### EPP Domain with valid user with valid domain updates domain and adds objects
+### EPP Domain with valid domain updates domain and adds objects
REQUEST:
@@ -4414,7 +5050,7 @@ REQUEST:
- example.ee
+ example55.ee
@@ -4468,7 +5104,7 @@ RESPONSE:
ABC-12345
- ccReg-7427001175
+ ccReg-3402580641
```
@@ -4481,7 +5117,7 @@ REQUEST:
- example.ee
+ example55.ee
@@ -4532,7 +5168,7 @@ RESPONSE:
ABC-12345
- ccReg-3862396891
+ ccReg-7100714699
```
@@ -4545,7 +5181,7 @@ REQUEST:
- example.ee
+ example55.ee
@@ -4635,12 +5271,12 @@ RESPONSE:
ABC-12345
- ccReg-6682495988
+ ccReg-3284023666
```
-### EPP Domain with valid user with valid domain updates a domain and removes objects
+### EPP Domain with valid domain updates a domain and removes objects
REQUEST:
@@ -4650,7 +5286,7 @@ REQUEST:
- example.ee
+ example57.ee
@@ -4660,7 +5296,7 @@ REQUEST:
ns2.example.com
- mak21
+ citizen_1234
Payment overdue.
@@ -4701,7 +5337,7 @@ RESPONSE:
ABC-12345
- ccReg-8678996041
+ ccReg-9064733355
```
@@ -4714,14 +5350,14 @@ REQUEST:
- example.ee
+ example57.ee
ns1.example.com
- mak21
+ citizen_1234
@@ -4752,7 +5388,7 @@ RESPONSE:
ABC-12345
- ccReg-7170786152
+ ccReg-6918905121
```
@@ -4765,14 +5401,14 @@ REQUEST:
- example.ee
+ example57.ee
ns1.example.com
- mak21
+ citizen_1234
@@ -4800,7 +5436,7 @@ RESPONSE:
Contact was not found
- mak21
+ citizen_1234
@@ -4818,12 +5454,12 @@ RESPONSE:
ABC-12345
- ccReg-1228096177
+ ccReg-2893016460
```
-### EPP Domain with valid user with valid domain does not remove server statuses
+### EPP Domain with valid domain does not remove server statuses
REQUEST:
@@ -4833,7 +5469,7 @@ REQUEST:
- example.ee
+ example60.ee
@@ -4859,12 +5495,12 @@ RESPONSE:
ABC-12345
- ccReg-8056033997
+ ccReg-7511102603
```
-### EPP Domain with valid user with valid domain does not add duplicate objects to domain
+### EPP Domain with valid domain does not add duplicate objects to domain
REQUEST:
@@ -4874,14 +5510,14 @@ REQUEST:
- example.ee
+ example62.ee
- ns.volkman45.ee
+ ns.bruen42.ee
- sh0393
+ sh65147211
@@ -4899,19 +5535,19 @@ RESPONSE:
Nameserver already exists on this domain
- ns.volkman45.ee
+ ns.bruen42.ee
Contact already exists on this domain
- sh0393
+ sh65147211
ABC-12345
- ccReg-5806636530
+ ccReg-4200388844
```
@@ -4924,14 +5560,14 @@ REQUEST:
- example.ee
+ example62.ee
- ns.volkman45.ee
+ ns.bruen42.ee
- sh0393
+ sh65147211
@@ -4949,24 +5585,24 @@ RESPONSE:
Nameserver already exists on this domain
- ns.volkman45.ee
+ ns.bruen42.ee
Contact already exists on this domain
- sh0393
+ sh65147211
ABC-12345
- ccReg-0654236297
+ ccReg-1874861949
```
-### EPP Domain with valid user with valid domain cannot change registrant without legal document
+### EPP Domain with valid domain cannot change registrant without legal document
REQUEST:
@@ -4976,9 +5612,9 @@ REQUEST:
- example.ee
+ example64.ee
- mak21
+ citizen_1234
@@ -4999,12 +5635,12 @@ RESPONSE:
ABC-12345
- ccReg-5034054993
+ ccReg-8777483785
```
-### EPP Domain with valid user with valid domain does not assign invalid status to domain
+### EPP Domain with valid domain does not assign invalid status to domain
REQUEST:
@@ -5014,7 +5650,7 @@ REQUEST:
- example.ee
+ example66.ee
@@ -5040,12 +5676,12 @@ RESPONSE:
ABC-12345
- ccReg-0500563171
+ ccReg-0736364937
```
-### EPP Domain with valid user with valid domain renews a domain
+### EPP Domain with valid domain renews a domain
REQUEST:
@@ -5055,8 +5691,8 @@ REQUEST:
- example.ee
- 2016-01-22
+ example68.ee
+ 2016-01-29
1
@@ -5076,19 +5712,19 @@ RESPONSE:
- example.ee
- 2017-01-22 00:00:00 UTC
+ example68.ee
+ 2017-01-29 00:00:00 UTC
ABC-12345
- ccReg-7831614106
+ ccReg-6264410081
```
-### EPP Domain with valid user with valid domain returns an error when given and current exp dates do not match
+### EPP Domain with valid domain returns an error when given and current exp dates do not match
REQUEST:
@@ -5098,8 +5734,8 @@ REQUEST:
- example.ee
- 2016-08-07
+ example69.ee
+ 2200-08-07
1
@@ -5117,18 +5753,18 @@ RESPONSE:
Given and current expire dates do not match
- 2016-08-07
+ 2200-08-07
ABC-12345
- ccReg-6698206496
+ ccReg-8828722715
```
-### EPP Domain with valid user with valid domain returns an error when period is invalid
+### EPP Domain with valid domain returns an error when period is invalid
REQUEST:
@@ -5138,8 +5774,8 @@ REQUEST:
- example.ee
- 2016-01-22
+ example70.ee
+ 2016-01-29
4
@@ -5163,12 +5799,12 @@ RESPONSE:
ABC-12345
- ccReg-4601953194
+ ccReg-8405958560
```
-### EPP Domain with valid user with valid domain returns domain info
+### EPP Domain with valid domain returns domain info
REQUEST:
@@ -5178,7 +5814,7 @@ REQUEST:
- Example.ee
+ example71.ee
2fooBAR
@@ -5200,22 +5836,22 @@ RESPONSE:
- example.ee
+ example71.ee
Payment overdue.
- sh5011
- sh5011
- sh1932
+ sh40710177
+ sh40710177
+ sh70339938
- ns.weissnat63.ee
+ ns.gutmann60.ee
192.168.1.1
- ns.homenick64.ee
+ ns.skiles61.ee
192.168.1.1
- ns.lakin65.ee
+ ns.white62.ee
192.168.1.1
@@ -5226,10 +5862,10 @@ RESPONSE:
Registrar OÜ
Registrar OÜ
- 2015-01-22 16:03:29 UTC
- 2016-01-22 00:00:00 UTC
+ 2015-01-29 14:37:20 UTC
+ 2016-01-29 00:00:00 UTC
- 1f67e29cce40e12b069afef7e289ae09
+ 95c0d03b3859ae425699088837e418e2
@@ -5264,7 +5900,7 @@ RESPONSE:
ABC-12345
- ccReg-5438095029
+ ccReg-0272694901
```
@@ -5277,7 +5913,7 @@ REQUEST:
- example.ee
+ example71.ee
2fooBAR
@@ -5299,22 +5935,22 @@ RESPONSE:
- example.ee
+ example71.ee
Payment overdue.
- sh5011
- sh5011
- sh1932
+ sh40710177
+ sh40710177
+ sh70339938
- ns.weissnat63.ee
+ ns.gutmann60.ee
192.168.1.1
- ns.homenick64.ee
+ ns.skiles61.ee
192.168.1.1
- ns.lakin65.ee
+ ns.white62.ee
192.168.1.1
@@ -5325,11 +5961,11 @@ RESPONSE:
Registrar OÜ
Registrar OÜ
- 2015-01-22 16:03:29 UTC
- 2016-01-22 00:00:00 UTC
- 2015-01-22 16:03:29 UTC
+ 2015-01-29 14:37:20 UTC
+ 2016-01-29 00:00:00 UTC
+ 2015-01-29 14:37:20 UTC
- 1f67e29cce40e12b069afef7e289ae09
+ 95c0d03b3859ae425699088837e418e2
@@ -5364,12 +6000,12 @@ RESPONSE:
ABC-12345
- ccReg-1473509645
+ ccReg-9813435385
```
-### EPP Domain with valid user with valid domain returns error when domain can not be found
+### EPP Domain with valid domain returns error when domain can not be found
REQUEST:
@@ -5405,12 +6041,12 @@ RESPONSE:
ABC-12345
- ccReg-3454777988
+ ccReg-0402302674
```
-### EPP Domain with valid user with valid domain sets ok status by default
+### EPP Domain with valid domain sets ok status by default
REQUEST:
@@ -5420,7 +6056,7 @@ REQUEST:
- example.ee
+ example76.ee
2fooBAR
@@ -5442,43 +6078,89 @@ RESPONSE:
- example.ee
+ example76.ee
- sh1472
- sh1472
- sh2055
+ sh56219893
+ sh56219893
+ sh68176022
- ns.langworthpurdy69.ee
+ ns.kshlerin66.ee
192.168.1.1
- ns.brakus70.ee
+ ns.kunzeharvey67.ee
192.168.1.1
- ns.schimmel71.ee
+ ns.mcglynnhackett68.ee
192.168.1.1
Registrar OÜ
Registrar OÜ
- 2015-01-22 16:03:30 UTC
- 2016-01-22 00:00:00 UTC
+ 2015-01-29 14:37:21 UTC
+ 2016-01-29 00:00:00 UTC
- 9719ce34c2ce7993b29d7489d5ec5439
+ 92fcf8d8a93bcfd8974f35e75fed710e
ABC-12345
- ccReg-9676961417
+ ccReg-9412163301
```
-### EPP Domain with valid user with valid domain can not see other registrar domains
+### EPP Domain with valid domain can not see other registrar domains
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-2378562207
+
+
+
+```
REQUEST:
@@ -5488,7 +6170,7 @@ REQUEST:
- example.ee
+ example78.ee
2fooBAR
@@ -5508,18 +6190,142 @@ RESPONSE:
Domain exists but belongs to other registrar
- example.ee
+ example78.ee
ABC-12345
- ccReg-9903199366
+ ccReg-3890921963
```
-### EPP Domain with valid user with valid domain deletes domain
+REQUEST:
+
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-5735697494
+
+
+
+```
+
+### EPP Domain with valid domain validates legal document type
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ example80.ee
+
+
+
+
+ JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Attribute is invalid: type
+
+
+
+ ABC-12345
+ ccReg-0940699534
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ example80.ee
+
+
+
+
+ JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Attribute is invalid: type
+
+
+
+ ABC-12345
+ ccReg-6403879726
+
+
+```
+
+### EPP Domain with valid domain deletes domain
REQUEST:
@@ -5529,7 +6335,7 @@ REQUEST:
- example.ee
+ example81.ee
@@ -5554,12 +6360,12 @@ RESPONSE:
ABC-12345
- ccReg-9294488123
+ ccReg-6225952067
```
-### EPP Domain with valid user with valid domain does not delete domain with specific status
+### EPP Domain with valid domain does not delete domain with specific status
REQUEST:
@@ -5569,7 +6375,7 @@ REQUEST:
- example.ee
+ example82.ee
@@ -5594,12 +6400,12 @@ RESPONSE:
ABC-12345
- ccReg-5283432255
+ ccReg-2418769493
```
-### EPP Domain with valid user with valid domain does not delete domain without legal document
+### EPP Domain with valid domain does not delete domain without legal document
REQUEST:
@@ -5629,14 +6435,194 @@ RESPONSE:
ABC-12345
- ccReg-6798109696
+ ccReg-2841392290
```
+### EPP Domain with valid domain checks a domain
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ one.ee
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+
+ one.ee
+
+
+
+
+ ABC-12345
+ ccReg-9310381397
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ example84.ee
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+
+ example84.ee
+ in use
+
+
+
+
+ ABC-12345
+ ccReg-2813184496
+
+
+
+```
+
+### EPP Domain with valid domain checks multiple domains
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ one.ee
+ two.ee
+ three.ee
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+
+ one.ee
+
+
+ two.ee
+
+
+ three.ee
+
+
+
+
+ ABC-12345
+ ccReg-0040157523
+
+
+
+```
+
+### EPP Domain with valid domain checks invalid format domain
+
+REQUEST:
+
+```xml
+
+
+
+
+
+ one.ee
+ notcorrectdomain
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+
+ one.ee
+
+
+ notcorrectdomain
+ invalid format
+
+
+
+
+ ABC-12345
+ ccReg-1816265792
+
+
+
+```
+
### EPP Helper in context of Domain generates valid transfer xml
-### EPP Keyrelay with valid user makes a keyrelay request
+### EPP Keyrelay makes a keyrelay request
REQUEST:
@@ -5645,7 +6631,7 @@ REQUEST:
- example.ee
+ example1.ee
256
3
@@ -5653,13 +6639,13 @@ REQUEST:
cmlraXN0aGViZXN0
- 7ca336f554ebf4f9e3a93c07c0fcdfb6
+ 4ef1883d68600dae4c75e5518d0f9f17
P1M13D
- 1421942612
+ 1422542243
```
@@ -5675,13 +6661,13 @@ RESPONSE:
- 1421942612
- ccReg-8108366056
+ 1422542243
+ ccReg-6688371795
```
-### EPP Keyrelay with valid user returns an error when parameters are missing
+### EPP Keyrelay returns an error when parameters are missing
REQUEST:
@@ -5690,21 +6676,20 @@ REQUEST:
- example.ee
+ example2.ee
-
3
8
cmlraXN0aGViZXN0
- d6e808327153464ebb154ec4f224cc3b
+ f3bd45973bae22e8871861e0478d70aa
Invalid Expiry
- 1421942613
+ 1422542243
```
@@ -5716,17 +6701,23 @@ RESPONSE:
- Required parameter missing: flags
+ Required parameter missing: keyrelay > keyData > flags
+
+
+ Expiry relative must be compatible to ISO 8601
+
+ Invalid Expiry
+
- 1421942613
- ccReg-3283673074
+ 1422542243
+ ccReg-9649443313
```
-### EPP Keyrelay with valid user returns an error on invalid relative expiry
+### EPP Keyrelay returns an error on invalid relative expiry
REQUEST:
@@ -5735,7 +6726,7 @@ REQUEST:
- example.ee
+ example3.ee
256
3
@@ -5743,13 +6734,13 @@ REQUEST:
cmlraXN0aGViZXN0
- f9e954ecdd29602bcb8117d9025e9489
+ 56a8f8df6f3d9782621d5e7dbda65e83
Invalid Expiry
- 1421942613
+ 1422542243
```
@@ -5768,13 +6759,13 @@ RESPONSE:
- 1421942613
- ccReg-5491640697
+ 1422542243
+ ccReg-1345674831
```
-### EPP Keyrelay with valid user does not allow both relative and absolute
+### EPP Keyrelay returns an error on invalid absolute expiry
REQUEST:
@@ -5783,7 +6774,7 @@ REQUEST:
- example.ee
+ example4.ee
256
3
@@ -5791,14 +6782,62 @@ REQUEST:
cmlraXN0aGViZXN0
- d34b8e3f2215b7ba97c993da30988844
+ 36e3b253a7f6f9233381912c5be2fdd1
+
+
+ Invalid Absolute
+
+
+ 1422542243
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Expiry absolute must be compatible to ISO 8601
+
+ Invalid Absolute
+
+
+
+
+ 1422542243
+ ccReg-6844395143
+
+
+```
+
+### EPP Keyrelay does not allow both relative and absolute
+
+REQUEST:
+
+```xml
+
+
+
+
+ example5.ee
+
+ 256
+ 3
+ 8
+ cmlraXN0aGViZXN0
+
+
+ fe1b13bcc2df6a443a0afd19cce54b53
P1D
2014-12-23
- 1421942614
+ 1422542244
```
@@ -5809,18 +6848,112 @@ RESPONSE:
-
- Exactly one parameter required: expiry > relative or expiry > absolute
+
+ Exactly one parameter required: keyrelay > expiry > relative OR keyrelay > expiry > absolute
- 1421942614
- ccReg-1554125818
+ 1422542244
+ ccReg-5160492436
```
-### EPP Poll with valid user returns no messages in poll
+### EPP Keyrelay saves legal document with keyrelay
+
+REQUEST:
+
+```xml
+
+
+
+
+ example6.ee
+
+ 256
+ 3
+ 8
+ cmlraXN0aGViZXN0
+
+
+ 7521f360ae480e67c3096e4c046beb84
+
+
+ P1D
+
+
+
+ JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==
+
+ 1422542244
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+ 1422542244
+ ccReg-7863971480
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-0317248639
+
+
+
+```
+
+### EPP Poll returns no messages in poll
REQUEST:
@@ -5829,7 +6962,7 @@ REQUEST:
- 1421942614
+ 1422542244
```
@@ -5844,14 +6977,60 @@ RESPONSE:
Command completed successfully; no messages
- 1421942614
- ccReg-3871048934
+ 1422542244
+ ccReg-2143338620
```
-### EPP Poll with valid user queues and dequeues messages
+### EPP Poll queues and dequeues messages
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-3587768858
+
+
+
+```
REQUEST:
@@ -5860,7 +7039,7 @@ REQUEST:
- 1421942615
+ 1422542244
```
@@ -5875,8 +7054,54 @@ RESPONSE:
Command completed successfully; no messages
- 1421942615
- ccReg-0075144661
+ 1422542244
+ ccReg-7301894781
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-3527709021
@@ -5889,7 +7114,7 @@ REQUEST:
- 1421942615
+ 1422542244
```
@@ -5904,12 +7129,58 @@ RESPONSE:
Command completed successfully; ack to dequeue
- 2015-01-22 16:03:35 UTC
+ 2015-01-29 14:37:24 UTC
Balance low.
- 1421942615
- ccReg-4840610709
+ 1422542244
+ ccReg-7522386325
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+ registrar2
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-9144036930
@@ -5922,7 +7193,7 @@ REQUEST:
- 1421942615
+ 1422542244
```
@@ -5941,20 +7212,66 @@ RESPONSE:
- 1421942615
- ccReg-0707994249
+ 1422542244
+ ccReg-3112424227
```
REQUEST:
+```xml
+
+
+
+
+ registrar1
+ ghyt9e4fu
+
+ 1.0
+ en
+
+
+ urn:ietf:params:xml:ns:domain-1.0
+ urn:ietf:params:xml:ns:contact-1.0
+ urn:ietf:params:xml:ns:host-1.0
+ urn:ietf:params:xml:ns:keyrelay-1.0
+
+ urn:ietf:params:xml:ns:secDNS-1.1
+ urn:ee:eis:xml:epp:eis-1.0
+
+
+
+ ABC-12345
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+ ABC-12345
+ ccReg-1456025212
+
+
+
+```
+
+REQUEST:
+
```xml
- 1421942615
+ 1422542244
```
@@ -5970,8 +7287,8 @@ RESPONSE:
- 1421942615
- ccReg-6879640480
+ 1422542244
+ ccReg-9922056511
@@ -5984,7 +7301,7 @@ REQUEST:
- 1421942615
+ 1422542244
```
@@ -6003,13 +7320,13 @@ RESPONSE:
- 1421942615
- ccReg-1202202726
+ 1422542244
+ ccReg-0718540464
```
-### EPP Poll with valid user returns an error on incorrect op
+### EPP Poll returns an error on incorrect op
REQUEST:
@@ -6018,7 +7335,7 @@ REQUEST:
- 1421942615
+ 1422542245
```
@@ -6030,17 +7347,17 @@ RESPONSE:
- Attribute op is invalid
+ Attribute is invalid: op
- 1421942615
- ccReg-1693763602
+ 1422542245
+ ccReg-4638808209
```
-### EPP Poll with valid user dequeues multiple messages
+### EPP Poll dequeues multiple messages
REQUEST:
@@ -6049,7 +7366,7 @@ REQUEST:
- 1421942616
+ 1422542245
```
@@ -6063,13 +7380,76 @@ RESPONSE:
Command completed successfully; ack to dequeue
-
- 2015-01-22 16:03:36 UTC
+
+ 2015-01-29 14:37:25 UTC
Smth else.
- 1421942616
- ccReg-0147525736
+ 1422542245
+ ccReg-4057556975
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+ 1422542245
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully
+
+
+
+ 1422542245
+ ccReg-6262633118
+
+
+
+```
+
+REQUEST:
+
+```xml
+
+
+
+
+ 1422542245
+
+
+```
+
+RESPONSE:
+
+```xml
+
+
+
+
+ Command completed successfully; ack to dequeue
+
+
+ 2015-01-29 14:37:25 UTC
+ Something.
+
+
+ 1422542245
+ ccReg-4420357163
@@ -6082,7 +7462,7 @@ REQUEST:
- 1421942616
+ 1422542245
```
@@ -6096,10 +7476,10 @@ RESPONSE:
Command completed successfully
-
+
- 1421942616
- ccReg-6517024773
+ 1422542245
+ ccReg-6581988156
@@ -6112,7 +7492,7 @@ REQUEST:
- 1421942616
+ 1422542245
```
@@ -6126,13 +7506,13 @@ RESPONSE:
Command completed successfully; ack to dequeue
-
- 2015-01-22 16:03:36 UTC
- Something.
+
+ 2015-01-29 14:37:25 UTC
+ Balance low.
- 1421942616
- ccReg-9997191929
+ 1422542245
+ ccReg-9547799744
@@ -6145,7 +7525,7 @@ REQUEST:
- 1421942616
+ 1422542245
```
@@ -6159,10 +7539,10 @@ RESPONSE:
Command completed successfully
-
+
- 1421942616
- ccReg-4230110484
+ 1422542245
+ ccReg-9885467820
@@ -6175,70 +7555,7 @@ REQUEST:
- 1421942616
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully; ack to dequeue
-
-
- 2015-01-22 16:03:36 UTC
- Balance low.
-
-
- 1421942616
- ccReg-1553770314
-
-
-
-```
-
-REQUEST:
-
-```xml
-
-
-
-
- 1421942616
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
-
- 1421942616
- ccReg-8692731114
-
-
-
-```
-
-REQUEST:
-
-```xml
-
-
-
-
- 1421942617
+ 1422542245
```
@@ -6253,8 +7570,8 @@ RESPONSE:
Command completed successfully; no messages
- 1421942617
- ccReg-8352719336
+ 1422542245
+ ccReg-1438270374
@@ -6269,7 +7586,7 @@ RESPONSE:
EPP server (EIS)
- 2015-01-22T16:03:37Z
+ 2015-01-29T14:37:25Z
1.0
en
@@ -6312,7 +7629,7 @@ REQUEST:
- gitlab
+ wrong-user
ghyt9e4fu
1.0
@@ -6346,11 +7663,13 @@ RESPONSE:
ABC-12345
- ccReg-7252781983
+ ccReg-7329439918
```
+### EPP Session when connected does not log in with inactive user
+
REQUEST:
```xml
@@ -6358,7 +7677,7 @@ REQUEST:
- gitlab
+ inactive-user
ghyt9e4fu
1.0
@@ -6380,272 +7699,3 @@ REQUEST:
```
-RESPONSE:
-
-```xml
-
-
-
-
- Authentication error; server closing connection
-
-
-
- ABC-12345
- ccReg-3358660151
-
-
-```
-
-### EPP Session when connected prohibits further actions unless logged in
-
-REQUEST:
-
-```xml
-
-
-
-
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- You need to login first.
-
-
-
- ABC-12345
- ccReg-2155435753
-
-
-```
-
-### EPP Session when connected with valid user logs in epp user
-
-REQUEST:
-
-```xml
-
-
-
-
- gitlab
- ghyt9e4fu
-
- 1.0
- en
-
-
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
- urn:ietf:params:xml:ns:host-1.0
- urn:ietf:params:xml:ns:keyrelay-1.0
-
- urn:ietf:params:xml:ns:secDNS-1.1
- urn:ee:eis:xml:epp:eis-1.0
-
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
- ABC-12345
- ccReg-6504365407
-
-
-
-```
-
-### EPP Session when connected with valid user logs out epp user
-
-REQUEST:
-
-```xml
-
-
-
-
- gitlab
- ghyt9e4fu
-
- 1.0
- en
-
-
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
- urn:ietf:params:xml:ns:host-1.0
- urn:ietf:params:xml:ns:keyrelay-1.0
-
- urn:ietf:params:xml:ns:secDNS-1.1
- urn:ee:eis:xml:epp:eis-1.0
-
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
- ABC-12345
- ccReg-2536746031
-
-
-
-```
-
-REQUEST:
-
-```xml
-
-
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully; ending session
-
-
-
- ABC-12345
- ccReg-2144313123
-
-
-```
-
-### EPP Session when connected with valid user does not log in twice
-
-REQUEST:
-
-```xml
-
-
-
-
- gitlab
- ghyt9e4fu
-
- 1.0
- en
-
-
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
- urn:ietf:params:xml:ns:host-1.0
- urn:ietf:params:xml:ns:keyrelay-1.0
-
- urn:ietf:params:xml:ns:secDNS-1.1
- urn:ee:eis:xml:epp:eis-1.0
-
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Command completed successfully
-
-
- ABC-12345
- ccReg-3610650135
-
-
-
-```
-
-REQUEST:
-
-```xml
-
-
-
-
- gitlab
- ghyt9e4fu
-
- 1.0
- en
-
-
- urn:ietf:params:xml:ns:domain-1.0
- urn:ietf:params:xml:ns:contact-1.0
- urn:ietf:params:xml:ns:host-1.0
- urn:ietf:params:xml:ns:keyrelay-1.0
-
- urn:ietf:params:xml:ns:secDNS-1.1
- urn:ee:eis:xml:epp:eis-1.0
-
-
-
- ABC-12345
-
-
-```
-
-RESPONSE:
-
-```xml
-
-
-
-
- Already logged in. Use <logout> first.
-
-
-
- ABC-12345
- ccReg-6398993058
-
-
-```
-
diff --git a/spec/epp/keyrelay_spec.rb b/spec/epp/keyrelay_spec.rb
index 0c34d0415..96e8c7d2a 100644
--- a/spec/epp/keyrelay_spec.rb
+++ b/spec/epp/keyrelay_spec.rb
@@ -182,7 +182,7 @@ describe 'EPP Keyrelay', epp: true do
pw: { value: domain.auth_info }
},
expiry: {
- relative: { value: 'P1D' },
+ relative: { value: 'P1D' }
}
}, {
_anonymus: [
@@ -200,6 +200,33 @@ describe 'EPP Keyrelay', epp: true do
docs.count.should == 1
docs.first.body.should == 'JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp=='
docs.first.document_type.should == 'pdf'
+ end
+ it 'validates legal document types' do
+ xml = epp_xml.keyrelay({
+ name: { value: domain.name },
+ keyData: {
+ flags: { value: '256' },
+ protocol: { value: '3' },
+ alg: { value: '8' },
+ pubKey: { value: 'cmlraXN0aGViZXN0' }
+ },
+ authInfo: {
+ pw: { value: domain.auth_info }
+ },
+ expiry: {
+ relative: { value: 'P1D' }
+ }
+ }, {
+ _anonymus: [
+ legalDocument: {
+ value: 'JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==',
+ attrs: { type: 'jpg' }
+ }
+ ]
+ })
+
+ response = epp_request(xml, :xml, :elkdata)
+ response[:msg].should == 'Attribute is invalid: type'
end
end