Re: [core] New Version Notification for draft-groves-core-bas-00.txt

Michael Koster <michaeljohnkoster@gmail.com> Thu, 09 March 2017 16:06 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 2B27812969C for <core@ietfa.amsl.com>; Thu, 9 Mar 2017 08:06:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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_LOW=-0.7, 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 yMXOFh0MA3vU for <core@ietfa.amsl.com>; Thu, 9 Mar 2017 08:06:07 -0800 (PST)
Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::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 B4685129680 for <core@ietf.org>; Thu, 9 Mar 2017 08:06:07 -0800 (PST)
Received: by mail-oi0-x230.google.com with SMTP id 126so38432336oig.3 for <core@ietf.org>; Thu, 09 Mar 2017 08:06:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=md9SFdfW0bvyM19fJRskCp1nHlsgB6+3QyyJ9pzLgWw=; b=hpuD9JHMWJ8GWDSN8yZGTr2WVcfSPZ97McqWaSYcm9NpjkP/vIPBZX3mMLppqXnaV8 1/h5C12XHIVrjkTZH6M+pWcHf28mz2e2BZShaWGHLrwftQJKiKI8PksfptxHLH4/3Muo deXxzObVnby/E68BRtxRF26xQqwiv0wA5tRr2vZ21D3tutG+RE0mbsT0dRDR2lXujjEv JoKUdmL1W+6lbJf8PlwRccTj/aGXgrOmxkywrl3kxef/36RWrBYNtce7uV/2i0c0bmCu L/qKQJJfbgPggiHmC7Z+4oUQY/H9s9j3aO9M5XX3hk5Y2/Fc8hPox5gNhomUV1UMzeUg 7vTA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=md9SFdfW0bvyM19fJRskCp1nHlsgB6+3QyyJ9pzLgWw=; b=QokPSGcrMHXDoJN4idaygT2AEEq+GCXBKtV6NOffPZG4mkodU+sss+dyHDBWMDvGi6 vV6Q0zYHu1YIlZyQy3Bx/8lltML+uEIv05dya47/bMHSbLzWrggRVw02zyFF3RilJjxL VO3T8oJtIYMRNXGNvczgeQyMejztSLR9K9iUeVqYgJdGE33F5fKthuFCTeQTZ34mK1+u M1PHRkCvxpJqqMGoJFjzxQa6jnu6b7s7zw5f06cPe3Z6Pc6ZhycWNtjxkpJOaB0JS9cl wuFfKdS/NsJrFyphWqvhc8XIa+rkrgMdRLINtAoFfuVV7WaLwF5NKFWgZZSDaL3rn4HR U3WA==
X-Gm-Message-State: AMke39nvsnxI95uV83VbFdbOaNvIZFvBZkNaEPHmuEHZwd0yoHFAbxQZ/uBlSdvVO4ovsw==
X-Received: by 10.202.252.23 with SMTP id a23mr7149384oii.153.1489075566959; Thu, 09 Mar 2017 08:06:06 -0800 (PST)
Received: from [172.20.21.5] (rrcs-97-79-186-2.sw.biz.rr.com. [97.79.186.2]) by smtp.gmail.com with ESMTPSA id o76sm2978359ota.56.2017.03.09.08.06.06 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Mar 2017 08:06:06 -0800 (PST)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: Michael Koster <michaeljohnkoster@gmail.com>
In-Reply-To: <d8c937e0-0b9b-f68c-a947-7475373b671b@gmail.com>
Date: Thu, 09 Mar 2017 10:06:04 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <0E74FB71-3B52-4816-AEC8-305FF513D9B2@gmail.com>
References: <148765208755.26069.6296092128269483309.idtracker@ietfa.amsl.com> <zarafa.58bfe0ac.3265.599aa7cc46bdc531@za.u-blox.com> <FD4FAA0F-8F5D-495C-A125-AEF5383B9040@gmail.com> <d8c937e0-0b9b-f68c-a947-7475373b671b@gmail.com>
To: Christian Groves <cngroves.std@gmail.com>
X-Mailer: Apple Mail (2.2104)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/ujAmDhKpa1tYTEYdQzWdaknzLsM>
Cc: core <core@ietf.org>
Subject: Re: [core] New Version Notification for draft-groves-core-bas-00.txt
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 09 Mar 2017 16:06:09 -0000

Yes, the text below should be changed. The description here seems to be a little inconsistent with the definition of observe, in that it suggest you may only need to send the representations for resources that have changed. 

I think my description in the email is more what we want to say, that the collection representation specified in the original request is returned.

We should mention conditional observe on collections in a way that leaves it open for bas

Best regards,

Michael

> On Mar 9, 2017, at 4:33 AM, Christian Groves <cngroves.std@gmail.com> wrote:
> 
> Hello Michael,
> 
> The text on collections was a left over from before I took over the editorship. The text in [I-D.ietf-core-interfaces] is:
> 
> 
>     3.6
>     <https://tools.ietf.org/html/draft-ietf-core-interfaces-08#section-3.6>.
>     Observing Collections
> 
> 
> 
>   Resource Observation via [I-D.ietf-core-dynlink <https://tools.ietf.org/html/draft-ietf-core-interfaces-08#ref-I-D.ietf-core-dynlink>] using CoAP [RFC7252 <https://tools.ietf.org/html/rfc7252>]
>   MAY be supported on items in a collection.  A subset of the
>   conditional observe parameters MAY be specified to apply.  In most
>   cases pmin and pmax are useful.  Resource observation on a
>   collection's items resource MAY report any changes of resource state
>   in any item in the collection.  Observation Responses, or
>   notifications, SHOULD provide representations of the resources that
>   have changed in SenML Content-Format.  Notifications MAY include
>   multiple observations of a particular resource, with SenML time
>   stamps indicating the observation times.
> 
> 
> The text in 2.1 of the BAS draft is just trying a paraphrase that. Did you want to clarify that text?
> 
> Regards, Christian
> 
> 
> On 9/03/2017 3:10 AM, Michael Koster wrote:
>> In section 2.1
>>    The current text of [I-D.ietf-core-interfaces] indicates that observe
>>    may be supported on an item in a collection not on the collection
>>    itself.
>> I don't think we should say that observe isn't supported on collections.
>> 
>> Observe should be supported for any resource, and by definition "caches" the entire method call (for example GET with all its options) for subsequent responses.
>> 
>> Observe doesn't say what triggers the subsequent responses, which dynlink and bas do specify.
>> 
>> Do I understand it correctly?
>> 
>> Best regards,
>> 
>> Michael
>