From 0828bb3426bc185dda2508ca586f5730ca5c59d1 Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Thu, 11 Dec 2014 18:30:29 +0200 Subject: [PATCH] Headings for EPP doc --- doc/epp-doc.md | 640 ++++++++++++++++++++++++++-------------- spec/support/epp_doc.rb | 2 +- 2 files changed, 412 insertions(+), 230 deletions(-) diff --git a/doc/epp-doc.md b/doc/epp-doc.md index 500bc8379..574a69c69 100644 --- a/doc/epp-doc.md +++ b/doc/epp-doc.md @@ -1,9 +1,11 @@ # EPP REQUEST - RESPONSE DOCUMENTATION -GENERATED AT: 2014-12-11 18:17:21 +0200 +GENERATED AT: 2014-12-11 18:20:24 +0200 EXAMPLE COUNT: 91 --- +### EPP Contact with valid user create command fails if request xml is missing + REQUEST: ```xml @@ -35,6 +37,8 @@ RESPONSE: ``` +### EPP Contact with valid user create command fails if request xml is missing + REQUEST: ```xml @@ -85,54 +89,7 @@ RESPONSE: ``` -REQUEST: - -```xml - - - - - - - John Doe - - 123 Example - Tallinn - EE - - - +372.1234567 - test@example.example - 37605030299 - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - a9d1f1b4 - 2014-12-11 16:17:23 UTC - - - - ABC-12345 - ccReg-1977810474 - - - -``` +### EPP Contact with valid user create command successfully creates a contact REQUEST: @@ -171,18 +128,20 @@ RESPONSE: - b2866bcd - 2014-12-11 16:17:23 UTC + fa36aa3b + 2014-12-11 16:20:26 UTC ABC-12345 - ccReg-3302923850 + ccReg-7697716461 ``` +### EPP Contact with valid user create command successfully adds registrar + REQUEST: ```xml @@ -220,18 +179,71 @@ RESPONSE: - 36bef51c - 2014-12-11 16:17:23 UTC + fce689ed + 2014-12-11 16:20:26 UTC ABC-12345 - ccReg-3477429846 + ccReg-1860193727 ``` +### EPP Contact with valid user create command returns result data upon success + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + EE + + + +372.1234567 + test@example.example + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + 9a772ec1 + 2014-12-11 16:20:26 UTC + + + + ABC-12345 + ccReg-0028172314 + + + +``` + +### EPP Contact with valid user create command creates disclosure data + REQUEST: ```xml @@ -277,18 +289,20 @@ RESPONSE: - cb1934fc - 2014-12-11 16:17:23 UTC + abc08ddb + 2014-12-11 16:20:26 UTC ABC-12345 - ccReg-8140487807 + ccReg-6054774492 ``` +### EPP Contact with valid user create command creates disclosure data merging with defaults + REQUEST: ```xml @@ -330,18 +344,20 @@ RESPONSE: - 665684ce - 2014-12-11 16:17:24 UTC + 3ee9cbf8 + 2014-12-11 16:20:27 UTC ABC-12345 - ccReg-9240660918 + ccReg-4441923724 ``` +### EPP Contact with valid user update command fails if request is invalid + REQUEST: ```xml @@ -379,6 +395,8 @@ RESPONSE: ``` +### EPP Contact with valid user update command fails with wrong authentication info + REQUEST: ```xml @@ -421,11 +439,13 @@ RESPONSE: ABC-12345 - ccReg-4165506131 + ccReg-1721556034 ``` +### EPP Contact with valid user update command is succesful + REQUEST: ```xml @@ -468,17 +488,19 @@ RESPONSE: sh8013 - 2014-12-11 16:17:24 UTC + 2014-12-11 16:20:28 UTC ABC-12345 - ccReg-4851346744 + ccReg-8071685589 ``` +### EPP Contact with valid user update command returns phone and email error + REQUEST: ```xml @@ -524,11 +546,13 @@ RESPONSE: ABC-12345 - ccReg-6357280129 + ccReg-6397000244 ``` +### EPP Contact with valid user update command updates disclosure items + REQUEST: ```xml @@ -571,17 +595,19 @@ RESPONSE: sh8013 - 2014-12-11 16:17:25 UTC + 2014-12-11 16:20:28 UTC ABC-12345 - ccReg-2252255907 + ccReg-8345300533 ``` +### EPP Contact with valid user delete command fails if request is invalid + REQUEST: ```xml @@ -615,6 +641,8 @@ RESPONSE: ``` +### EPP Contact with valid user delete command deletes contact + REQUEST: ```xml @@ -642,12 +670,14 @@ RESPONSE: ABC-12345 - ccReg-3608937537 + ccReg-7637455514 ``` +### EPP Contact with valid user delete command returns error if obj doesnt exist + REQUEST: ```xml @@ -682,11 +712,13 @@ RESPONSE: ABC-12345 - ccReg-9592288058 + ccReg-1599902466 ``` +### EPP Contact with valid user delete command fails if contact has associated domain + REQUEST: ```xml @@ -715,11 +747,13 @@ RESPONSE: ABC-12345 - ccReg-9046380936 + ccReg-0684303862 ``` +### EPP Contact with valid user check command fails if request is invalid + REQUEST: ```xml @@ -753,6 +787,8 @@ RESPONSE: ``` +### EPP Contact with valid user check command returns info about contact availability + REQUEST: ```xml @@ -792,12 +828,14 @@ RESPONSE: ABC-12345 - ccReg-9379661224 + ccReg-7040209526 ``` +### EPP Contact with valid user info command discloses items with wrong password when queried by owner + REQUEST: ```xml @@ -830,14 +868,14 @@ RESPONSE: Johnny Awesome - Lemke Haven - Marquisborough + Remington Island + South Joyhaven +372.12345678 - julien@rippinoreilly.net - 2014-12-11 16:17:27 UTC + milo.wolff@metz.org + 2014-12-11 16:20:30 UTC asde @@ -855,12 +893,14 @@ RESPONSE: ABC-12345 - ccReg-8144829752 + ccReg-1559776629 ``` +### EPP Contact with valid user info command returns auth error for non-owner with wrong password + REQUEST: ```xml @@ -892,11 +932,13 @@ RESPONSE: ABC-12345 - ccReg-9232263218 + ccReg-1873167890 ``` +### EPP Contact with valid user info command doesn't disclose items to non-owner with right password + REQUEST: ```xml @@ -931,7 +973,7 @@ RESPONSE: - 2014-12-11 16:17:28 UTC + 2014-12-11 16:20:31 UTC @@ -946,12 +988,14 @@ RESPONSE: ABC-12345 - ccReg-0813947817 + ccReg-0831323617 ``` +### EPP Contact with valid user info command discloses items to owner + REQUEST: ```xml @@ -984,14 +1028,14 @@ RESPONSE: Johnny Awesome - Lemke Haven - Marquisborough + Remington Island + South Joyhaven +372.12345678 - julien@rippinoreilly.net - 2014-12-11 16:17:28 UTC + milo.wolff@metz.org + 2014-12-11 16:20:31 UTC password @@ -1009,12 +1053,14 @@ RESPONSE: ABC-12345 - ccReg-9005080246 + ccReg-5686514838 ``` +### EPP Contact with valid user info command fails if request invalid + REQUEST: ```xml @@ -1048,6 +1094,8 @@ RESPONSE: ``` +### EPP Contact with valid user info command returns error when object does not exist + REQUEST: ```xml @@ -1087,6 +1135,8 @@ RESPONSE: ``` +### EPP Contact with valid user info command returns info about contact + REQUEST: ```xml @@ -1119,14 +1169,14 @@ RESPONSE: Johnny Awesome - Lemke Haven - Marquisborough + Remington Island + South Joyhaven +372.12345678 - julien@rippinoreilly.net - 2014-12-11 16:17:28 UTC + milo.wolff@metz.org + 2014-12-11 16:20:32 UTC ccds4324pok @@ -1144,12 +1194,14 @@ RESPONSE: ABC-12345 - ccReg-5730880876 + ccReg-2940889775 ``` +### EPP Contact with valid user info command doesn't disclose private elements + REQUEST: ```xml @@ -1182,10 +1234,10 @@ RESPONSE: info-4444 - Destinee Adams + Dr. Fredy O'Conner - 2014-12-11 16:17:29 UTC + 2014-12-11 16:20:32 UTC @@ -1200,12 +1252,14 @@ RESPONSE: ABC-12345 - ccReg-6193875182 + ccReg-2898092937 ``` +### EPP Contact with valid user info command doesn't display unassociated object without password + REQUEST: ```xml @@ -1239,6 +1293,8 @@ RESPONSE: ``` +### EPP Contact with valid user info command doesn't display unassociated object with wrong password + REQUEST: ```xml @@ -1270,11 +1326,13 @@ RESPONSE: ABC-12345 - ccReg-5654063943 + ccReg-8569762985 ``` +### EPP Contact with valid user renew command returns 2101-unimplemented command + REQUEST: ```xml @@ -1306,11 +1364,13 @@ RESPONSE: ABC-12345 - ccReg-5680653693 + ccReg-0607319096 ``` +### EPP Domain with valid user returns error if contact does not exists + REQUEST: ```xml @@ -1373,11 +1433,13 @@ RESPONSE: ABC-12345 - ccReg-2519995143 + ccReg-8530047391 ``` +### EPP Domain with valid user checks a domain + REQUEST: ```xml @@ -1412,7 +1474,7 @@ RESPONSE: ABC-12345 - ccReg-9135082961 + ccReg-1225195134 @@ -1453,12 +1515,14 @@ RESPONSE: ABC-12345 - ccReg-1172008903 + ccReg-6780330648 ``` +### EPP Domain with valid user checks multiple domains + REQUEST: ```xml @@ -1501,12 +1565,14 @@ RESPONSE: ABC-12345 - ccReg-7916331322 + ccReg-7662843534 ``` +### EPP Domain with valid user checks invalid format domain + REQUEST: ```xml @@ -1546,12 +1612,14 @@ RESPONSE: ABC-12345 - ccReg-0269242414 + ccReg-1902208602 ``` +### EPP Domain with valid user with two epp users can not see other registrar domains + REQUEST: ```xml @@ -1586,11 +1654,13 @@ RESPONSE: ABC-12345 - ccReg-0259655173 + ccReg-4195170399 ``` +### EPP Domain with valid user with two epp users transfers a domain + REQUEST: ```xml @@ -1601,7 +1671,7 @@ REQUEST: example.ee - 2c51ce98dd8efb23581c17c8c86ec6c1 + a1ce2838d62ea244d88d4157a1bec32b @@ -1624,16 +1694,16 @@ RESPONSE: example.ee serverApproved 123 - 2014-12-11 16:17:31 UTC + 2014-12-11 16:20:35 UTC 12345678 - 2014-12-11 16:17:31 UTC + 2014-12-11 16:20:35 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-7337620603 + ccReg-0361740772 ``` @@ -1648,7 +1718,7 @@ REQUEST: example.ee - 36fc3e9bdb24a56a21c666005a9221b3 + c019dfec29d5fa20c4c1455fee3c79ab @@ -1671,16 +1741,16 @@ RESPONSE: example.ee pending 12345678 - 2014-12-11 16:17:31 UTC + 2014-12-11 16:20:35 UTC 123 - 2014-12-11 17:17:31 UTC + 2014-12-11 17:20:35 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-6965010610 + ccReg-7578676645 ``` @@ -1695,7 +1765,7 @@ REQUEST: example.ee - 36fc3e9bdb24a56a21c666005a9221b3 + c019dfec29d5fa20c4c1455fee3c79ab @@ -1718,16 +1788,16 @@ RESPONSE: example.ee pending 12345678 - 2014-12-11 16:17:31 UTC + 2014-12-11 16:20:35 UTC 123 - 2014-12-11 17:17:31 UTC + 2014-12-11 17:20:35 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-7940127799 + ccReg-7801365816 ``` @@ -1754,7 +1824,7 @@ RESPONSE: Command completed successfully; ack to dequeue - 2014-12-11 16:17:31 UTC + 2014-12-11 16:20:35 UTC Transfer requested. @@ -1762,15 +1832,15 @@ RESPONSE: example.ee pending 12345678 - 2014-12-11 16:17:31 UTC + 2014-12-11 16:20:35 UTC 123 - 2014-12-11 17:17:31 UTC + 2014-12-11 17:20:35 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-5881959332 + ccReg-8851045456 @@ -1800,12 +1870,14 @@ RESPONSE: ABC-12345 - ccReg-1386317792 + ccReg-4770103758 ``` +### EPP Domain with valid user with two epp users prohibits wrong registrar from approving transfer + REQUEST: ```xml @@ -1816,7 +1888,7 @@ REQUEST: example.ee - bbc373364c78a8fc2e12594d667b3c2d + d46a56281253e87620d7bc541ca854a1 @@ -1837,11 +1909,13 @@ RESPONSE: ABC-12345 - ccReg-6599888186 + ccReg-4952216468 ``` +### EPP Domain with valid user with two epp users approves the transfer request + REQUEST: ```xml @@ -1852,7 +1926,7 @@ REQUEST: example.ee - 1aef3ff1e244a8acaf5ce4303abd10b7 + 095abdaf422865a773cf8fff8600ba12 @@ -1875,20 +1949,22 @@ RESPONSE: example.ee clientApproved 123 - 2014-12-11 16:17:32 UTC + 2014-12-11 16:20:36 UTC 12345678 - 2014-12-11 16:17:32 UTC + 2014-12-11 16:20:36 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-2501340864 + ccReg-6668637481 ``` +### EPP Domain with valid user with two epp users does not transfer with invalid pw + REQUEST: ```xml @@ -1920,11 +1996,13 @@ RESPONSE: ABC-12345 - ccReg-2468302207 + ccReg-4599629460 ``` +### EPP Domain with valid user with two epp users ignores transfer when owner registrar requests transfer + REQUEST: ```xml @@ -1935,7 +2013,7 @@ REQUEST: example.ee - b8f017aee00d9a68a103b72df550b73e + 41781009f2e898a864ae9fecf26361cf @@ -1956,11 +2034,13 @@ RESPONSE: ABC-12345 - ccReg-6179771028 + ccReg-7984355433 ``` +### EPP Domain with valid user with two epp users returns an error for incorrect op attribute + REQUEST: ```xml @@ -1997,6 +2077,8 @@ RESPONSE: ``` +### EPP Domain with valid user with two epp users creates new pw after successful transfer + REQUEST: ```xml @@ -2028,7 +2110,7 @@ RESPONSE: ABC-12345 - ccReg-2942159429 + ccReg-8459353015 ``` @@ -2064,11 +2146,13 @@ RESPONSE: ABC-12345 - ccReg-7339429331 + ccReg-7385305313 ``` +### EPP Domain with valid user with citizen as an owner creates a domain + REQUEST: ```xml @@ -2122,18 +2206,20 @@ RESPONSE: example.ee - 2014-12-11 16:17:34 UTC + 2014-12-11 16:20:38 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-4435358278 + ccReg-8238226692 ``` +### EPP Domain with valid user with citizen as an owner creates ria.ee with valid ds record + REQUEST: ```xml @@ -2187,18 +2273,20 @@ RESPONSE: ria.ee - 2014-12-11 16:17:34 UTC + 2014-12-11 16:20:39 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-5767554637 + ccReg-1690833712 ``` +### EPP Domain with valid user with citizen as an owner validates nameserver ipv4 when in same zone as domain + REQUEST: ```xml @@ -2250,11 +2338,13 @@ RESPONSE: ABC-12345 - ccReg-8335044691 + ccReg-7537804530 ``` +### EPP Domain with valid user with citizen as an owner does not create duplicate domain + REQUEST: ```xml @@ -2308,14 +2398,14 @@ RESPONSE: example.ee - 2014-12-11 16:17:35 UTC + 2014-12-11 16:20:39 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-4563709990 + ccReg-5387199132 ``` @@ -2376,11 +2466,13 @@ RESPONSE: ABC-12345 - ccReg-7232951005 + ccReg-0011869763 ``` +### EPP Domain with valid user with citizen as an owner does not create reserved domain + REQUEST: ```xml @@ -2437,11 +2529,13 @@ RESPONSE: ABC-12345 - ccReg-8210838702 + ccReg-6506342257 ``` +### EPP Domain with valid user with citizen as an owner does not create domain without contacts and registrant + REQUEST: ```xml @@ -2500,6 +2594,8 @@ RESPONSE: ``` +### EPP Domain with valid user with citizen as an owner does not create domain without nameservers + REQUEST: ```xml @@ -2549,6 +2645,8 @@ RESPONSE: ``` +### EPP Domain with valid user with citizen as an owner does not create domain with too many nameservers + REQUEST: ```xml @@ -2636,11 +2734,13 @@ RESPONSE: ABC-12345 - ccReg-1797416271 + ccReg-6626066081 ``` +### EPP Domain with valid user with citizen as an owner returns error when invalid nameservers are present + REQUEST: ```xml @@ -2701,11 +2801,13 @@ RESPONSE: ABC-12345 - ccReg-4908943940 + ccReg-1103893261 ``` +### EPP Domain with valid user with citizen as an owner does not allow hostObj + REQUEST: ```xml @@ -2758,6 +2860,8 @@ RESPONSE: ``` +### EPP Domain with valid user with citizen as an owner creates domain with nameservers with ips + REQUEST: ```xml @@ -2802,18 +2906,20 @@ RESPONSE: example.ee - 2014-12-11 16:17:37 UTC + 2014-12-11 16:20:42 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-1903822783 + ccReg-9547254269 ``` +### EPP Domain with valid user with citizen as an owner returns error when nameserver has invalid ips + REQUEST: ```xml @@ -2867,11 +2973,13 @@ RESPONSE: ABC-12345 - ccReg-2262372678 + ccReg-6055025324 ``` +### EPP Domain with valid user with citizen as an owner creates a domain with period in days + REQUEST: ```xml @@ -2925,18 +3033,20 @@ RESPONSE: example.ee - 2014-12-11 16:17:38 UTC + 2014-12-11 16:20:42 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-0125684103 + ccReg-4049528710 ``` +### EPP Domain with valid user with citizen as an owner does not create a domain with invalid period + REQUEST: ```xml @@ -2993,11 +3103,13 @@ RESPONSE: ABC-12345 - ccReg-0713632791 + ccReg-7326753356 ``` +### EPP Domain with valid user with citizen as an owner creates a domain with multiple dnskeys + REQUEST: ```xml @@ -3063,18 +3175,20 @@ RESPONSE: example.ee - 2014-12-11 16:17:38 UTC + 2014-12-11 16:20:43 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-0905123241 + ccReg-3254834807 ``` +### EPP Domain with valid user with citizen as an owner does not create a domain when dnskeys are invalid + REQUEST: ```xml @@ -3176,11 +3290,13 @@ RESPONSE: ABC-12345 - ccReg-9167914264 + ccReg-8138217299 ``` +### EPP Domain with valid user with citizen as an owner does not create a domain with two identical dnskeys + REQUEST: ```xml @@ -3243,11 +3359,13 @@ RESPONSE: ABC-12345 - ccReg-1186943204 + ccReg-1746439289 ``` +### EPP Domain with valid user with citizen as an owner validated dnskeys count + REQUEST: ```xml @@ -3307,11 +3425,13 @@ RESPONSE: ABC-12345 - ccReg-6766058311 + ccReg-7256435212 ``` +### EPP Domain with valid user with citizen as an owner creates domain with ds data + REQUEST: ```xml @@ -3365,18 +3485,20 @@ RESPONSE: example.ee - 2014-12-11 16:17:39 UTC + 2014-12-11 16:20:44 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-3302162551 + ccReg-1890907855 ``` +### EPP Domain with valid user with citizen as an owner creates domain with ds data with key + REQUEST: ```xml @@ -3436,18 +3558,20 @@ RESPONSE: example.ee - 2014-12-11 16:17:40 UTC + 2014-12-11 16:20:45 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-3070284775 + ccReg-1593776295 ``` +### EPP Domain with valid user with citizen as an owner prohibits dsData with key + REQUEST: ```xml @@ -3507,11 +3631,13 @@ RESPONSE: ABC-12345 - ccReg-5267570176 + ccReg-1762700063 ``` +### EPP Domain with valid user with citizen as an owner prohibits dsData + REQUEST: ```xml @@ -3571,11 +3697,13 @@ RESPONSE: ABC-12345 - ccReg-9659683825 + ccReg-8143954365 ``` +### EPP Domain with valid user with citizen as an owner prohibits keyData + REQUEST: ```xml @@ -3629,11 +3757,13 @@ RESPONSE: ABC-12345 - ccReg-4319696227 + ccReg-7342675661 ``` +### EPP Domain with valid user with juridical persion as an owner creates a domain with contacts + REQUEST: ```xml @@ -3685,18 +3815,20 @@ RESPONSE: example.ee - 2014-12-11 16:17:41 UTC + 2014-12-11 16:20:46 UTC 2015-12-11 00:00:00 UTC ABC-12345 - ccReg-5743522641 + ccReg-0446125784 ``` +### EPP Domain with valid user with juridical persion as an owner does not create a domain without admin contact + REQUEST: ```xml @@ -3748,11 +3880,13 @@ RESPONSE: ABC-12345 - ccReg-4016184841 + ccReg-4327524431 ``` +### EPP Domain with valid user with valid domain renews a domain + REQUEST: ```xml @@ -3788,12 +3922,14 @@ RESPONSE: ABC-12345 - ccReg-0403190636 + ccReg-0249473353 ``` +### EPP Domain with valid user with valid domain returns an error when given and current exp dates do not match + REQUEST: ```xml @@ -3827,11 +3963,13 @@ RESPONSE: ABC-12345 - ccReg-7170443814 + ccReg-9203214486 ``` +### EPP Domain with valid user with valid domain returns an error when period is invalid + REQUEST: ```xml @@ -3865,11 +4003,13 @@ RESPONSE: ABC-12345 - ccReg-9145832757 + ccReg-0988421408 ``` +### EPP Domain with valid user with valid domain sets ok status by default + REQUEST: ```xml @@ -3902,37 +4042,39 @@ RESPONSE: example.ee - sh0657 - sh0657 - sh9799 + sh3643 + sh3643 + sh6966 - ns.jacobson.ee + ns.kuvalis.ee - ns.walkerraynor.ee + ns.berge.ee - ns.batz.ee + ns.huelskautzer.ee Registrar OÜ Registrar OÜ - 2014-12-11 16:17:42 UTC + 2014-12-11 16:20:48 UTC 2015-12-11 00:00:00 UTC - 3c6572e06742222c4e5e09b62492e69a + b8f4626d2f72691e4a9e620d0650e1ee ABC-12345 - ccReg-0227451549 + ccReg-9045873058 ``` +### EPP Domain with valid user with valid domain returns domain info + REQUEST: ```xml @@ -3965,18 +4107,18 @@ RESPONSE: example.ee Payment overdue. - sh8241 - sh8241 - sh4458 + sh4036 + sh4036 + sh5285 - ns.west.ee + ns.zboncak.ee - ns.ohara.ee + ns.kunze.ee - ns.gulgowskiernser.ee + ns.kessler.ee ns1.example.com @@ -3986,10 +4128,10 @@ RESPONSE: Registrar OÜ Registrar OÜ - 2014-12-11 16:17:43 UTC + 2014-12-11 16:20:48 UTC 2015-12-11 00:00:00 UTC - 7d0f2f79a090d4e4514b59099b8ae938 + 36c3577949c4356016936df9264141e4 @@ -4024,7 +4166,7 @@ RESPONSE: ABC-12345 - ccReg-4009043399 + ccReg-5663422587 ``` @@ -4061,18 +4203,18 @@ RESPONSE: example.ee Payment overdue. - sh8241 - sh8241 - sh4458 + sh4036 + sh4036 + sh5285 - ns.west.ee + ns.zboncak.ee - ns.ohara.ee + ns.kunze.ee - ns.gulgowskiernser.ee + ns.kessler.ee ns1.example.com @@ -4082,11 +4224,11 @@ RESPONSE: Registrar OÜ Registrar OÜ - 2014-12-11 16:17:43 UTC + 2014-12-11 16:20:48 UTC 2015-12-11 00:00:00 UTC - 2014-12-11 16:17:43 UTC + 2014-12-11 16:20:48 UTC - 7d0f2f79a090d4e4514b59099b8ae938 + 36c3577949c4356016936df9264141e4 @@ -4121,11 +4263,13 @@ RESPONSE: ABC-12345 - ccReg-5156726853 + ccReg-3688647717 ``` +### EPP Domain with valid user with valid domain returns error when domain can not be found + REQUEST: ```xml @@ -4160,11 +4304,13 @@ RESPONSE: ABC-12345 - ccReg-7849771074 + ccReg-1877937593 ``` +### EPP Domain with valid user with valid domain updates domain and adds objects + REQUEST: ```xml @@ -4223,7 +4369,7 @@ RESPONSE: ABC-12345 - ccReg-9199123715 + ccReg-8269044408 ``` @@ -4283,7 +4429,7 @@ RESPONSE: ABC-12345 - ccReg-2436123902 + ccReg-1036646901 ``` @@ -4382,11 +4528,13 @@ RESPONSE: ABC-12345 - ccReg-2732231584 + ccReg-1134341398 ``` +### EPP Domain with valid user with valid domain updates a domain and removes objects + REQUEST: ```xml @@ -4442,7 +4590,7 @@ RESPONSE: ABC-12345 - ccReg-9169844932 + ccReg-7339587229 ``` @@ -4491,7 +4639,7 @@ RESPONSE: ABC-12345 - ccReg-2935142757 + ccReg-0761964303 ``` @@ -4555,11 +4703,13 @@ RESPONSE: ABC-12345 - ccReg-2535779687 + ccReg-6009190382 ``` +### EPP Domain with valid user with valid domain does not add duplicate objects to domain + REQUEST: ```xml @@ -4593,7 +4743,7 @@ RESPONSE: ABC-12345 - ccReg-2742818653 + ccReg-0363595018 ``` @@ -4634,11 +4784,13 @@ RESPONSE: ABC-12345 - ccReg-1267977133 + ccReg-9563194621 ``` +### EPP Domain with valid user with valid domain updates a domain + REQUEST: ```xml @@ -4670,11 +4822,13 @@ RESPONSE: ABC-12345 - ccReg-9194205979 + ccReg-8337129972 ``` +### EPP Domain with valid user with valid domain does not assign invalid status to domain + REQUEST: ```xml @@ -4709,11 +4863,13 @@ RESPONSE: ABC-12345 - ccReg-1266443305 + ccReg-4280169040 ``` +### EPP Domain with valid user with valid domain deletes domain + REQUEST: ```xml @@ -4742,11 +4898,13 @@ RESPONSE: ABC-12345 - ccReg-5710543495 + ccReg-5732815987 ``` +### EPP Domain with valid user with valid domain does not delete domain with specific status + REQUEST: ```xml @@ -4775,11 +4933,15 @@ RESPONSE: ABC-12345 - ccReg-3938186614 + ccReg-0127772864 ``` +### EPP Helper in context of Domain generates valid transfer xml + +### EPP Keyrelay with valid user makes a keyrelay request + REQUEST: ```xml @@ -4795,7 +4957,7 @@ REQUEST: cmlraXN0aGViZXN0 - bf24783904a79e5bce2189b298fe776a + ebbc0622a3cb7f4b6c27abb394e27c14 P1M13D @@ -4818,11 +4980,13 @@ RESPONSE: ABC-12345 - ccReg-8154621015 + ccReg-8305714971 ``` +### EPP Poll with valid user returns no messages in poll + REQUEST: ```xml @@ -4846,12 +5010,14 @@ RESPONSE: ABC-12345 - ccReg-0652192398 + ccReg-0490029079 ``` +### EPP Poll with valid user queues and dequeues messages + REQUEST: ```xml @@ -4875,7 +5041,7 @@ RESPONSE: ABC-12345 - ccReg-1998625511 + ccReg-3737488607 @@ -4903,12 +5069,12 @@ RESPONSE: Command completed successfully; ack to dequeue - 2014-12-11 16:17:47 UTC + 2014-12-11 16:20:53 UTC Balance low. ABC-12345 - ccReg-0327876732 + ccReg-8138607881 @@ -4941,7 +5107,7 @@ RESPONSE: ABC-12345 - ccReg-9886507095 + ccReg-3670301280 ``` @@ -4970,7 +5136,7 @@ RESPONSE: ABC-12345 - ccReg-2313068805 + ccReg-0571612506 @@ -5003,11 +5169,13 @@ RESPONSE: ABC-12345 - ccReg-3057210282 + ccReg-1239692616 ``` +### EPP Poll with valid user returns an error on incorrect op + REQUEST: ```xml @@ -5037,6 +5205,8 @@ RESPONSE: ``` +### EPP Poll with valid user dequeues multiple messages + REQUEST: ```xml @@ -5059,12 +5229,12 @@ RESPONSE: Command completed successfully; ack to dequeue - 2014-12-11 16:17:48 UTC + 2014-12-11 16:20:54 UTC Smth else. ABC-12345 - ccReg-4615560346 + ccReg-8009860176 @@ -5094,7 +5264,7 @@ RESPONSE: ABC-12345 - ccReg-1904412136 + ccReg-8066995420 @@ -5122,12 +5292,12 @@ RESPONSE: Command completed successfully; ack to dequeue - 2014-12-11 16:17:48 UTC + 2014-12-11 16:20:54 UTC Something. ABC-12345 - ccReg-5672602530 + ccReg-9032842650 @@ -5157,7 +5327,7 @@ RESPONSE: ABC-12345 - ccReg-2190230353 + ccReg-8851176265 @@ -5185,12 +5355,12 @@ RESPONSE: Command completed successfully; ack to dequeue - 2014-12-11 16:17:48 UTC + 2014-12-11 16:20:54 UTC Balance low. ABC-12345 - ccReg-6062744767 + ccReg-8636663930 @@ -5220,7 +5390,7 @@ RESPONSE: ABC-12345 - ccReg-8123154877 + ccReg-8512393226 @@ -5249,12 +5419,16 @@ RESPONSE: ABC-12345 - ccReg-3678335037 + ccReg-6055012885 ``` +### EPP Session when not connected greets client upon connection + +### EPP Session when connected does not log in with invalid user + REQUEST: ```xml @@ -5289,7 +5463,7 @@ RESPONSE: ABC-12345 - ccReg-1860638959 + ccReg-9729176876 ``` @@ -5328,11 +5502,13 @@ RESPONSE: ABC-12345 - ccReg-0835423520 + ccReg-2042235305 ``` +### EPP Session when connected prohibits further actions unless logged in + REQUEST: ```xml @@ -5367,6 +5543,8 @@ RESPONSE: ``` +### EPP Session when connected with valid user logs in epp user + REQUEST: ```xml @@ -5400,12 +5578,14 @@ RESPONSE: ABC-12345 - ccReg-1547839887 + ccReg-8625841115 ``` +### EPP Session when connected with valid user logs out epp user + REQUEST: ```xml @@ -5439,7 +5619,7 @@ RESPONSE: ABC-12345 - ccReg-3462462532 + ccReg-1439009441 @@ -5469,11 +5649,13 @@ RESPONSE: ABC-12345 - ccReg-7043130622 + ccReg-9453592535 ``` +### EPP Session when connected with valid user does not log in twice + REQUEST: ```xml @@ -5507,7 +5689,7 @@ RESPONSE: ABC-12345 - ccReg-6207610320 + ccReg-4606991463 diff --git a/spec/support/epp_doc.rb b/spec/support/epp_doc.rb index f3ef21233..032de63f2 100644 --- a/spec/support/epp_doc.rb +++ b/spec/support/epp_doc.rb @@ -1,5 +1,5 @@ class EppDoc - RSpec::Core::Formatters.register self, :start + RSpec::Core::Formatters.register self, :start, :example_started def initialize(output) @output = output