Re: [regext] WG LAST CALL: draft-ietf-regext-rdap-reverse-search

Mario Loffredo <mario.loffredo@iit.cnr.it> Tue, 26 April 2022 06:19 UTC

Return-Path: <mario.loffredo@iit.cnr.it>
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 705DEC3CBB5A for <regext@ietfa.amsl.com>; Mon, 25 Apr 2022 23:19:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.853
X-Spam-Level:
X-Spam-Status: No, score=-1.853 tagged_above=-999 required=5 tests=[NICE_REPLY_A=-1.857, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 Seaqgm9lLTZc for <regext@ietfa.amsl.com>; Mon, 25 Apr 2022 23:19:35 -0700 (PDT)
Received: from smtp.iit.cnr.it (mx4.iit.cnr.it [146.48.58.11]) by ietfa.amsl.com (Postfix) with ESMTP id 2658AC3CB17E for <regext@ietf.org>; Mon, 25 Apr 2022 23:19:30 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by smtp.iit.cnr.it (Postfix) with ESMTP id E4D33B8026A for <regext@ietf.org>; Tue, 26 Apr 2022 08:19:28 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mx4.iit.cnr.it
Received: from smtp.iit.cnr.it ([127.0.0.1]) by localhost (mx4.iit.cnr.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bHIDFq3OSo4f for <regext@ietf.org>; Tue, 26 Apr 2022 08:19:23 +0200 (CEST)
Received: from [192.12.193.108] (pc-loffredo.staff.nic.it [192.12.193.108]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by smtp.iit.cnr.it (Postfix) with ESMTPSA id 3B02DB804C1 for <regext@ietf.org>; Tue, 26 Apr 2022 08:19:23 +0200 (CEST)
Message-ID: <458b0500-c684-ae38-cb03-0017bc5c8d4f@iit.cnr.it>
Date: Tue, 26 Apr 2022 08:17:18 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0
To: regext@ietf.org
References: <1A8E0C83-5F28-4387-8D05-EAAB8935E811@antoin.nl> <Yl1HJp9U/6rZeOVs@TomH-802418> <a895c102-8780-7389-2b0f-0ed26d78ad04@iit.cnr.it> <YmIsGKclMSpvuAt1@TomH-802418> <9850674f-7328-1688-8051-d91335785fa4@iit.cnr.it> <YmXVdlPZpqVOlQUP@TomH-802418>
From: Mario Loffredo <mario.loffredo@iit.cnr.it>
In-Reply-To: <YmXVdlPZpqVOlQUP@TomH-802418>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/heSH1e7lJynDmJZNksT06ab1JaY>
Subject: Re: [regext] WG LAST CALL: draft-ietf-regext-rdap-reverse-search
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Apr 2022 06:19:39 -0000

Hi Tom,

Il 25/04/2022 00:55, Tom Harrison ha scritto:
> Hi Mario,
>
> On Fri, Apr 22, 2022 at 03:37:56PM +0200, Mario Loffredo wrote:
>> Il 22/04/2022 06:16, Tom Harrison ha scritto:
>>> On Thu, Apr 21, 2022 at 04:51:15PM +0200, Mario Loffredo wrote:
>>>> Il 18/04/2022 13:10, Tom Harrison ha scritto:
>>>>>        - Define inline metadata, so that the relevant JSONPaths are
>>>>>          available to the client, and can be changed to work for
>>>>>          JSContact when a server switches to use JSContact (similarly to
>>>>>          how things work with RFC 8977).
>>>> [ML] I have already proposed to extend the response with an inline metadata
>>>> about the supported reverse search properties but I'm not sure when it
>>>> should be returned.
>>>>
>>>> The metadata described in both RFC8977 and RFC 8982 include information
>>>> about server features that can be applied to every search response,
>>>> including reverse search.
>>>>
>>>> On the contrary, it wouldn't make sense to me to return the reverse search
>>>> metadata in every search response.
>>> To avoid any doubt, I'm not advocating for including metadata in this
>>> document, but I think having a separate/standalone URL path for
>>> retrieving the reverse search metadata would be a reasonable way to
>>> handle this.
>> I have no objection to add in this document the following optional path
>>
>> {searchable-resource-type}/reverse/{related-resource-type}/metadata
>>
>>
>>       {
>>         "rdapConformance": [
>>           "reverse_search_0"
>>         ],
>>         "reverse_search_properties": [
>>           {
>>             "name": <reverse search property name>,
>>             "rdapProperty": <RDAP property path>
>>           }
>>         ]
>>       }
>>
>> Do you agree?
> The structure looks fine to me, but assuming that the
> "reverse_search_properties" field name is prefixed with
> "reverse_search" because of the "reverse_search_0" rdapConformance
> value, then either the field name should be
> "reverse_search_0_properties", or the rdapConformance value should
> become "reverse_search", so that the field is prefixed with the entire
> rdapConformance value.
>
> (Semi-related: on looking at the relevant rdapConformance content in,
> 7480 has (section 8.1):
>
>      The extension identifier is used as a prefix in JSON names and as
>      a prefix of path segments in RDAP URLs.

[ML] According to the response extension example in RFC9083 (see 
"lunarNIC"), the prefix does not include the version info (in that case 
"_level_0").

Therefore, it seems better to call the metadata field 
"reverse_search_properties".

The same rule has been followed for the "redcated" extension.

>
> which points towards the search URLs in this document becoming:
>
>      {searchable-resource-type}/reverse_search_0/{related-resource-type}
>
> though having said that, I can't find an example of a new path segment
> being defined in an extension, so it's not 100% clear that it would be
> required in this context (possibly it's only intended for the case
> where a new object class is defined, for example).  This is just an
> FYI, I don't have any concerns about the current document text in this
> respect.)

[ML] No rule has been defined so far to tie the new path segments 
eventually defined to the rdapConformance tags so I'll keep the two 
reverse search endpoints as in the following:

{searchable-resource-type}/reverse/{related-resource-type}

{searchable-resource-type}/reverse/{related-resource-type}/metadata


Best,

Mario

>
> -Tom
>
> _______________________________________________
> regext mailing list
> regext@ietf.org
> https://www.ietf.org/mailman/listinfo/regext

-- 
Dr. Mario Loffredo
Technological Unit “Digital Innovation”
Institute of Informatics and Telematics (IIT)
National Research Council (CNR)
via G. Moruzzi 1, I-56124 PISA, Italy
Phone: +39.0503153497
Web: http://www.iit.cnr.it/mario.loffredo