From 01b93445f90778aa6d631997fd383f91f076bf2d Mon Sep 17 00:00:00 2001 From: Gavin Brown Date: Wed, 18 Sep 2024 12:58:53 +0100 Subject: [PATCH] updates to RDE test cases based on internal review --- ChangeLog.yaml | 3 ++ inc/rde/cases.yaml | 72 +++++++++++++++++++++++++++++++------------- inc/srsgw/cases.yaml | 2 +- 3 files changed, 55 insertions(+), 22 deletions(-) diff --git a/ChangeLog.yaml b/ChangeLog.yaml index 2c007cc..d9a1697 100644 --- a/ChangeLog.yaml +++ b/ChangeLog.yaml @@ -1,4 +1,7 @@ 2024-09-18: + - | + Updates to test cases in the [RDE test suit](#Test-Suite-StandardRDE) + resulting from internal review. - | Several EPP-related input parameters now have [SRS Gateway](#Test-Suite-StandardSRSGateway)-specific equivalents, as it is diff --git a/inc/rde/cases.yaml b/inc/rde/cases.yaml index bfba978..f3bd59b 100644 --- a/inc/rde/cases.yaml +++ b/inc/rde/cases.yaml @@ -112,9 +112,12 @@ rde-07: The required properties are: - * `` - * `` (which **MUST** have a repository ID registered with - IANA) + * `` (which **MUST** be unique) + * `` (which **MUST** comply with the specification in [Section + 2.8 of RFC 5730](https://www.rfc-editor.org/rfc/rfc5730#section-2.8) + and contain a repository ID that is registered in the [EPP Repository + Identifiers + Registry](https://www.iana.org/assignments/epp-repository-ids/epp-repository-ids.xhtml)). * at least one `` element * `` (if `general.registryDataModel` is `maximum`) * `` (sponsoring registrar ID) @@ -127,6 +130,9 @@ rde-07: Contact, host and registrar objects (including optional objects such as admin and tech contacts) which are referenced in domain objects **MUST** be present in the deposit. + + If the domain has an `` element, its value **MUST** match the + `id` property of one of the IDN table objects in the deposit. Errors: - RDE_DOMAIN_HAS_INVALID_NAME - RDE_DOMAIN_HAS_MISSING_ROID @@ -152,9 +158,12 @@ rde-08: The required properties are: - * `` - * `` (which **MUST** have a repository ID registered with - IANA) + * `` (which **MUST** be unique) + * `` (which **MUST** comply with the specification in [Section + 2.8 of RFC 5730](https://www.rfc-editor.org/rfc/rfc5730#section-2.8) + and contain a repository ID that is registered in the [EPP Repository + Identifiers + Registry](https://www.iana.org/assignments/epp-repository-ids/epp-repository-ids.xhtml)). * at least one `` element * one or more `` elements (if the host name is subordinate to the TLD) @@ -187,14 +196,20 @@ rde-09: If the value of the `general.registryDataModel` input parameter is `minimum`, then this test will be skipped. - * The value of the `` element **MUST** be unique in the deposit - * The value of the `` **MUST** have a repository ID registered - with IANA + * The value of the `` element **MUST** be unique in the deposit; + * The value of the `` (which **MUST** comply with the + specification in [Section 2.8 of RFC 5730](https://www.rfc-editor.org/rfc/rfc5730#section-2.8) + and contain a repository ID that is registered in the [EPP Repository + Identifiers + Registry](https://www.iana.org/assignments/epp-repository-ids/epp-repository-ids.xhtml)); * The object **MUST NOT** have two `` elements with - the same `type` attribute - * The value of the `` element **MUST** contain a value on the - ISO-3166-alpha-2 list - * The value of the `` element **MUST** be a valid mailbox + the same `type` attribute; + * The value of the `` element **MUST** contain a valid + [ISO-3166-alpha-2 country + code](https://www.iso.org/iso-3166-country-codes.html); + * The value of the `` element **MUST** be a valid email + address, as described in [Section 3.4.1 of RFC + 5322](https://www.rfc-editor.org/rfc/rfc5322.html#section-3.4.1). Registrar objects which are referenced in contact objects **MUST** be present in the deposit. @@ -220,9 +235,10 @@ rde-10: The required properties are: - * `` - * `` - * `` (IANA ID) + * `` which **MUST** be unique; + * ``; + * `` which **MUST** be a valid [Registrar + ID](https://www.iana.org/assignments/registrar-ids/registrar-ids.xhtml). Errors: - RDE_REGISTRAR_HAS_MISSING_ID - RDE_REGISTRAR_HAS_INVALID_ID @@ -239,9 +255,12 @@ rde-11: properties, and the values of those object properties **MUST** be well-formed. - All IDN table objects present in the deposit **MUST** correspond to IDN - tables approved for the TLD, and all approved tables **MUST** have a - corresponding object in the deposit. + * The value of the `id` attribute of all IDN table objects present in the + deposit **MUST** correspond to the language tag of all IDN tables + specified for the TLD in the test request, all such tables **MUST** have a + corresponding object in the deposit. + * The `` element **MUST** (if present) contain a valid URL. + * The `` element **MUST** (if present) contain a valid URL. Errors: - RDE_IDN_OBJECT_INVALID - RDE_IDN_OBJECT_MISSING @@ -255,8 +274,13 @@ rde-12: properties, and the values of those object properties **MUST** be well-formed. - The `aName` property of NNDN objects **MUST NOT** match the `name` - property of a domain object. + * The value of the `` element **MUST NOT** match the value of the + `` element of a domain object, or the `` element of another + NNDN object. + * The value of the `` **MUST** contain either `blocked`, + `withheld` or `mirrored`. + * If the NNDN has an `` element, its value **MUST** match the + `id` property of one of the IDN table objects in the deposit. Errors: - RDE_NNDN_CONFLICTS_WITH_DOMAIN @@ -269,6 +293,12 @@ rde-13: A test case in the EPP Test Suite will confirm that this also matches what is returned when a client connects to the EPP server. + + * All `` elements present in the EPP greeting **MUST** be present in + the EPP Parameters object, and vice-versa. + * All `` elements present in the EPP greeting **MUST** be present in + the EPP Parameters object, and vice-versa. + Input-Parameters: - epp.greeting Errors: diff --git a/inc/srsgw/cases.yaml b/inc/srsgw/cases.yaml index 0c2cd74..32134c0 100644 --- a/inc/srsgw/cases.yaml +++ b/inc/srsgw/cases.yaml @@ -432,7 +432,7 @@ srsgw-14: Maturity: GAMMA Description: | This test confirms that the SRS Gateway's RDAP service provides responses - to domain lookups that match those of the primary registry RDAP server. + to nameserver lookups that match those of the primary registry RDAP server. If the value of the `epp.hostModel` input parameter is `attributes`, then this test will be skipped.