From 890dc0f5d6497926665d0e784eae5598fdf85f9f Mon Sep 17 00:00:00 2001 From: Ritesh Chitlangi Date: Thu, 18 Nov 2021 21:23:16 +0800 Subject: [PATCH] added xml ns prefixes to request serialization to match RFC examples --- epp-client/src/epp/object/data.rs | 53 +++++++++---- epp-client/src/epp/request/contact/check.rs | 5 +- epp-client/src/epp/request/contact/create.rs | 15 ++-- epp-client/src/epp/request/contact/delete.rs | 4 +- epp-client/src/epp/request/contact/info.rs | 12 +-- epp-client/src/epp/request/contact/update.rs | 24 +++--- epp-client/src/epp/request/domain/check.rs | 5 +- epp-client/src/epp/request/domain/create.rs | 23 +++--- epp-client/src/epp/request/domain/delete.rs | 4 +- epp-client/src/epp/request/domain/info.rs | 5 +- epp-client/src/epp/request/domain/renew.rs | 7 +- .../src/epp/request/domain/rgp/report.rs | 18 +++-- .../src/epp/request/domain/rgp/request.rs | 4 +- epp-client/src/epp/request/domain/transfer.rs | 15 ++-- epp-client/src/epp/request/domain/update.rs | 22 +++--- epp-client/src/epp/request/host/check.rs | 5 +- epp-client/src/epp/request/host/create.rs | 6 +- epp-client/src/epp/request/host/delete.rs | 4 +- epp-client/src/epp/request/host/info.rs | 4 +- epp-client/src/epp/request/host/update.rs | 14 ++-- epp-client/src/epp/response/contact/info.rs | 4 +- epp-client/src/epp/response/domain/info.rs | 4 +- epp-client/src/epp/response/message/poll.rs | 17 ++-- epp-client/src/tests/se.rs | 4 +- .../test/resources/request/contact/check.xml | 18 ++--- .../test/resources/request/contact/create.xml | 52 ++++++------- .../test/resources/request/contact/delete.xml | 16 ++-- .../test/resources/request/contact/info.xml | 22 +++--- .../test/resources/request/contact/update.xml | 66 ++++++++-------- .../test/resources/request/domain/check.xml | 18 ++--- .../test/resources/request/domain/create.xml | 32 ++++---- .../request/domain/create_with_host_attr.xml | 52 ++++++------- .../request/domain/create_with_host_obj.xml | 40 +++++----- .../test/resources/request/domain/delete.xml | 16 ++-- .../test/resources/request/domain/info.xml | 16 ++-- .../test/resources/request/domain/renew.xml | 20 ++--- .../request/domain/rgp_restore_report.xml | 50 ++++++------ .../request/domain/rgp_restore_request.xml | 28 +++---- .../request/domain/transfer_approve.xml | 16 ++-- .../request/domain/transfer_cancel.xml | 16 ++-- .../request/domain/transfer_query.xml | 22 +++--- .../request/domain/transfer_reject.xml | 16 ++-- .../request/domain/transfer_request.xml | 24 +++--- .../test/resources/request/domain/update.xml | 38 ++++----- .../test/resources/request/host/check.xml | 18 ++--- .../test/resources/request/host/create.xml | 20 ++--- .../test/resources/request/host/delete.xml | 16 ++-- .../test/resources/request/host/info.xml | 16 ++-- .../test/resources/request/host/update.xml | 34 ++++---- epp-client/test/resources/request/login.xml | 38 ++++----- epp-client/test/resources/request/logout.xml | 8 +- .../test/resources/request/message/ack.xml | 8 +- .../test/resources/request/message/poll.xml | 8 +- .../test/resources/response/contact/check.xml | 38 ++++----- .../resources/response/contact/create.xml | 30 +++---- .../resources/response/contact/delete.xml | 30 +++---- .../test/resources/response/contact/info.xml | 78 +++++++++---------- .../resources/response/contact/update.xml | 30 +++---- .../test/resources/response/domain/check.xml | 38 ++++----- .../test/resources/response/domain/create.xml | 44 +++++------ .../test/resources/response/domain/delete.xml | 30 +++---- .../test/resources/response/domain/info.xml | 72 ++++++++--------- .../test/resources/response/domain/renew.xml | 42 +++++----- .../resources/response/domain/rgp_restore.xml | 28 +++---- .../response/domain/transfer_approve.xml | 18 ++--- .../response/domain/transfer_cancel.xml | 18 ++--- .../response/domain/transfer_query.xml | 40 +++++----- .../response/domain/transfer_reject.xml | 18 ++--- .../response/domain/transfer_request.xml | 40 +++++----- .../test/resources/response/domain/update.xml | 30 +++---- epp-client/test/resources/response/error.xml | 30 +++---- .../test/resources/response/host/check.xml | 38 ++++----- .../test/resources/response/host/create.xml | 30 +++---- .../test/resources/response/host/delete.xml | 18 ++--- .../test/resources/response/host/info.xml | 46 +++++------ .../test/resources/response/host/update.xml | 18 ++--- epp-client/test/resources/response/login.xml | 18 ++--- epp-client/test/resources/response/logout.xml | 18 ++--- .../test/resources/response/message/ack.xml | 20 ++--- .../test/resources/response/message/poll.xml | 48 ++++++------ 80 files changed, 1002 insertions(+), 928 deletions(-) diff --git a/epp-client/src/epp/object/data.rs b/epp-client/src/epp/object/data.rs index 754dd8f..429e6c1 100644 --- a/epp-client/src/epp/object/data.rs +++ b/epp-client/src/epp/object/data.rs @@ -47,9 +47,10 @@ impl HostAddr { #[derive(Serialize, Deserialize, Debug)] pub struct Host { /// The <hostName> tag + #[serde(rename = "host:name", alias = "name")] pub name: StringValue, /// The <hostAddr> tags - #[serde(rename = "addr")] + #[serde(rename = "host:addr", alias = "addr")] pub addresses: Option>, } @@ -57,10 +58,10 @@ pub struct Host { #[derive(Serialize, Deserialize, Debug)] pub struct HostAttr { /// The <hostName> tag - #[serde(rename = "hostName")] + #[serde(rename = "domain:hostName", alias = "hostName")] pub name: StringValue, /// The <hostAddr> tags - #[serde(rename = "hostAddr")] + #[serde(rename = "domain:hostAddr", alias = "hostAddr")] pub addresses: Option>, } @@ -77,7 +78,7 @@ pub enum HostList { #[derive(Serialize, Deserialize, Debug)] pub struct HostAttrList { /// The list of <hostAttr> tags - #[serde(rename = "hostAttr")] + #[serde(rename = "domain:hostAttr", alias = "hostAttr")] pub hosts: Vec, } @@ -85,7 +86,7 @@ pub struct HostAttrList { #[derive(Serialize, Deserialize, Debug)] pub struct HostObjList { /// The list of <hostObj> tags - #[serde(rename = "hostObj")] + #[serde(rename = "domain:hostObj", alias = "hostObj")] pub hosts: Vec, } @@ -148,17 +149,19 @@ pub struct Phone { #[derive(Serialize, Deserialize, Debug, Clone)] pub struct Address { /// The <street> tags under <addr> + #[serde(rename = "contact:street", alias = "street")] pub street: Vec, /// The <city> tag under <addr> + #[serde(rename = "contact:city", alias = "city")] pub city: StringValue, /// The <sp> tag under <addr> - #[serde(rename = "sp")] + #[serde(rename = "contact:sp", alias = "sp")] pub province: StringValue, /// The <pc> tag under <addr> - #[serde(rename = "pc")] + #[serde(rename = "contact:pc", alias = "pc")] pub postal_code: StringValue, /// The <cc> tag under <addr> - #[serde(rename = "cc")] + #[serde(rename = "contact:cc", alias = "cc")] pub country_code: StringValue, } @@ -169,20 +172,29 @@ pub struct PostalInfo { #[serde(rename = "type")] pub info_type: String, /// The <name> tag under <postalInfo> + #[serde(rename = "contact:name", alias = "name")] pub name: StringValue, /// The <org> tag under <postalInfo> - #[serde(rename = "org")] + #[serde(rename = "contact:org", alias = "org")] pub organization: StringValue, /// The <addr> tag under <postalInfo> - #[serde(rename = "addr")] + #[serde(rename = "contact:addr", alias = "addr")] pub address: Address, } /// The <authInfo> tag for domain and contact transactions #[derive(Serialize, Deserialize, Debug, Clone)] -pub struct AuthInfo { +pub struct DomainAuthInfo { /// The <pw> tag under <authInfo> - #[serde(rename = "pw")] + #[serde(rename = "domain:pw", alias = "pw")] + pub password: StringValue, +} + +/// The <authInfo> tag for domain and contact transactions +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct ContactAuthInfo { + /// The <pw> tag under <authInfo> + #[serde(rename = "contact:pw", alias = "pw")] pub password: StringValue, } @@ -201,10 +213,19 @@ impl Phone { } } -impl AuthInfo { - /// Creates an AuthInfo instance with the given password - pub fn new(password: &str) -> AuthInfo { - AuthInfo { +impl DomainAuthInfo { + /// Creates a DomainAuthInfo instance with the given password + pub fn new(password: &str) -> DomainAuthInfo { + DomainAuthInfo { + password: password.to_string_value(), + } + } +} + +impl ContactAuthInfo { + /// Creates a ContactAuthInfo instance with the given password + pub fn new(password: &str) -> ContactAuthInfo { + ContactAuthInfo { password: password.to_string_value(), } } diff --git a/epp-client/src/epp/request/contact/check.rs b/epp-client/src/epp/request/contact/check.rs index 7990248..4953f0e 100644 --- a/epp-client/src/epp/request/contact/check.rs +++ b/epp-client/src/epp/request/contact/check.rs @@ -61,9 +61,10 @@ pub type EppContactCheck = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct ContactList { /// The XML namespace for the contact <check> + #[serde(rename = "xmlns:contact", alias = "xmlns")] xmlns: String, /// The list of contact ids to check for availability - #[serde(rename = "id")] + #[serde(rename = "contact:id", alias = "id")] pub contact_ids: Vec, } @@ -72,7 +73,7 @@ pub struct ContactList { /// The <command> type for contact check command pub struct ContactCheck { /// The <check> tag for the contact check command - #[serde(rename = "check")] + #[serde(rename = "contact:check", alias = "check")] list: ContactList, } diff --git a/epp-client/src/epp/request/contact/create.rs b/epp-client/src/epp/request/contact/create.rs index 69709c8..cef687a 100644 --- a/epp-client/src/epp/request/contact/create.rs +++ b/epp-client/src/epp/request/contact/create.rs @@ -78,21 +78,26 @@ pub type EppContactCreate = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct Contact { /// XML namespace for contact commands + #[serde(rename = "xmlns:contact")] xmlns: String, /// Contact <id> tag + #[serde(rename = "contact:id")] id: StringValue, /// Contact <postalInfo> tag - #[serde(rename = "postalInfo")] + #[serde(rename = "contact:postalInfo")] postal_info: data::PostalInfo, /// Contact <voice> tag + #[serde(rename = "contact:voice")] voice: data::Phone, /// Contact <fax> tag, + #[serde(rename = "contact:fax")] fax: Option, /// Contact <email> tag + #[serde(rename = "contact:email")] email: StringValue, /// Contact <authInfo> tag - #[serde(rename = "authInfo")] - auth_info: data::AuthInfo, + #[serde(rename = "contact:authInfo")] + auth_info: data::ContactAuthInfo, } #[derive(Serialize, Deserialize, Debug, ElementName)] @@ -100,7 +105,7 @@ pub struct Contact { /// Type for EPP XML <create> command for contacts pub struct ContactCreate { /// Data for <create> command for contact - #[serde(rename = "create")] + #[serde(rename = "contact:create")] pub contact: Contact, } @@ -122,7 +127,7 @@ impl EppContactCreate { voice, fax: None, email: email.to_string_value(), - auth_info: data::AuthInfo::new(auth_password), + auth_info: data::ContactAuthInfo::new(auth_password), }, }; diff --git a/epp-client/src/epp/request/contact/delete.rs b/epp-client/src/epp/request/contact/delete.rs index d4bfbdf..91b0500 100644 --- a/epp-client/src/epp/request/contact/delete.rs +++ b/epp-client/src/epp/request/contact/delete.rs @@ -62,8 +62,10 @@ pub type EppContactDelete = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct ContactDeleteData { /// XML namespace for the <delete> command for contacts + #[serde(rename = "xmlns:contact", alias = "xmlns")] xmlns: String, /// The id of the contact to be deleted + #[serde(rename = "contact:id", alias = "id")] id: StringValue, } @@ -71,7 +73,7 @@ pub struct ContactDeleteData { #[element_name(name = "delete")] /// The <delete> type for the contact delete EPP command pub struct ContactDelete { - #[serde(rename = "delete")] + #[serde(rename = "contact:delete", alias = "delete")] /// The data for the <delete> tag for a contact delete command contact: ContactDeleteData, } diff --git a/epp-client/src/epp/request/contact/info.rs b/epp-client/src/epp/request/contact/info.rs index ea5ba75..b0064fd 100644 --- a/epp-client/src/epp/request/contact/info.rs +++ b/epp-client/src/epp/request/contact/info.rs @@ -2,7 +2,7 @@ use epp_client_macros::*; -use crate::epp::object::data::AuthInfo; +use crate::epp::object::data::ContactAuthInfo; use crate::epp::object::{ElementName, EppObject, StringValue, StringValueTrait}; use crate::epp::request::Command; use crate::epp::xml::EPP_CONTACT_XMLNS; @@ -64,12 +64,14 @@ pub type EppContactInfo = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct ContactInfoData { /// XML namespace for contact commands + #[serde(rename = "xmlns:contact", alias = "contact")] xmlns: String, /// The contact id for the info command + #[serde(rename = "contact:id", alias = "id")] id: StringValue, /// The <authInfo> data - #[serde(rename = "authInfo")] - auth_info: AuthInfo, + #[serde(rename = "contact:authInfo", alias = "authInfo")] + auth_info: ContactAuthInfo, } #[derive(Serialize, Deserialize, Debug, ElementName)] @@ -77,7 +79,7 @@ pub struct ContactInfoData { /// Type for EPP XML <info> command for contacts pub struct ContactInfo { /// Data for <info> command for contact - #[serde(rename = "info")] + #[serde(rename = "contact:info", alias = "info")] info: ContactInfoData, } @@ -88,7 +90,7 @@ impl EppContactInfo { info: ContactInfoData { xmlns: EPP_CONTACT_XMLNS.to_string(), id: id.to_string_value(), - auth_info: AuthInfo::new(auth_password), + auth_info: ContactAuthInfo::new(auth_password), }, }; diff --git a/epp-client/src/epp/request/contact/update.rs b/epp-client/src/epp/request/contact/update.rs index 31fada9..b2620b4 100644 --- a/epp-client/src/epp/request/contact/update.rs +++ b/epp-client/src/epp/request/contact/update.rs @@ -2,7 +2,7 @@ use epp_client_macros::*; -use crate::epp::object::data::{AuthInfo, ContactStatus, Phone, PostalInfo}; +use crate::epp::object::data::{ContactAuthInfo, ContactStatus, Phone, PostalInfo}; use crate::epp::object::{ElementName, EppObject, StringValue, StringValueTrait}; use crate::epp::request::Command; use crate::epp::response::contact::info::EppContactInfoResponse; @@ -73,31 +73,37 @@ pub type EppContactUpdate = EppObject>; /// Type for elements under the <chg> tag for contact update request #[derive(Serialize, Deserialize, Debug)] pub struct ContactChangeInfo { - #[serde(rename = "postalInfo")] + #[serde(rename = "contact:postalInfo", alias = "postalInfo")] postal_info: Option, + #[serde(rename = "contact:voice", alias = "voice")] voice: Option, + #[serde(rename = "contact:fax", alias = "fax")] fax: Option, + #[serde(rename = "contact:email", alias = "email")] email: Option, - #[serde(rename = "authInfo")] - auth_info: Option, + #[serde(rename = "contact:authInfo", alias = "authInfo")] + auth_info: Option, } /// Type for list of elements of the <status> tag for contact update request #[derive(Serialize, Deserialize, Debug)] pub struct StatusList { + #[serde(rename = "contact:status", alias = "status")] status: Vec, } /// Type for elements under the contact <update> tag #[derive(Serialize, Deserialize, Debug)] pub struct ContactUpdateData { + #[serde(rename = "xmlns:contact", alias = "xmlns")] xmlns: String, + #[serde(rename = "contact:id", alias = "id")] id: StringValue, - #[serde(rename = "add")] + #[serde(rename = "contact:add", alias = "add")] add_statuses: Option, - #[serde(rename = "rem")] + #[serde(rename = "contact:rem", alias = "rem")] remove_statuses: Option, - #[serde(rename = "chg")] + #[serde(rename = "contact:chg", alias = "chg")] change_info: Option, } @@ -106,7 +112,7 @@ pub struct ContactUpdateData { /// Type for EPP XML <update> command for contacts pub struct ContactUpdate { /// The data under the <update> tag for the contact update - #[serde(rename = "update")] + #[serde(rename = "contact:update", alias = "update")] contact: ContactUpdateData, } @@ -137,7 +143,7 @@ impl EppContactUpdate { email: Some(email.to_string_value()), postal_info: Some(postal_info), voice: Some(voice), - auth_info: Some(AuthInfo::new(auth_password)), + auth_info: Some(ContactAuthInfo::new(auth_password)), fax: None, }); } diff --git a/epp-client/src/epp/request/domain/check.rs b/epp-client/src/epp/request/domain/check.rs index 5b02220..d249d45 100644 --- a/epp-client/src/epp/request/domain/check.rs +++ b/epp-client/src/epp/request/domain/check.rs @@ -61,9 +61,10 @@ pub type EppDomainCheck = EppObject>; /// Type for <name> elements under the domain <check> tag #[derive(Serialize, Deserialize, Debug)] pub struct DomainList { + #[serde(rename = "xmlns:domain", alias = "xmlns")] /// XML namespace for domain commands pub xmlns: String, - #[serde(rename = "name")] + #[serde(rename = "domain:name", alias = "name")] /// List of domains to be checked for availability pub domains: Vec, } @@ -73,7 +74,7 @@ pub struct DomainList { /// Type for EPP XML <check> command for domains pub struct DomainCheck { /// The object holding the list of domains to be checked - #[serde(rename = "check")] + #[serde(rename = "domain:check", alias = "check")] list: DomainList, } diff --git a/epp-client/src/epp/request/domain/create.rs b/epp-client/src/epp/request/domain/create.rs index 27b47ab..592bd7f 100644 --- a/epp-client/src/epp/request/domain/create.rs +++ b/epp-client/src/epp/request/domain/create.rs @@ -3,7 +3,7 @@ use epp_client_macros::*; use crate::epp::object::data::{ - AuthInfo, DomainContact, HostAttr, HostAttrList, HostList, HostObjList, Period, + DomainAuthInfo, DomainContact, HostAttr, HostAttrList, HostList, HostObjList, Period, }; use crate::epp::object::{ElementName, EppObject, StringValue, StringValueTrait}; use crate::epp::request::Command; @@ -82,22 +82,27 @@ pub type EppDomainCreate = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct DomainCreateData { /// XML namespace for domain commands + #[serde(rename = "xmlns:domain", alias = "xmlns")] xmlns: String, /// The domain name + #[serde(rename = "domain:name", alias = "name")] name: StringValue, /// The period of registration + #[serde(rename = "domain:period", alias = "period")] period: Period, /// The list of nameserver hosts /// either of type `HostObjList` or `HostAttrList` + #[serde(rename = "domain:ns", alias = "ns")] ns: Option, /// The domain registrant + #[serde(rename = "domain:registrant", alias = "registrant")] registrant: Option, /// The list of contacts for the domain - #[serde(rename = "contact")] + #[serde(rename = "domain:contact", alias = "contact")] contacts: Option>, /// The auth info for the domain - #[serde(rename = "authInfo")] - auth_info: AuthInfo, + #[serde(rename = "domain:authInfo", alias = "authInfo")] + auth_info: DomainAuthInfo, } #[derive(Serialize, Deserialize, Debug, ElementName)] @@ -107,7 +112,7 @@ pub struct DomainCreate { /// The data for the domain to be created with /// T being the type of nameserver list (`HostObjList` or `HostAttrList`) /// to be supplied - #[serde(rename = "create")] + #[serde(rename = "domain:create", alias = "create")] domain: DomainCreateData, } @@ -135,7 +140,7 @@ impl EppDomainCreate { period: Period::new(period), ns: Some(HostList::HostObjList(HostObjList { hosts: ns_list })), registrant: Some(registrant_id.to_string_value()), - auth_info: AuthInfo::new(auth_password), + auth_info: DomainAuthInfo::new(auth_password), contacts: Some(contacts), }, }; @@ -160,7 +165,7 @@ impl EppDomainCreate { period: Period::new(period), ns: None, registrant: Some(registrant_id.to_string_value()), - auth_info: AuthInfo::new(auth_password), + auth_info: DomainAuthInfo::new(auth_password), contacts: Some(contacts), }, }; @@ -182,7 +187,7 @@ impl EppDomainCreate { period: Period::new(period), ns: None, registrant: None, - auth_info: AuthInfo::new(auth_password), + auth_info: DomainAuthInfo::new(auth_password), contacts: None, }, }; @@ -208,7 +213,7 @@ impl EppDomainCreate { period: Period::new(period), ns: Some(HostList::HostAttrList(HostAttrList { hosts: ns })), registrant: Some(registrant_id.to_string_value()), - auth_info: AuthInfo::new(auth_password), + auth_info: DomainAuthInfo::new(auth_password), contacts: Some(contacts), }, }; diff --git a/epp-client/src/epp/request/domain/delete.rs b/epp-client/src/epp/request/domain/delete.rs index 4af9730..6456f11 100644 --- a/epp-client/src/epp/request/domain/delete.rs +++ b/epp-client/src/epp/request/domain/delete.rs @@ -59,8 +59,10 @@ pub type EppDomainDelete = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct DomainDeleteData { /// XML namespace for domain commands + #[serde(rename = "xmlns:domain", alias = "xmlns")] xmlns: String, /// The domain to be deleted + #[serde(rename = "domain:name", alias = "name")] name: StringValue, } @@ -69,7 +71,7 @@ pub struct DomainDeleteData { /// Type for EPP XML <delete> command for domains pub struct DomainDelete { /// The data under the <delete> tag for domain deletion - #[serde(rename = "delete")] + #[serde(rename = "domain:delete", alias = "delete")] domain: DomainDeleteData, } diff --git a/epp-client/src/epp/request/domain/info.rs b/epp-client/src/epp/request/domain/info.rs index 4249aed..2bef4e1 100644 --- a/epp-client/src/epp/request/domain/info.rs +++ b/epp-client/src/epp/request/domain/info.rs @@ -69,9 +69,10 @@ pub struct Domain { #[derive(Serialize, Deserialize, Debug)] pub struct DomainInfoData { /// XML namespace for domain commands + #[serde(rename = "xmlns:domain", alias = "xmlns")] xmlns: String, /// The data for the domain to be queried - #[serde(rename = "name")] + #[serde(rename = "domain:name", alias = "name")] domain: Domain, } @@ -80,7 +81,7 @@ pub struct DomainInfoData { /// Type for EPP XML <info> command for domains pub struct DomainInfo { /// The data under the <info> tag for domain info - #[serde(rename = "info")] + #[serde(rename = "domain:info", alias = "info")] info: DomainInfoData, } diff --git a/epp-client/src/epp/request/domain/renew.rs b/epp-client/src/epp/request/domain/renew.rs index efcf25f..60602d9 100644 --- a/epp-client/src/epp/request/domain/renew.rs +++ b/epp-client/src/epp/request/domain/renew.rs @@ -66,13 +66,16 @@ pub type EppDomainRenew = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct DomainRenewData { /// XML namespace for domain commands + #[serde(rename = "xmlns:domain", alias = "xmlns")] xmlns: String, /// The name of the domain to be renewed + #[serde(rename = "domain:name", alias = "name")] name: StringValue, /// The current expiry date of the domain in 'Y-m-d' format - #[serde(rename = "curExpDate")] + #[serde(rename = "domain:curExpDate", alias = "curExpDate")] current_expiry_date: StringValue, /// The period of renewal + #[serde(rename = "domain:period", alias = "period")] period: Period, } @@ -81,7 +84,7 @@ pub struct DomainRenewData { /// Type for EPP XML <renew> command for domains pub struct DomainRenew { /// The data under the <renew> tag for the domain renewal - #[serde(rename = "renew")] + #[serde(rename = "domain:renew", alias = "renew")] domain: DomainRenewData, } diff --git a/epp-client/src/epp/request/domain/rgp/report.rs b/epp-client/src/epp/request/domain/rgp/report.rs index 2beb552..0df4da5 100644 --- a/epp-client/src/epp/request/domain/rgp/report.rs +++ b/epp-client/src/epp/request/domain/rgp/report.rs @@ -87,24 +87,25 @@ pub type EppDomainRgpRestoreReport = #[derive(Serialize, Deserialize, Debug)] pub struct RgpRestoreReportData { /// The pre-delete registration date - #[serde(rename = "preData")] + #[serde(rename = "rgp:preData", alias = "preData")] pre_data: StringValue, /// The post-delete registration date - #[serde(rename = "postData")] + #[serde(rename = "rgp:postData", alias = "postData")] post_data: StringValue, /// The domain deletion date - #[serde(rename = "delTime")] + #[serde(rename = "rgp:delTime", alias = "delTime")] deleted_at: StringValue, /// The domain restore request date - #[serde(rename = "resTime")] + #[serde(rename = "rgp:resTime", alias = "resTime")] restored_at: StringValue, /// The reason for domain restoration - #[serde(rename = "resReason")] + #[serde(rename = "rgp:resReason", alias = "resReason")] restore_reason: StringValue, /// The registrar's statements on the domain restoration - #[serde(rename = "statement")] + #[serde(rename = "rgp:statement", alias = "statement")] statements: Vec, /// Other remarks for domain restoration + #[serde(rename = "rgp:other", alias = "other")] other: StringValue, } @@ -114,16 +115,19 @@ pub struct RgpRestoreReportSection { /// The value of the op attribute for the <restore> tag op: String, /// Data for the <report> tag + #[serde(rename = "rgp:report", alias = "report")] report: RgpRestoreReportData, } #[derive(Serialize, Deserialize, Debug, ElementName)] -#[element_name(name = "update")] +#[element_name(name = "rgp:update")] /// Type for EPP XML <check> command for domains pub struct RgpRestoreReport { /// XML namespace for the RGP restore extension + #[serde(rename = "xmlns:rgp", alias = "xmlns")] xmlns: String, /// The object holding the list of domains to be checked + #[serde(rename = "rgp:restore", alias = "restore")] restore: RgpRestoreReportSection, } diff --git a/epp-client/src/epp/request/domain/rgp/request.rs b/epp-client/src/epp/request/domain/rgp/request.rs index b96f0cc..68b310a 100644 --- a/epp-client/src/epp/request/domain/rgp/request.rs +++ b/epp-client/src/epp/request/domain/rgp/request.rs @@ -68,12 +68,14 @@ pub struct RgpRestoreRequestData { } #[derive(Serialize, Deserialize, Debug, ElementName)] -#[element_name(name = "update")] +#[element_name(name = "rgp:update")] /// Type for EPP XML <check> command for domains pub struct RgpRestoreRequest { /// XML namespace for the RGP restore extension + #[serde(rename = "xmlns:rgp", alias = "xmlns")] xmlns: String, /// The object holding the list of domains to be checked + #[serde(rename = "rgp:restore", alias = "restore")] restore: RgpRestoreRequestData, } diff --git a/epp-client/src/epp/request/domain/transfer.rs b/epp-client/src/epp/request/domain/transfer.rs index e4e0eeb..4856500 100644 --- a/epp-client/src/epp/request/domain/transfer.rs +++ b/epp-client/src/epp/request/domain/transfer.rs @@ -2,7 +2,7 @@ use epp_client_macros::*; -use crate::epp::object::data::{AuthInfo, Period}; +use crate::epp::object::data::{DomainAuthInfo, Period}; use crate::epp::object::{ElementName, EppObject, StringValue, StringValueTrait}; use crate::epp::request::Command; use crate::epp::xml::EPP_DOMAIN_XMLNS; @@ -262,16 +262,19 @@ pub type EppDomainTransferQuery = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct DomainTransferData { /// XML namespace for domain commands + #[serde(rename = "xmlns:domain")] xmlns: String, /// The name of the domain under transfer + #[serde(rename = "domain:name")] name: StringValue, /// The period of renewal upon a successful transfer /// Only applicable in case of a transfer request + #[serde(rename = "domain:period")] period: Option, /// The authInfo for the domain under transfer /// Only applicable to domain transfer and domain transfer query requests - #[serde(rename = "authInfo")] - auth_info: Option, + #[serde(rename = "domain:authInfo")] + auth_info: Option, } #[derive(Serialize, Deserialize, Debug, ElementName)] @@ -283,7 +286,7 @@ pub struct DomainTransfer { #[serde(rename = "op")] operation: String, /// The data under the <transfer> tag in the transfer request - #[serde(rename = "transfer")] + #[serde(rename = "domain:transfer")] domain: DomainTransferData, } @@ -302,7 +305,7 @@ impl EppDomainTransferRequest { xmlns: EPP_DOMAIN_XMLNS.to_string(), name: name.to_string_value(), period: Some(Period::new(years)), - auth_info: Some(AuthInfo::new(auth_password)), + auth_info: Some(DomainAuthInfo::new(auth_password)), }, }, client_tr_id, @@ -379,7 +382,7 @@ impl EppDomainTransferQuery { xmlns: EPP_DOMAIN_XMLNS.to_string(), name: name.to_string_value(), period: None, - auth_info: Some(AuthInfo::new(auth_password)), + auth_info: Some(DomainAuthInfo::new(auth_password)), }, }, client_tr_id, diff --git a/epp-client/src/epp/request/domain/update.rs b/epp-client/src/epp/request/domain/update.rs index 3e9cd42..249075b 100644 --- a/epp-client/src/epp/request/domain/update.rs +++ b/epp-client/src/epp/request/domain/update.rs @@ -2,7 +2,7 @@ use epp_client_macros::*; -use crate::epp::object::data::{AuthInfo, DomainContact, DomainStatus, HostList}; +use crate::epp::object::data::{DomainAuthInfo, DomainContact, DomainStatus, HostList}; use crate::epp::object::{ElementName, EppObject, StringValue, StringValueTrait}; use crate::epp::request::Command; use crate::epp::xml::EPP_DOMAIN_XMLNS; @@ -86,10 +86,11 @@ pub type EppDomainUpdate = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct DomainChangeInfo { /// The new registrant contact for the domain + #[serde(rename = "domain:registrant", alias = "update")] pub registrant: Option, /// The new auth info for the domain - #[serde(rename = "authInfo")] - pub auth_info: Option, + #[serde(rename = "domain:authInfo", alias = "authInfo")] + pub auth_info: Option, } /// Type for elements under the <add> and <rem> tags for domain update @@ -97,13 +98,13 @@ pub struct DomainChangeInfo { pub struct DomainAddRemove { /// The list of nameservers to add or remove /// Type T can be either a `HostObjList` or `HostAttrList` - #[serde(rename = "ns")] + #[serde(rename = "domain:ns", alias = "ns")] pub ns: Option, /// The list of contacts to add to or remove from the domain - #[serde(rename = "contact")] + #[serde(rename = "domain:contact", alias = "contact")] pub contacts: Option>, /// The list of statuses to add to or remove from the domain - #[serde(rename = "status")] + #[serde(rename = "domain:status", alias = "status")] pub statuses: Option>, } @@ -111,18 +112,21 @@ pub struct DomainAddRemove { #[derive(Serialize, Deserialize, Debug)] pub struct DomainUpdateData { /// XML namespace for domain commands + #[serde(rename = "xmlns:domain", alias = "xmlns")] pub xmlns: String, /// The name of the domain to update + #[serde(rename = "domain:name", alias = "name")] pub name: StringValue, /// `DomainAddRemove` Object containing the list of elements to be added /// to the domain + #[serde(rename = "domain:add", alias = "add")] pub add: Option, /// `DomainAddRemove` Object containing the list of elements to be removed /// from the domain - #[serde(rename = "rem")] + #[serde(rename = "domain:rem", alias = "rem")] pub remove: Option, /// The data under the <chg> tag for domain update - #[serde(rename = "chg")] + #[serde(rename = "domain:chg", alias = "chg")] pub change_info: Option, } @@ -130,7 +134,7 @@ pub struct DomainUpdateData { #[element_name(name = "update")] /// Type for EPP XML <update> command for domains pub struct DomainUpdate { - #[serde(rename = "update")] + #[serde(rename = "domain:update", alias = "update")] pub domain: DomainUpdateData, } diff --git a/epp-client/src/epp/request/host/check.rs b/epp-client/src/epp/request/host/check.rs index 043b8e0..9a3e674 100644 --- a/epp-client/src/epp/request/host/check.rs +++ b/epp-client/src/epp/request/host/check.rs @@ -62,9 +62,10 @@ pub type EppHostCheck = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct HostList { /// XML namespace for host commands + #[serde(rename = "xmlns:host", alias = "xmlns")] xmlns: String, /// List of hosts to be checked for availability - #[serde(rename = "name")] + #[serde(rename = "host:name", alias = "name")] pub hosts: Vec, } @@ -73,7 +74,7 @@ pub struct HostList { /// Type for EPP XML <check> command for hosts pub struct HostCheck { /// The instance holding the list of hosts to be checked - #[serde(rename = "check")] + #[serde(rename = "host:check", alias = "check")] list: HostList, } diff --git a/epp-client/src/epp/request/host/create.rs b/epp-client/src/epp/request/host/create.rs index 6e08d9e..9a6042c 100644 --- a/epp-client/src/epp/request/host/create.rs +++ b/epp-client/src/epp/request/host/create.rs @@ -67,11 +67,13 @@ pub type EppHostCreate = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct HostCreateData { /// XML namespace for host commands + #[serde(rename = "xmlns:host", alias = "xmlns")] xmlns: String, /// The name of the host to be created + #[serde(rename = "host:name", alias = "name")] pub name: StringValue, /// The list of IP addresses for the host - #[serde(rename = "addr")] + #[serde(rename = "host:addr", alias = "addr")] pub addresses: Option>, } @@ -80,7 +82,7 @@ pub struct HostCreateData { /// Type for EPP XML <create> command for hosts pub struct HostCreate { /// The instance holding the data for the host to be created - #[serde(rename = "create")] + #[serde(rename = "host:create", alias = "create")] host: HostCreateData, } diff --git a/epp-client/src/epp/request/host/delete.rs b/epp-client/src/epp/request/host/delete.rs index 228c898..770ba35 100644 --- a/epp-client/src/epp/request/host/delete.rs +++ b/epp-client/src/epp/request/host/delete.rs @@ -59,8 +59,10 @@ pub type EppHostDelete = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct HostDeleteData { /// XML namespace for host commands + #[serde(rename = "xmlns:host", alias = "xmlns")] xmlns: String, /// The host to be deleted + #[serde(rename = "host:name", alias = "name")] name: StringValue, } @@ -69,7 +71,7 @@ pub struct HostDeleteData { /// Type for EPP XML <delete> command for hosts pub struct HostDelete { /// The instance holding the data for the host to be deleted - #[serde(rename = "delete")] + #[serde(rename = "host:delete", alias = "delete")] host: HostDeleteData, } diff --git a/epp-client/src/epp/request/host/info.rs b/epp-client/src/epp/request/host/info.rs index 8633cff..12360dd 100644 --- a/epp-client/src/epp/request/host/info.rs +++ b/epp-client/src/epp/request/host/info.rs @@ -59,8 +59,10 @@ pub type EppHostInfo = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct HostInfoData { /// XML namespace for host commands + #[serde(rename = "xmlns:host", alias = "xmlns")] xmlns: String, /// The name of the host to be queried + #[serde(rename = "host:name", alias = "name")] name: StringValue, } @@ -69,7 +71,7 @@ pub struct HostInfoData { /// Type for EPP XML <info> command for hosts pub struct HostInfo { /// The instance holding the data for the host query - #[serde(rename = "info")] + #[serde(rename = "host:info", alias = "info")] info: HostInfoData, } diff --git a/epp-client/src/epp/request/host/update.rs b/epp-client/src/epp/request/host/update.rs index 78478ad..4011d8c 100644 --- a/epp-client/src/epp/request/host/update.rs +++ b/epp-client/src/epp/request/host/update.rs @@ -83,6 +83,7 @@ pub type EppHostUpdate = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct HostChangeInfo { /// The new name for the host + #[serde(rename = "host:name", alias = "name")] pub name: StringValue, } @@ -90,10 +91,10 @@ pub struct HostChangeInfo { #[derive(Serialize, Deserialize, Debug)] pub struct HostAddRemove { /// The IP addresses to be added to or removed from the host - #[serde(rename = "addr")] + #[serde(rename = "host:addr", alias = "addr")] pub addresses: Option>, /// The statuses to be added to or removed from the host - #[serde(rename = "status")] + #[serde(rename = "host:status", alias = "status")] pub statuses: Option>, } @@ -101,16 +102,19 @@ pub struct HostAddRemove { #[derive(Serialize, Deserialize, Debug)] pub struct HostUpdateData { /// XML namespace for host commands + #[serde(rename = "xmlns:host", alias = "xmlns")] xmlns: String, /// The name of the host + #[serde(rename = "host:name", alias = "name")] name: StringValue, /// The IP addresses and statuses to be added to the host + #[serde(rename = "host:add", alias = "add")] add: Option, /// The IP addresses and statuses to be removed from the host - #[serde(rename = "rem")] + #[serde(rename = "host:rem", alias = "rem")] remove: Option, /// The host details that need to be updated - #[serde(rename = "chg")] + #[serde(rename = "host:chg", alias = "chg")] change_info: Option, } @@ -119,7 +123,7 @@ pub struct HostUpdateData { /// Type for EPP XML <update> command for hosts pub struct HostUpdate { /// The instance holding the data for the host to be updated - #[serde(rename = "update")] + #[serde(rename = "host:update", alias = "update")] host: HostUpdateData, } diff --git a/epp-client/src/epp/response/contact/info.rs b/epp-client/src/epp/response/contact/info.rs index 8a15402..9db10c0 100644 --- a/epp-client/src/epp/response/contact/info.rs +++ b/epp-client/src/epp/response/contact/info.rs @@ -2,7 +2,7 @@ use serde::{Deserialize, Serialize}; -use crate::epp::object::data::{AuthInfo, ContactStatus, Phone, PostalInfo}; +use crate::epp::object::data::{ContactAuthInfo, ContactStatus, Phone, PostalInfo}; use crate::epp::object::{EppObject, StringValue}; use crate::epp::response::CommandResponse; @@ -51,7 +51,7 @@ pub struct ContactInfoData { pub transferred_at: Option, /// The contact auth info #[serde(rename = "authInfo")] - pub auth_info: Option, + pub auth_info: Option, } /// Type that represents the <resData> tag for contact info response diff --git a/epp-client/src/epp/response/domain/info.rs b/epp-client/src/epp/response/domain/info.rs index b20f3df..6652e68 100644 --- a/epp-client/src/epp/response/domain/info.rs +++ b/epp-client/src/epp/response/domain/info.rs @@ -2,7 +2,7 @@ use serde::{Deserialize, Serialize}; -use crate::epp::object::data::{AuthInfo, DomainContact, DomainStatus, HostAttr}; +use crate::epp::object::data::{DomainAuthInfo, DomainContact, DomainStatus, HostAttr}; use crate::epp::object::{EppObject, StringValue}; use crate::epp::response::domain::rgp::request::RgpRequestResult; use crate::epp::response::CommandResponseWithExtension; @@ -69,7 +69,7 @@ pub struct DomainInfoData { pub transferred_at: Option, /// The domain auth info #[serde(rename = "authInfo")] - pub auth_info: Option, + pub auth_info: Option, } /// Type that represents the <resData> tag for domain info response diff --git a/epp-client/src/epp/response/message/poll.rs b/epp-client/src/epp/response/message/poll.rs index 1eddd65..47afe07 100644 --- a/epp-client/src/epp/response/message/poll.rs +++ b/epp-client/src/epp/response/message/poll.rs @@ -11,27 +11,28 @@ pub type EppMessagePollResponse = EppObject>; #[derive(Serialize, Deserialize, Debug)] pub struct MessageDomainTransferData { /// XML namespace for message response data - #[serde(rename = "xmlns:obj")] + #[serde(rename = "xmlns:obj", alias = "xmlns")] xmlns: String, /// The name of the domain under transfer + #[serde(rename = "obj:name", alias = "name")] pub name: StringValue, /// The domain transfer status - #[serde(rename = "trStatus")] + #[serde(rename = "obj:trStatus", alias = "trStatus")] pub transfer_status: StringValue, /// The epp user who requested the transfer - #[serde(rename = "reID")] + #[serde(rename = "obj:reID", alias = "reID")] pub requester_id: StringValue, /// The date of the transfer request - #[serde(rename = "reDate")] + #[serde(rename = "obj:reDate", alias = "reDate")] pub requested_at: StringValue, /// The epp user who should acknowledge the transfer request - #[serde(rename = "acID")] + #[serde(rename = "obj:acID", alias = "acID")] pub ack_id: StringValue, /// The date by which the transfer request should be acknowledged - #[serde(rename = "acDate")] + #[serde(rename = "obj:acDate", alias = "acDate")] pub ack_by: StringValue, /// The domain expiry date - #[serde(rename = "exDate")] + #[serde(rename = "obj:exDate", alias = "exDate")] pub expiring_at: StringValue, } @@ -39,6 +40,6 @@ pub struct MessageDomainTransferData { #[derive(Serialize, Deserialize, Debug)] pub struct MessagePollResult { /// Data under the <trnData> tag - #[serde(rename = "trnData")] + #[serde(rename = "obj:trnData", alias = "trnData")] pub message_data: MessageDomainTransferData, } diff --git a/epp-client/src/tests/se.rs b/epp-client/src/tests/se.rs index c6e1147..9fcf80a 100644 --- a/epp-client/src/tests/se.rs +++ b/epp-client/src/tests/se.rs @@ -4,7 +4,7 @@ mod request { use super::super::get_xml; use super::super::CLTRID; use crate::epp::object::data::{ - Address, AuthInfo, ContactStatus, DomainContact, DomainStatus, HostAddr, HostAttr, + Address, ContactStatus, DomainAuthInfo, DomainContact, DomainStatus, HostAddr, HostAttr, HostStatus, Phone, PostalInfo, }; use crate::epp::object::StringValueTrait; @@ -291,7 +291,7 @@ mod request { let change_info = DomainChangeInfo { registrant: None, - auth_info: Some(AuthInfo::new("epP5uthd#v")), + auth_info: Some(DomainAuthInfo::new("epP5uthd#v")), }; object.add(add); diff --git a/epp-client/test/resources/request/contact/check.xml b/epp-client/test/resources/request/contact/check.xml index b3bd5ed..b53e583 100644 --- a/epp-client/test/resources/request/contact/check.xml +++ b/epp-client/test/resources/request/contact/check.xml @@ -1,12 +1,12 @@ - - - - eppdev-contact-1 - eppdev-contact-2 - - - cltrid:1626454866 - + + + + eppdev-contact-1 + eppdev-contact-2 + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/contact/create.xml b/epp-client/test/resources/request/contact/create.xml index 71e9920..93edb0a 100644 --- a/epp-client/test/resources/request/contact/create.xml +++ b/epp-client/test/resources/request/contact/create.xml @@ -1,29 +1,29 @@ - - - - eppdev-contact-3 - - John Doe - Acme Widgets - - 58 - Orchid Road - Paris - Paris - 392374 - FR - - - +33.47237942 - +33.86698799 - contact@eppdev.net - - eppdev-387323 - - - - cltrid:1626454866 - + + + + eppdev-contact-3 + + John Doe + Acme Widgets + + 58 + Orchid Road + Paris + Paris + 392374 + FR + + + +33.47237942 + +33.86698799 + contact@eppdev.net + + eppdev-387323 + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/contact/delete.xml b/epp-client/test/resources/request/contact/delete.xml index 3f45e73..6334adc 100644 --- a/epp-client/test/resources/request/contact/delete.xml +++ b/epp-client/test/resources/request/contact/delete.xml @@ -1,11 +1,11 @@ - - - - eppdev-contact-3 - - - cltrid:1626454866 - + + + + eppdev-contact-3 + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/contact/info.xml b/epp-client/test/resources/request/contact/info.xml index 210d6b7..7422bcd 100644 --- a/epp-client/test/resources/request/contact/info.xml +++ b/epp-client/test/resources/request/contact/info.xml @@ -1,14 +1,14 @@ - - - - eppdev-contact-3 - - eppdev-387323 - - - - cltrid:1626454866 - + + + + eppdev-contact-3 + + eppdev-387323 + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/contact/update.xml b/epp-client/test/resources/request/contact/update.xml index 5b61f9a..b5076f2 100644 --- a/epp-client/test/resources/request/contact/update.xml +++ b/epp-client/test/resources/request/contact/update.xml @@ -1,36 +1,36 @@ - - - - eppdev-contact-3 - - - - - - - - - John Doe - Acme Widgets - - 58 - Orchid Road - Paris - Paris - 392374 - FR - - - +33.47237942 - newemail@eppdev.net - - eppdev-387323 - - - - - cltrid:1626454866 - + + + + eppdev-contact-3 + + + + + + + + + John Doe + Acme Widgets + + 58 + Orchid Road + Paris + Paris + 392374 + FR + + + +33.47237942 + newemail@eppdev.net + + eppdev-387323 + + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/check.xml b/epp-client/test/resources/request/domain/check.xml index 33382d2..83a69f5 100644 --- a/epp-client/test/resources/request/domain/check.xml +++ b/epp-client/test/resources/request/domain/check.xml @@ -1,12 +1,12 @@ - - - - eppdev.com - eppdev.net - - - cltrid:1626454866 - + + + + eppdev.com + eppdev.net + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/create.xml b/epp-client/test/resources/request/domain/create.xml index d16c224..6c7cca9 100644 --- a/epp-client/test/resources/request/domain/create.xml +++ b/epp-client/test/resources/request/domain/create.xml @@ -1,19 +1,19 @@ - - - - eppdev-1.com - 1 - eppdev-contact-3 - eppdev-contact-3 - eppdev-contact-3 - eppdev-contact-3 - - epP4uthd#v - - - - cltrid:1626454866 - + + + + eppdev-1.com + 1 + eppdev-contact-3 + eppdev-contact-3 + eppdev-contact-3 + eppdev-contact-3 + + epP4uthd#v + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/create_with_host_attr.xml b/epp-client/test/resources/request/domain/create_with_host_attr.xml index 376157b..54e5ee6 100644 --- a/epp-client/test/resources/request/domain/create_with_host_attr.xml +++ b/epp-client/test/resources/request/domain/create_with_host_attr.xml @@ -1,29 +1,29 @@ - - - - eppdev-2.com - 1 - - - ns1.eppdev-1.com - - - ns2.eppdev-1.com - 177.232.12.58 - 2404:6800:4001:801::200e - - - eppdev-contact-3 - eppdev-contact-3 - eppdev-contact-3 - eppdev-contact-3 - - epP4uthd#v - - - - cltrid:1626454866 - + + + + eppdev-2.com + 1 + + + ns1.eppdev-1.com + + + ns2.eppdev-1.com + 177.232.12.58 + 2404:6800:4001:801::200e + + + eppdev-contact-3 + eppdev-contact-3 + eppdev-contact-3 + eppdev-contact-3 + + epP4uthd#v + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/create_with_host_obj.xml b/epp-client/test/resources/request/domain/create_with_host_obj.xml index 168eb35..4dd7ec2 100644 --- a/epp-client/test/resources/request/domain/create_with_host_obj.xml +++ b/epp-client/test/resources/request/domain/create_with_host_obj.xml @@ -1,23 +1,23 @@ - - - - eppdev-1.com - 1 - - ns1.test.com - ns2.test.com - - eppdev-contact-3 - eppdev-contact-3 - eppdev-contact-3 - eppdev-contact-3 - - epP4uthd#v - - - - cltrid:1626454866 - + + + + eppdev-1.com + 1 + + ns1.test.com + ns2.test.com + + eppdev-contact-3 + eppdev-contact-3 + eppdev-contact-3 + eppdev-contact-3 + + epP4uthd#v + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/delete.xml b/epp-client/test/resources/request/domain/delete.xml index 9e4b637..b21bb73 100644 --- a/epp-client/test/resources/request/domain/delete.xml +++ b/epp-client/test/resources/request/domain/delete.xml @@ -1,11 +1,11 @@ - - - - eppdev.com - - - cltrid:1626454866 - + + + + eppdev.com + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/info.xml b/epp-client/test/resources/request/domain/info.xml index 6cda842..2702983 100644 --- a/epp-client/test/resources/request/domain/info.xml +++ b/epp-client/test/resources/request/domain/info.xml @@ -1,11 +1,11 @@ - - - - eppdev.com - - - cltrid:1626454866 - + + + + eppdev.com + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/renew.xml b/epp-client/test/resources/request/domain/renew.xml index db778b3..5a7e02b 100644 --- a/epp-client/test/resources/request/domain/renew.xml +++ b/epp-client/test/resources/request/domain/renew.xml @@ -1,13 +1,13 @@ - - - - eppdev.com - 2022-07-23 - 1 - - - cltrid:1626454866 - + + + + eppdev.com + 2022-07-23 + 1 + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/rgp_restore_report.xml b/epp-client/test/resources/request/domain/rgp_restore_report.xml index 3471070..172b28e 100644 --- a/epp-client/test/resources/request/domain/rgp_restore_report.xml +++ b/epp-client/test/resources/request/domain/rgp_restore_report.xml @@ -1,28 +1,28 @@ - - - - eppdev.com - - - - - - - - Pre-delete registration data goes here. Both XML and free text are allowed. - Post-restore registration data goes here. Both XML and free text are allowed. - 2021-07-10T22:00:00Z - 2021-07-20T22:00:00Z - Registrant error. - This registrar has not restored the Registered Name in order to assume the rights to use or sell the Registered Name for itself or for any third party. - The information in this report is true to best of this registrar's knowledge, and this registrar acknowledges that intentionally supplying false information in this report shall constitute an incurable material breach of the Registry-Registrar Agreement. - Supporting information goes here. - - - - - cltrid:1626454866 - + + + + eppdev.com + + + + + + + + Pre-delete registration data goes here. Both XML and free text are allowed. + Post-restore registration data goes here. Both XML and free text are allowed. + 2021-07-10T22:00:00Z + 2021-07-20T22:00:00Z + Registrant error. + This registrar has not restored the Registered Name in order to assume the rights to use or sell the Registered Name for itself or for any third party. + The information in this report is true to best of this registrar's knowledge, and this registrar acknowledges that intentionally supplying false information in this report shall constitute an incurable material breach of the Registry-Registrar Agreement. + Supporting information goes here. + + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/rgp_restore_request.xml b/epp-client/test/resources/request/domain/rgp_restore_request.xml index f79a009..59dcad8 100644 --- a/epp-client/test/resources/request/domain/rgp_restore_request.xml +++ b/epp-client/test/resources/request/domain/rgp_restore_request.xml @@ -1,17 +1,17 @@ - - - - eppdev.com - - - - - - - - - cltrid:1626454866 - + + + + eppdev.com + + + + + + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/transfer_approve.xml b/epp-client/test/resources/request/domain/transfer_approve.xml index 2290c4b..bf0f809 100644 --- a/epp-client/test/resources/request/domain/transfer_approve.xml +++ b/epp-client/test/resources/request/domain/transfer_approve.xml @@ -1,11 +1,11 @@ - - - - testing.com - - - cltrid:1626454866 - + + + + testing.com + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/transfer_cancel.xml b/epp-client/test/resources/request/domain/transfer_cancel.xml index 23a7773..cc0d3ce 100644 --- a/epp-client/test/resources/request/domain/transfer_cancel.xml +++ b/epp-client/test/resources/request/domain/transfer_cancel.xml @@ -1,11 +1,11 @@ - - - - testing.com - - - cltrid:1626454866 - + + + + testing.com + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/transfer_query.xml b/epp-client/test/resources/request/domain/transfer_query.xml index 3f80554..9e4320e 100644 --- a/epp-client/test/resources/request/domain/transfer_query.xml +++ b/epp-client/test/resources/request/domain/transfer_query.xml @@ -1,14 +1,14 @@ - - - - testing.com - - epP4uthd#v - - - - cltrid:1626454866 - + + + + testing.com + + epP4uthd#v + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/transfer_reject.xml b/epp-client/test/resources/request/domain/transfer_reject.xml index ec5a9d2..561b8c4 100644 --- a/epp-client/test/resources/request/domain/transfer_reject.xml +++ b/epp-client/test/resources/request/domain/transfer_reject.xml @@ -1,11 +1,11 @@ - - - - testing.com - - - cltrid:1626454866 - + + + + testing.com + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/transfer_request.xml b/epp-client/test/resources/request/domain/transfer_request.xml index 1682ae1..a1ad2b0 100644 --- a/epp-client/test/resources/request/domain/transfer_request.xml +++ b/epp-client/test/resources/request/domain/transfer_request.xml @@ -1,15 +1,15 @@ - - - - testing.com - 1 - - epP4uthd#v - - - - cltrid:1626454866 - + + + + testing.com + 1 + + epP4uthd#v + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/domain/update.xml b/epp-client/test/resources/request/domain/update.xml index 4582404..5f6f8de 100644 --- a/epp-client/test/resources/request/domain/update.xml +++ b/epp-client/test/resources/request/domain/update.xml @@ -1,22 +1,22 @@ - - - - eppdev.com - - - - - eppdev-contact-2 - - - - epP5uthd#v - - - - - cltrid:1626454866 - + + + + eppdev.com + + + + + eppdev-contact-2 + + + + epP5uthd#v + + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/host/check.xml b/epp-client/test/resources/request/host/check.xml index 649b5e7..45acdbe 100644 --- a/epp-client/test/resources/request/host/check.xml +++ b/epp-client/test/resources/request/host/check.xml @@ -1,12 +1,12 @@ - - - - ns1.eppdev-1.com - host1.eppdev-1.com - - - cltrid:1626454866 - + + + + ns1.eppdev-1.com + host1.eppdev-1.com + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/host/create.xml b/epp-client/test/resources/request/host/create.xml index 6e0b7f3..70fe705 100644 --- a/epp-client/test/resources/request/host/create.xml +++ b/epp-client/test/resources/request/host/create.xml @@ -1,13 +1,13 @@ - - - - host1.eppdev-1.com - 29.245.122.14 - 2404:6800:4001:801::200e - - - cltrid:1626454866 - + + + + host1.eppdev-1.com + 29.245.122.14 + 2404:6800:4001:801::200e + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/host/delete.xml b/epp-client/test/resources/request/host/delete.xml index f76d09a..0d396b2 100644 --- a/epp-client/test/resources/request/host/delete.xml +++ b/epp-client/test/resources/request/host/delete.xml @@ -1,11 +1,11 @@ - - - - ns1.eppdev-1.com - - - cltrid:1626454866 - + + + + ns1.eppdev-1.com + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/host/info.xml b/epp-client/test/resources/request/host/info.xml index 327e614..40446dd 100644 --- a/epp-client/test/resources/request/host/info.xml +++ b/epp-client/test/resources/request/host/info.xml @@ -1,11 +1,11 @@ - - - - ns1.eppdev-1.com - - - cltrid:1626454866 - + + + + ns1.eppdev-1.com + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/host/update.xml b/epp-client/test/resources/request/host/update.xml index 81330fa..216ec33 100644 --- a/epp-client/test/resources/request/host/update.xml +++ b/epp-client/test/resources/request/host/update.xml @@ -1,20 +1,20 @@ - - - - host1.eppdev-1.com - - 2404:6800:4001:801::200e - - - - - - host2.eppdev-1.com - - - - cltrid:1626454866 - + + + + host1.eppdev-1.com + + 2404:6800:4001:801::200e + + + + + + host2.eppdev-1.com + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/login.xml b/epp-client/test/resources/request/login.xml index 511bc6f..1ba1665 100644 --- a/epp-client/test/resources/request/login.xml +++ b/epp-client/test/resources/request/login.xml @@ -1,22 +1,22 @@ - - - username - password - - 1.0 - en - - - urn:ietf:params:xml:ns:host-1.0 - urn:ietf:params:xml:ns:contact-1.0 - urn:ietf:params:xml:ns:domain-1.0 - - http://schema.ispapi.net/epp/xml/keyvalue-1.0 - - - - cltrid:1626454866 - + + + username + password + + 1.0 + en + + + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:domain-1.0 + + http://schema.ispapi.net/epp/xml/keyvalue-1.0 + + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/logout.xml b/epp-client/test/resources/request/logout.xml index 11f3893..b33b6ef 100644 --- a/epp-client/test/resources/request/logout.xml +++ b/epp-client/test/resources/request/logout.xml @@ -1,7 +1,7 @@ - - - cltrid:1626454866 - + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/message/ack.xml b/epp-client/test/resources/request/message/ack.xml index 6da28ec..3de49ef 100644 --- a/epp-client/test/resources/request/message/ack.xml +++ b/epp-client/test/resources/request/message/ack.xml @@ -1,7 +1,7 @@ - - - cltrid:1626454866 - + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/request/message/poll.xml b/epp-client/test/resources/request/message/poll.xml index dd01ae1..23eab38 100644 --- a/epp-client/test/resources/request/message/poll.xml +++ b/epp-client/test/resources/request/message/poll.xml @@ -1,7 +1,7 @@ - - - cltrid:1626454866 - + + + cltrid:1626454866 + \ No newline at end of file diff --git a/epp-client/test/resources/response/contact/check.xml b/epp-client/test/resources/response/contact/check.xml index 31d6281..a450ae4 100644 --- a/epp-client/test/resources/response/contact/check.xml +++ b/epp-client/test/resources/response/contact/check.xml @@ -1,22 +1,22 @@ - - - Command completed successfully - - - - - eppdev-contact-1 - - - eppdev-contact-2 - - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + + eppdev-contact-1 + + + eppdev-contact-2 + + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/contact/create.xml b/epp-client/test/resources/response/contact/create.xml index e19be18..ad57872 100644 --- a/epp-client/test/resources/response/contact/create.xml +++ b/epp-client/test/resources/response/contact/create.xml @@ -1,18 +1,18 @@ - - - Command completed successfully - - - - eppdev-contact-4 - 2021-07-25T16:05:32.0Z - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + eppdev-contact-4 + 2021-07-25T16:05:32.0Z + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/contact/delete.xml b/epp-client/test/resources/response/contact/delete.xml index 0733466..6f1e613 100644 --- a/epp-client/test/resources/response/contact/delete.xml +++ b/epp-client/test/resources/response/contact/delete.xml @@ -1,18 +1,18 @@ - - - Command completed successfully - - - - - 200 Command completed successfully - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + + 200 Command completed successfully + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/contact/info.xml b/epp-client/test/resources/response/contact/info.xml index 1e8cce0..737b02c 100644 --- a/epp-client/test/resources/response/contact/info.xml +++ b/epp-client/test/resources/response/contact/info.xml @@ -1,42 +1,42 @@ - - - Command completed successfully - - - - eppdev-contact-3 - UNDEF-ROID - - - John Doe - Acme Widgets - - 58 - Orchid Road - Paris - Paris - 392374 - FR - - - +33.47237942 - +33.86698799 - contact@eppdev.net - eppdev - SYSTEM - 2021-07-23T13:09:09.0Z - SYSTEM - 2021-07-23T13:09:09.0Z - - eppdev-387323 - - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + eppdev-contact-3 + UNDEF-ROID + + + John Doe + Acme Widgets + + 58 + Orchid Road + Paris + Paris + 392374 + FR + + + +33.47237942 + +33.86698799 + contact@eppdev.net + eppdev + SYSTEM + 2021-07-23T13:09:09.0Z + SYSTEM + 2021-07-23T13:09:09.0Z + + eppdev-387323 + + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/contact/update.xml b/epp-client/test/resources/response/contact/update.xml index 0733466..6f1e613 100644 --- a/epp-client/test/resources/response/contact/update.xml +++ b/epp-client/test/resources/response/contact/update.xml @@ -1,18 +1,18 @@ - - - Command completed successfully - - - - - 200 Command completed successfully - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + + 200 Command completed successfully + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/check.xml b/epp-client/test/resources/response/domain/check.xml index c35b83a..3572cc3 100644 --- a/epp-client/test/resources/response/domain/check.xml +++ b/epp-client/test/resources/response/domain/check.xml @@ -1,22 +1,22 @@ - - - Command completed successfully - - - - - eppdev.com - - - eppdev.net - - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + + eppdev.com + + + eppdev.net + + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/create.xml b/epp-client/test/resources/response/domain/create.xml index 09315c9..cd30ef8 100644 --- a/epp-client/test/resources/response/domain/create.xml +++ b/epp-client/test/resources/response/domain/create.xml @@ -1,25 +1,25 @@ - - - Command completed successfully - - - - - 200 Command completed successfully - - - - - eppdev-2.com - 2021-07-25T18:11:35.0Z - 2022-07-25T18:11:34.0Z - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + + 200 Command completed successfully + + + + + eppdev-2.com + 2021-07-25T18:11:35.0Z + 2022-07-25T18:11:34.0Z + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/delete.xml b/epp-client/test/resources/response/domain/delete.xml index 0733466..6f1e613 100644 --- a/epp-client/test/resources/response/domain/delete.xml +++ b/epp-client/test/resources/response/domain/delete.xml @@ -1,18 +1,18 @@ - - - Command completed successfully - - - - - 200 Command completed successfully - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + + 200 Command completed successfully + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/info.xml b/epp-client/test/resources/response/domain/info.xml index 1d6eef5..76f5237 100644 --- a/epp-client/test/resources/response/domain/info.xml +++ b/epp-client/test/resources/response/domain/info.xml @@ -1,39 +1,39 @@ - - - Command completed successfully - - - - eppdev-1.com - 125899511_DOMAIN_COM-VRSN - - - eppdev-contact-2 - eppdev-contact-2 - eppdev-contact-2 - eppdev-contact-2 - - ns1.eppdev-1.com - ns2.eppdev-1.com - - ns1.eppdev-1.com - ns2.eppdev-1.com - eppdev - SYSTEM - 2021-07-23T15:31:20.0Z - SYSTEM - 2021-07-23T15:31:21.0Z - 2023-07-23T15:31:20.0Z - - epP4uthd#v - - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + eppdev-1.com + 125899511_DOMAIN_COM-VRSN + + + eppdev-contact-2 + eppdev-contact-2 + eppdev-contact-2 + eppdev-contact-2 + + ns1.eppdev-1.com + ns2.eppdev-1.com + + ns1.eppdev-1.com + ns2.eppdev-1.com + eppdev + SYSTEM + 2021-07-23T15:31:20.0Z + SYSTEM + 2021-07-23T15:31:21.0Z + 2023-07-23T15:31:20.0Z + + epP4uthd#v + + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/renew.xml b/epp-client/test/resources/response/domain/renew.xml index 7bc4d38..5337d74 100644 --- a/epp-client/test/resources/response/domain/renew.xml +++ b/epp-client/test/resources/response/domain/renew.xml @@ -1,24 +1,24 @@ - - - Command completed successfully - - - - - 200 Command completed successfully - - - - - eppdev-1.com - 2024-07-23T15:31:20.0Z - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + + 200 Command completed successfully + + + + + eppdev-1.com + 2024-07-23T15:31:20.0Z + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/rgp_restore.xml b/epp-client/test/resources/response/domain/rgp_restore.xml index da79fb1..dccc383 100644 --- a/epp-client/test/resources/response/domain/rgp_restore.xml +++ b/epp-client/test/resources/response/domain/rgp_restore.xml @@ -1,17 +1,17 @@ - - - Command completed successfully - - - - - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/transfer_approve.xml b/epp-client/test/resources/response/domain/transfer_approve.xml index c08cbc3..6dd6663 100644 --- a/epp-client/test/resources/response/domain/transfer_approve.xml +++ b/epp-client/test/resources/response/domain/transfer_approve.xml @@ -1,12 +1,12 @@ - - - Command completed successfully - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/transfer_cancel.xml b/epp-client/test/resources/response/domain/transfer_cancel.xml index c08cbc3..6dd6663 100644 --- a/epp-client/test/resources/response/domain/transfer_cancel.xml +++ b/epp-client/test/resources/response/domain/transfer_cancel.xml @@ -1,12 +1,12 @@ - - - Command completed successfully - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/transfer_query.xml b/epp-client/test/resources/response/domain/transfer_query.xml index 8e96f63..8d86812 100644 --- a/epp-client/test/resources/response/domain/transfer_query.xml +++ b/epp-client/test/resources/response/domain/transfer_query.xml @@ -1,23 +1,23 @@ - - - Command completed successfully - - - - eppdev-transfer.com - pending - eppdev - 2021-07-23T15:31:21.0Z - ClientY - 2021-07-28T15:31:21.0Z - 2022-07-02T14:53:19.0Z - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + eppdev-transfer.com + pending + eppdev + 2021-07-23T15:31:21.0Z + ClientY + 2021-07-28T15:31:21.0Z + 2022-07-02T14:53:19.0Z + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/transfer_reject.xml b/epp-client/test/resources/response/domain/transfer_reject.xml index c08cbc3..6dd6663 100644 --- a/epp-client/test/resources/response/domain/transfer_reject.xml +++ b/epp-client/test/resources/response/domain/transfer_reject.xml @@ -1,12 +1,12 @@ - - - Command completed successfully - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/transfer_request.xml b/epp-client/test/resources/response/domain/transfer_request.xml index 5ae286a..98a567e 100644 --- a/epp-client/test/resources/response/domain/transfer_request.xml +++ b/epp-client/test/resources/response/domain/transfer_request.xml @@ -1,23 +1,23 @@ - - - Command completed successfully; action pending - - - - eppdev-transfer.com - pending - eppdev - 2021-07-23T15:31:21.0Z - ClientY - 2021-07-28T15:31:21.0Z - 2022-07-02T14:53:19.0Z - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully; action pending + + + + eppdev-transfer.com + pending + eppdev + 2021-07-23T15:31:21.0Z + ClientY + 2021-07-28T15:31:21.0Z + 2022-07-02T14:53:19.0Z + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/domain/update.xml b/epp-client/test/resources/response/domain/update.xml index 0733466..6f1e613 100644 --- a/epp-client/test/resources/response/domain/update.xml +++ b/epp-client/test/resources/response/domain/update.xml @@ -1,18 +1,18 @@ - - - Command completed successfully - - - - - 200 Command completed successfully - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + + 200 Command completed successfully + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/error.xml b/epp-client/test/resources/response/error.xml index 3a6de86..1e73238 100644 --- a/epp-client/test/resources/response/error.xml +++ b/epp-client/test/resources/response/error.xml @@ -1,18 +1,18 @@ - - - Object does not exist - - - - - 545 Object not found - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Object does not exist + + + + + 545 Object not found + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/host/check.xml b/epp-client/test/resources/response/host/check.xml index d876640..b85c4b2 100644 --- a/epp-client/test/resources/response/host/check.xml +++ b/epp-client/test/resources/response/host/check.xml @@ -1,22 +1,22 @@ - - - Command completed successfully - - - - - host1.eppdev-1.com - - - ns1.testing.com - - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + + host1.eppdev-1.com + + + ns1.testing.com + + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/host/create.xml b/epp-client/test/resources/response/host/create.xml index fded4ac..584377d 100644 --- a/epp-client/test/resources/response/host/create.xml +++ b/epp-client/test/resources/response/host/create.xml @@ -1,18 +1,18 @@ - - - Command completed successfully - - - - host2.eppdev-1.com - 2021-07-26T05:28:55.0Z - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + host2.eppdev-1.com + 2021-07-26T05:28:55.0Z + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/host/delete.xml b/epp-client/test/resources/response/host/delete.xml index c08cbc3..6dd6663 100644 --- a/epp-client/test/resources/response/host/delete.xml +++ b/epp-client/test/resources/response/host/delete.xml @@ -1,12 +1,12 @@ - - - Command completed successfully - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/host/info.xml b/epp-client/test/resources/response/host/info.xml index 3959562..f5a8945 100644 --- a/epp-client/test/resources/response/host/info.xml +++ b/epp-client/test/resources/response/host/info.xml @@ -1,26 +1,26 @@ - - - Command completed successfully - - - - host2.eppdev-1.com - UNDEF-ROID - - 29.245.122.14 - 2404:6800:4001:0801:0000:0000:0000:200e - eppdev - creator - 2021-07-26T05:28:55.0Z - creator - 2021-07-26T05:28:55.0Z - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + host2.eppdev-1.com + UNDEF-ROID + + 29.245.122.14 + 2404:6800:4001:0801:0000:0000:0000:200e + eppdev + creator + 2021-07-26T05:28:55.0Z + creator + 2021-07-26T05:28:55.0Z + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/host/update.xml b/epp-client/test/resources/response/host/update.xml index c08cbc3..6dd6663 100644 --- a/epp-client/test/resources/response/host/update.xml +++ b/epp-client/test/resources/response/host/update.xml @@ -1,12 +1,12 @@ - - - Command completed successfully - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/login.xml b/epp-client/test/resources/response/login.xml index c08cbc3..6dd6663 100644 --- a/epp-client/test/resources/response/login.xml +++ b/epp-client/test/resources/response/login.xml @@ -1,12 +1,12 @@ - - - Command completed successfully - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/logout.xml b/epp-client/test/resources/response/logout.xml index c70f0f3..dd8369f 100644 --- a/epp-client/test/resources/response/logout.xml +++ b/epp-client/test/resources/response/logout.xml @@ -1,12 +1,12 @@ - - - Command completed successfully; ending session - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully; ending session + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/message/ack.xml b/epp-client/test/resources/response/message/ack.xml index 1e47b69..4e93d4b 100644 --- a/epp-client/test/resources/response/message/ack.xml +++ b/epp-client/test/resources/response/message/ack.xml @@ -1,13 +1,13 @@ - - - Command completed successfully - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file diff --git a/epp-client/test/resources/response/message/poll.xml b/epp-client/test/resources/response/message/poll.xml index e66719a..c48bf2a 100644 --- a/epp-client/test/resources/response/message/poll.xml +++ b/epp-client/test/resources/response/message/poll.xml @@ -1,27 +1,27 @@ - - - Command completed successfully; ack to dequeue - - - 2021-07-23T19:12:43.0Z - Transfer requested. - - - - eppdev-transfer.com - pending - eppdev - 2021-07-23T15:31:21.0Z - ClientY - 2021-07-28T15:31:21.0Z - 2022-07-02T14:53:19.0Z - - - - cltrid:1626454866 - RO-6879-1627224678242975 - - + + + Command completed successfully; ack to dequeue + + + 2021-07-23T19:12:43.0Z + Transfer requested. + + + + eppdev-transfer.com + pending + eppdev + 2021-07-23T15:31:21.0Z + ClientY + 2021-07-28T15:31:21.0Z + 2022-07-02T14:53:19.0Z + + + + cltrid:1626454866 + RO-6879-1627224678242975 + + \ No newline at end of file