[regext] Re: Extensions: Clarify search results naming #41

kowalik@denic.de Thu, 09 January 2025 07:13 UTC

Return-Path: <kowalik@denic.de>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C50F9C14F706 for <regext@ietfa.amsl.com>; Wed, 8 Jan 2025 23:13:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=denic.de
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Laj7dLJmlzfq for <regext@ietfa.amsl.com>; Wed, 8 Jan 2025 23:13:30 -0800 (PST)
Received: from mout-b-110.mailbox.org (mout-b-110.mailbox.org [IPv6:2001:67c:2050:102:465::110]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56A50C14F704 for <regext@ietf.org>; Wed, 8 Jan 2025 23:13:28 -0800 (PST)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-b-110.mailbox.org (Postfix) with ESMTPS id 4YTGGW5tPzz9xRs; Thu, 9 Jan 2025 08:13:23 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denic.de; s=MBO0001; t=1736406803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yLJ1DjR8lFk8yt2bvAYW6z7s07LaDadZwwyMlC9E2rc=; b=seGWzzWaWW5B4iP0zjuXuIa1dMKFDaS4mj1W6TGyXL9JLF7BA/722NKX+klIjLExceBD7w BXDwBAaVQVlSzmW3yHLF1Xk8ZLJJ9yaBzRg9gUZmDTsb9nfvE9Y8U1S7JTX/+LhPV9yat3 hLbl/w/kRAI7ZjdmmWzLyiqFiOVm0vf80IBi+V8rtufTE8oQPtVM2C1jS9UBR2RJo+D4Sl XX2JXAZLaZMsQcEIInojMXTHoj2grBtxIjpbixF7owe/FvclMthNNJQSKwkC8v85r+1AE1 HepAjp7tXuXhgSl1Cs9uXB+hDUpp32/xKDeQJFZ3v/Jq2a9okpDUYGNyZRPexw==
Message-ID: <d5aaaf03-ee00-443a-ba1f-f9558f83fadf@denic.de>
Date: Thu, 09 Jan 2025 08:13:22 +0100
MIME-Version: 1.0
From: kowalik@denic.de
To: Jasdip Singh <jasdips@arin.net>, "regext@ietf.org" <regext@ietf.org>
References: <PH7PR15MB608466F9F4A2534D1EBD848BC9152@PH7PR15MB6084.namprd15.prod.outlook.com>
Content-Language: en-GB, de-DE
In-Reply-To: <PH7PR15MB608466F9F4A2534D1EBD848BC9152@PH7PR15MB6084.namprd15.prod.outlook.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-512"; boundary="------------ms060808010009000404020402"
X-MBO-RS-ID: 4872956ee2340ec8242
X-MBO-RS-META: xupyit9mgh47pw1cusjcgfsie6kqau5n
Message-ID-Hash: 2HTW6VI5IFOJDCBJAVWERA4REC7BIMR7
X-Message-ID-Hash: 2HTW6VI5IFOJDCBJAVWERA4REC7BIMR7
X-MailFrom: kowalik@denic.de
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-regext.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [regext] Re: Extensions: Clarify search results naming #41
List-Id: Registration Protocols Extensions Working Group <regext.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/wdihkXk2ovC2S5sb4uLVDSS143k>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Owner: <mailto:regext-owner@ietf.org>
List-Post: <mailto:regext@ietf.org>
List-Subscribe: <mailto:regext-join@ietf.org>
List-Unsubscribe: <mailto:regext-leave@ietf.org>

Hi Jasdip, Tom,

On 03.01.25 22:41, Jasdip Singh wrote:
>
> https://github.com/anewton1998/draft-regext-rdap-extensions/issues/41
>
> >> Section 2.4.4, paragraph 1
>
> >> As described in [RFC9082] and Section 2.3, an extension may define 
> new paths in URLs.  If the extension describes the behavior of an RDAP 
> query using the path to return a new RDAP search result, the JSON name 
> of the search result MUST be prepended with the extension identifier 
> (to avoid collision with search results defined in other extensions).  
> If the search result contains object class instances
>
> > I think this requirement is harmful for the protocol. Let's say I 
> want to create extension "fuz" that would offer a new way of searching 
> through objects. Let's call it fuzzySearch. I would define a new query 
> parameter "fuzzy" and append it to a path segment according to the 
> object class I would like to search through. So if I query 
> /domains?fuzzy=foo I expect as a client to still be able to process 
> the response as per rfc7483 from domainSearchResults JSON element 
> rather than special handling for fuz_domainSearchResults.
>
> [JS] Agreed. This prepending is only for newly defined RDAP search 
> result members and when a bare extension identifier is not used to 
> name such a new member. As a contrary example, the reverse domain 
> search in the RIR Search draft leverages the existing 
> “domainSearchResults” member.
>
> [TH] I think this is right, but that it may be worth spelling it out 
> in more detail.  Something like:
>
> ```
>
>     As described in [RFC9082] and Section 2.3, an extension may define
>
>     new paths in URLs.  If the extension describes the behavior of an
>
>     RDAP query using the path to return an RDAP search result for a
>
>     new object class, the JSON name of the search result MUST be
>
>     prepended with the extension identifier (to avoid collision with
>
>     search results defined in other extensions).
>
> ```
>
>
[PK] Thanks. The proposed text covers my concern.

Kind Regards,

Pawel