Re: [weirds] Fwd: I-D Action: draft-ietf-weirds-bootstrap-02.txt

Tom Harrison <tomh@apnic.net> Tue, 24 June 2014 00:51 UTC

Return-Path: <tomh@apnic.net>
X-Original-To: weirds@ietfa.amsl.com
Delivered-To: weirds@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B50A11A04FA for <weirds@ietfa.amsl.com>; Mon, 23 Jun 2014 17:51:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.442
X-Spam-Level:
X-Spam-Status: No, score=-2.442 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UUvwR00-xQzr for <weirds@ietfa.amsl.com>; Mon, 23 Jun 2014 17:51:19 -0700 (PDT)
Received: from ao-mailgw.apnic.net (ao-mailgw.apnic.net [IPv6:2001:dd8:8:701::25]) by ietfa.amsl.com (Postfix) with SMTP id DFD361A04E7 for <weirds@ietf.org>; Mon, 23 Jun 2014 17:51:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apnic.net; s=c3po; h=received:received:received:date:from:to:cc:subject:message-id: mail-followup-to:references:mime-version:content-type:content-disposition: in-reply-to:user-agent:return-path; bh=k8v5udeVOfVxb+nhJQJe8NIhthXQJf9OGu/421JDJPE=; b=mATN5xbMvO2Pdaxf5rL+yqTkB37wdCnMaLLwwp/ul+btflsCplxzlowXboCoPauwX51Gos1d1FLuk BtlWfEbkxL1F2KDoh5pe2We+AueXAbgtStfdPPo3YVVN8LiaglFpK/4oFJq3KkuuVhsqWsMr0cOAVX PuArhbrlWmj3hyCg=
Received: from NXMDA1.org.apnic.net (unknown [203.119.101.249]) by ao-mailgw.apnic.net (Halon Mail Gateway) with ESMTP; Tue, 24 Jun 2014 10:51:14 +1000 (EST)
Received: from main (203.119.101.249) by NXMDA1.org.apnic.net (203.119.107.11) with Microsoft SMTP Server (TLS) id 14.1.218.12; Tue, 24 Jun 2014 10:51:14 +1000
Received: from tomh by main with local (Exim 4.82_1-5b7a7c0-XX) (envelope-from <tomh@apnic.net>) id 1WzEx9-0001Wv-BX; Tue, 24 Jun 2014 10:51:15 +1000
Date: Tue, 24 Jun 2014 10:51:15 +1000
From: Tom Harrison <tomh@apnic.net>
To: Marc Blanchet <marc.blanchet@viagenie.ca>
Message-ID: <20140624005115.GA3669@main>
Mail-Followup-To: Marc Blanchet <marc.blanchet@viagenie.ca>, weirds@ietf.org
References: <20140623124326.21967.4986.idtracker@ietfa.amsl.com> <A4E2F28E-F2BA-4B78-A0DF-83A357F5DBBC@viagenie.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <A4E2F28E-F2BA-4B78-A0DF-83A357F5DBBC@viagenie.ca>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: http://mailarchive.ietf.org/arch/msg/weirds/90757KaSksvJQuXL5CSxdaNR6fw
Cc: weirds@ietf.org
Subject: Re: [weirds] Fwd: I-D Action: draft-ietf-weirds-bootstrap-02.txt
X-BeenThere: weirds@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "WHOIS-based Extensible Internet Registration Data Service \(WEIRDS\)" <weirds.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/weirds>, <mailto:weirds-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/weirds/>
List-Post: <mailto:weirds@ietf.org>
List-Help: <mailto:weirds-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/weirds>, <mailto:weirds-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jun 2014 00:51:21 -0000

On Mon, Jun 23, 2014 at 01:59:11PM +0100, Marc Blanchet wrote:
> Hello,
>  here is a new version of the bootstrap document. This is a major rewrite based on the various concensus points during last meeting and followup, such as: JSON, using templates, IANA section rewrite, .... After some mailing list discussions and discussions with rdap-query authors, this draft hopefully covers the direction of the wg.
>  One can look at the diffs, but I'm not sure it is that valuable given major rewrite.

> "services": [
> ["entry1", "entry2", "entry3"]: {
>    "template": "{proto}://registry.example.com/myrdap/{resource}",
>    "proto": [ https ],
>   },
> ["entry4"]: {
>    "template": "{proto}://example.org/{resource}",
>   },
> ],
 
This is using arrays, instead of strings, as keys. Given that
"services" is not an object, but an array, is the structure meant to
be like this:

    "services": [
        [ ["entry1", "entry2", "entry3"], 
          { "template": "{proto}://registry.example.com/myrdap/{resource}",
            "proto": [ "https" ] } ],
        [ ["entry4"], 
          { "template": "{proto}://example.org/{resource}" } ]
    ]

instead?

> For example, a domain RDAP query for a.b.example.com matches the com
> entry in one of the arrays of the registry.  Following the example
> above, the base RDAP URL for this query is
> "https://registry.example.com/myrdap/".  The {resource} specified in
> [I-D.ietf-weirds-rdap-query] is then appended to the base URL to
> complete the query.  The complete query is then
> "https://registry.example.com/myrdap/domain/a.b.example.com".  This
> example is not normative.

This limits implementations to path-based lookup, since the object
type and the query value don't have separate variables. This isn't in
keeping with draft-ietf-appsawg-uri-get-off-my-lawn-05 [2.3], since an
implementation might prefer to use query processing instead. Should
there be text in the document explaining why this is OK in this case?

-Tom