Re: [core] draft-ietf-core-resource-directory = GET /rd
Michael Koster <michaeljohnkoster@gmail.com> Tue, 05 September 2017 06:28 UTC
Return-Path: <michaeljohnkoster@gmail.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ECF17120727; Mon, 4 Sep 2017 23:28:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 dfr15je9zfs3; Mon, 4 Sep 2017 23:27:58 -0700 (PDT)
Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 89E5513237B; Mon, 4 Sep 2017 23:27:58 -0700 (PDT)
Received: by mail-pf0-x230.google.com with SMTP id e199so5770419pfh.3; Mon, 04 Sep 2017 23:27:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=tR+FjsJnEMPB50DCQBShhfP1t/RslgvrKxFsQXgaPJs=; b=PpUeLqOXLFDdNjT8NjqUeTYNjGqVXSEVgq4d2N761jkUVX3NXj77nNYzmYP5J84qMl fMSLgkwN01RTCQmpAQ3ZjtZgDBKTG7dLW6bN5Eppu9yx27uZFuvktYCyaCEibZ/WUsSr 4CaG6UtjfeypPIFTRG73bzVN3iSOBs3AO62YCmyrGPT6SI6UTWyX3UG9N4eAJYuBThmt sBACL4E5WWIM1zHM/NapiFuZHgInhCJNYatvx1yWEuKLobCR/qNqyDTqbIrbfd3AN84+ 0u7Bz7jgkmHC5rT7Pgtc0OO2vDU6I2XY2P3MO2wtnmCBxh9B6McPmCaMieTsZQMTAyvx dnww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=tR+FjsJnEMPB50DCQBShhfP1t/RslgvrKxFsQXgaPJs=; b=Lnf1+cdcpdA8ARDth3PmwIQ9RAqyYiLO5uRma8EMKLkic/Usnnz8Jc/shBWEJ5Dep8 Oh24ZUNrx6PaPn0CwtXXjIBmy//uuf0/HMlwFqKlkl/1BFR9Wi1ATtxrQ93LXZV75Ih4 BWhtQtfZDGsN2abJsB3xBSbiz0FP7VzwbW02kpZpmTM3tGomf6520DcXcGoDa/+3Z9Xh soUkUpDg8hEvh4Sr+MHvIYBbLa0oi6syzX1AJNUySvAaok2WQUdr8nzoZRZHO6Pwu3dr tldVOmnx6gM82FLbCyicdqal2tQ7ok5IHl5YaQMDsEG9wGUq0UGcdvlamv6ZPfrEJ4S3 Nlhw==
X-Gm-Message-State: AHPjjUj26W4vC3BPClmhrSvtv1GEOqtFRqpq9TAeCUiVFdDFt8DQt9j4 6XsN+JIAZfn1/jgiLHY=
X-Google-Smtp-Source: ADKCNb4lrZOUzeDlq35g1p4XbhpObgbNmCcjn9PCUeJyG8gfiKdG31cleIFVbsfEaWFPqlxEj1hVGw==
X-Received: by 10.84.129.226 with SMTP id b89mr3252763plb.17.1504592878157; Mon, 04 Sep 2017 23:27:58 -0700 (PDT)
Received: from [10.0.0.6] (108-201-184-41.lightspeed.sntcca.sbcglobal.net. [108.201.184.41]) by smtp.gmail.com with ESMTPSA id k88sm13302298pfb.150.2017.09.04.23.27.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Sep 2017 23:27:56 -0700 (PDT)
From: Michael Koster <michaeljohnkoster@gmail.com>
Message-Id: <9D9B829F-3B73-44FE-92A2-C2B4435934E9@gmail.com>
Content-Type: multipart/mixed; boundary="Apple-Mail=_2890A3AE-A783-4359-B51F-2C1D12AB8DBE"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Mon, 04 Sep 2017 23:27:54 -0700
In-Reply-To: <000401d32592$4349a870$c9dcf950$@augustcellars.com>
Cc: peter van der Stok <consultancy@vanderstok.org>, "draft-ietf-core-resource-directory@ietf.org" <draft-ietf-core-resource-directory@ietf.org>, core@ietf.org
To: Jim Schaad <ietf@augustcellars.com>
References: <016801d321fc$d2820d50$778627f0$@augustcellars.com> <d13595304f595fcd98257ae58483b9aa@xs4all.nl> <000401d32592$4349a870$c9dcf950$@augustcellars.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/VyC26Gc2E8y44mWg80ukQPN_CMg>
Subject: Re: [core] draft-ietf-core-resource-directory = GET /rd
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Sep 2017 06:28:01 -0000
I would propose returning links for all registration resources in the RD as shown in slide 4 of the attached deck (JSON format shown). This would include the most recent setting of the "lt" or lifetime parameter as a link target attribute as shown.
> On Sep 4, 2017, at 8:27 AM, Jim Schaad <ietf@augustcellars.com> wrote: > > Yes that is what I had in mind. It would be useful to add a ttl attribute > as well. > > Jim > > >> -----Original Message----- >> From: peter van der Stok [mailto:stokcons@xs4all.nl] >> Sent: Monday, September 4, 2017 1:46 AM >> To: Jim Schaad <ietf@augustcellars.com> >> Cc: draft-ietf-core-resource-directory@ietf.org; core@ietf.org >> Subject: Re: draft-ietf-core-resource-directory = GET /rd >> >> Hi Jim, >> >> Personally, I like the idea. >> That would mean that all registration resources are returned. >> In the next version of the RD, location or endpoint identifies the > registration. >> Uniqueness of links is specified in section 5.3.4, already commented on by >> you. >> Your request means returning all locations with the ep, lt, d, and et > attributes >> and the associated scheme://authority:port value. >> >> Correct? >> >> Peter >> >> Jim Schaad schreef op 2017-08-31 03:59: >>> I am wondering if there should be a GET action defined against the >>> resource directory object. Currently, if an entity does a >>> registration for an endpoint it gets back a location for that >>> registration. If a second entity modifies the endpoint and wants to >>> update the registration, it currently has no method to get the >>> location associated with the endpoint and cannot make a second new >>> registration since the <domain, endpoint> pair is required to be >>> unique. >>> >>> Thus >>> >>> Interaction: EP -> RD >>> Method: GET >>> URI Template: {+rd}{?ep,d} >>> >>> Content-Format: application/link-format (or variants) >>> >>> <rd/0099>;ep=endpoint1,<rd/0098>;ep=endpoint1;domain=beta, ... >>> >>> Jim > > _______________________________________________ > core mailing list > core@ietf.org > https://www.ietf.org/mailman/listinfo/core
- [core] draft-ietf-core-resource-directory = GET /… Jim Schaad
- Re: [core] draft-ietf-core-resource-directory = G… peter van der Stok
- Re: [core] draft-ietf-core-resource-directory = G… Jim Schaad
- Re: [core] draft-ietf-core-resource-directory = G… Michael Koster
- Re: [core] draft-ietf-core-resource-directory = G… peter van der Stok
- Re: [core] draft-ietf-core-resource-directory = G… Michael Koster
- Re: [core] draft-ietf-core-resource-directory = G… Jim Schaad
- Re: [core] draft-ietf-core-resource-directory = G… peter van der Stok
- Re: [core] draft-ietf-core-resource-directory = G… Michael Koster
- Re: [core] draft-ietf-core-resource-directory = G… peter van der Stok
- Re: [core] draft-ietf-core-resource-directory = G… Michael Koster
- Re: [core] draft-ietf-core-resource-directory = G… Christian Amsüss