Re: [core] ue of resource type in collections

Michel Veillette <Michel.Veillette@trilliant.com> Thu, 19 July 2018 14:48 UTC

Return-Path: <Michel.Veillette@trilliant.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 1EF8E13106B for <core@ietfa.amsl.com>; Thu, 19 Jul 2018 07:48:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=trilliant.onmicrosoft.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 ldhbJ8YnueOS for <core@ietfa.amsl.com>; Thu, 19 Jul 2018 07:48:20 -0700 (PDT)
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0094.outbound.protection.outlook.com [104.47.38.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4726D1310ED for <core@ietf.org>; Thu, 19 Jul 2018 07:48:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Trilliant.onmicrosoft.com; s=selector1-Trilliant-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7J76HYp8lwrqAQxEzuIxeim31mG3009OSXpwzDPfHVU=; b=ZuLFszZsyPFyO9Owmg6G+YDlTsm+k8bfoMBTCCg+0MpaMHyK1u0lTfcEE0C9BkOEyamNjXRYJ3JA/bm98ALQrZnKtjleVoYf6nQQ33CWLn6RH/+HpIINqP/bi7wuPfUE4/TYoKN+ribA3MxYHnImgD/NwmFFxwFKrYz5+UHHxn4=
Received: from DM5PR06MB2777.namprd06.prod.outlook.com (10.175.107.139) by DM5PR06MB2922.namprd06.prod.outlook.com (10.175.108.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.16; Thu, 19 Jul 2018 14:48:10 +0000
Received: from DM5PR06MB2777.namprd06.prod.outlook.com ([fe80::b822:6d77:2b7f:e300]) by DM5PR06MB2777.namprd06.prod.outlook.com ([fe80::b822:6d77:2b7f:e300%5]) with mapi id 15.20.0952.021; Thu, 19 Jul 2018 14:48:10 +0000
From: Michel Veillette <Michel.Veillette@trilliant.com>
To: Klaus Hartke <klaus.hartke@ericsson.com>, "consultancy@vanderstok.org" <consultancy@vanderstok.org>, Core <core@ietf.org>
Thread-Topic: [core] ue of resource type in collections
Thread-Index: AQHUF1w1TydcNWe1mk+GT/oY8fEqlKSVEI6AgAGPHGCAAAcPgIAABm8A
Date: Thu, 19 Jul 2018 14:48:10 +0000
Message-ID: <DM5PR06MB2777418D4103AFCC2E4332079A520@DM5PR06MB2777.namprd06.prod.outlook.com>
References: <018f504348d7d168df65951dae5a44a4@bbhmail.nl> <8a5f01b18f574ed6a6724dc49e4e47e6@ericsson.com> <DM5PR06MB27776B4DBBE95A286FFBD1829A520@DM5PR06MB2777.namprd06.prod.outlook.com> <83b6eff6240048c7a4cb71b5f0a6ddfc@ericsson.com>
In-Reply-To: <83b6eff6240048c7a4cb71b5f0a6ddfc@ericsson.com>
Accept-Language: fr-CA, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michel.Veillette@trilliant.com;
x-originating-ip: [31.133.142.43]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM5PR06MB2922; 6:YKgoGtqUUEYi8ijDq0W+RUA57bC9m9JLqQvYU01bX8zH8HC0eU95CWNP0Fnqzyg6ZJWEOZCR1aX2v6zSlNV0DiWnkh+QixzZ0qK94tMzlD4ar3eNaqk3EavHYfpePFIgH/4e4FqpsuSvxIZyOt9yQ4mFPXnuY50xN5wRO3EOGktHwqEJtOsktS5acNJuywgPIBkWoib5/PG8bAmb0CIL78ux3qvpViUU7nGRB2qZpN0bYKlVf+DmF3asd7nlNTBw9uXHks/Aq/jp+RAKn/31eERI/8yygH1MV+0aSeY5L0K7XdvLdt+0Py1mpfYMWHEqpbZJaTEchfCgdYxME/szTjfwNEeZ4R3AAUsH8/XzK3Ze7OVhdwChiYpEo9E/lfvtYcUEqRVGEeh2zH7QK8bOyfg3R/OFssiKsJdX5GD5HLPr9EqSvooXvJ3BBvdmIGyWN6pJNQ7qbsQJMISrpnzvnw==; 5:xkwHvm+SekJn5kku4rnawupMa7qeZuMQWEsWTPWXX/fvcS1UB0kWCPwaRHx4TdApob1axeWQacXd/89R6IDeNu2lTgwLMhAKMqymL9eaWIEfuQwYrdj4rmBq9paLgzkXfyqzJqMSj/9+nq+p2nZcLLTHgcWNvxzO8mZnvoSmg1I=; 7:5VO6SRjPqi4IMsgvRh667ineH9GmcBkubSfn3jCoQdRlkcaLY2OZdOlsDE/xuxKkUsHaqJXK+VBWBwjASCNvsbZTtWIrNyZenkEQ8MfEBIYIsqkYgbC/FBS9trYzb9P7ychndIwLkrmrRXVE45bFiYpfGyunHfZa0a+Doo9DlUM7Z9PrGPpPH3KAQmYSln1E6nOa/BVe/s8FhC3wVORORQnYgJaRCa9igTZo7sUlgTcpfk/gAgW9gD7NLTUpZHw8
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 0c66447a-82bc-4591-11d3-08d5ed86a58d
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DM5PR06MB2922;
x-ms-traffictypediagnostic: DM5PR06MB2922:
x-microsoft-antispam-prvs: <DM5PR06MB2922120C38C53713A982B22D9A520@DM5PR06MB2922.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(158342451672863)(248295561703944);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DM5PR06MB2922; BCL:0; PCL:0; RULEID:; SRVR:DM5PR06MB2922;
x-forefront-prvs: 0738AF4208
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(39850400004)(396003)(366004)(136003)(13464003)(199004)(189003)(26005)(2501003)(9686003)(476003)(72206003)(5250100002)(33656002)(305945005)(486006)(966005)(7736002)(66066001)(3846002)(6116002)(186003)(55016002)(478600001)(99286004)(14454004)(2900100001)(229853002)(25786009)(446003)(6436002)(11346002)(68736007)(93886005)(6306002)(76176011)(256004)(105586002)(102836004)(5660300001)(81166006)(81156014)(97736004)(7696005)(8936002)(6246003)(106356001)(74316002)(86362001)(2906002)(53936002)(110136005)(6506007)(316002)(8676002)(53546011); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR06MB2922; H:DM5PR06MB2777.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: trilliant.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: En7F6Rm7q/vy+EZmN86feQD4H+DLPEbRQUrzYsEu+WaViB4a7Mvjm4o0wzZxgeiZxwGuqxAJVE4/J8vJcq6nGI48QBP+aDjGHIGldwKD4hie9IRB5/UzBPQIp7Lvmx+lULLodPkksStvCm0PVMKockFGjVMFBy7c6gqzP2zN2V1lQHd3uNxFuykbGyfHE8PSCui4ijUE4M5qNRPIfw5ABdfTg4/UHjV2gUoTzulIpfb7ci5lwt8bOisx/uSSpRz0386GEvJvmPNc7n2Tjp3s+pcLm/Jc952YYCJUMuCtEe6vg/dJIgtUpMUEEA+L42aAuM53fIgAvl2kojA+cvn7o5Z15X6ddF+6YWbzr1IvvXA=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: Trilliant.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0c66447a-82bc-4591-11d3-08d5ed86a58d
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2018 14:48:10.0358 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4f6fbd13-0dfb-4150-85c3-d43260c04309
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR06MB2922
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/8Xjstl1D8ivPRkuYvtsCFP2EbFc>
Subject: Re: [core] ue of resource type in collections
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.27
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, 19 Jul 2018 14:48:36 -0000

Hi Klaus

I understand that resource assignments are not compulsory, only recommended. Avoiding conflicts between these recommendations within IETF and with other well known ecosystems should just benefit the CoAP community.

Michel

-----Original Message-----
From: Klaus Hartke [mailto:klaus.hartke@ericsson.com] 
Sent: Thursday, July 19, 2018 10:14 AM
To: Michel Veillette <Michel.Veillette@trilliant.com>; consultancy@vanderstok.org; Core <core@ietf.org>
Subject: RE: [core] ue of resource type in collections

Hi Michel,

the point is that a server is free to organize its URI space as it sees fit and link annotations are needed to find the right resource.

It's not possible to reserve URI paths for any purpose (with the exception of .well-known paths). You can use /c in your examples if you want, but you cannot mandate that implementations do the same or claim it for CoMI. And I don't think it's time well spent if we'd try to ensure that no example uses a path that already appears in another example.

Klaus


> -----Original Message-----
> From: Michel Veillette <Michel.Veillette@trilliant.com>
> Sent: Thursday, 19 July, 2018 15:55
> To: Klaus Hartke <klaus.hartke@ericsson.com>; 
> consultancy@vanderstok.org; Core <core@ietf.org>
> Subject: RE: [core] ue of resource type in collections
> 
> The recommended list of CoAP resources listed in the original email 
> conflict with current CoMI recommended resource (/c). To minimize the 
> likelihood of conflicts, I recommend to define these resources under a 
> single root resource.
> 
> For example:
> </est/skg>;rt="ace.est.skg"
> </est/crts>;rt="ace.est.crts"
> </est>; rt="ace.est"
> </est/att>;rt="ace.est.att"
> </est/sren>;rt="ace.est.sren"
> </est/sen>;rt="ace.est.sen"
> 
> Regards,
> Michel
> 
> -----Original Message-----
> From: core [mailto:core-bounces@ietf.org] On Behalf Of Klaus Hartke
> Sent: Wednesday, July 18, 2018 10:00 AM
> To: consultancy@vanderstok.org; Core <core@ietf.org>
> Subject: Re: [core] ue of resource type in collections
> 
> Peter van der Stok wrote:
> > The coaps-est server uses a collection of resources:
> > The collection resource has been assigned rt=ace.est It is not clear 
> > what the resource types of the underlying resources should be.
> 
> According to BCP 190 [1], the coaps-est draft should not mandate 
> particular forms of URI substructure. So a server should be free to 
> structure URIs as it sees fit, e.g.:
> 
> </a>;rt="ace.est"
> </b>;rt="ace.est"
> </c>;rt="ace.est"
> </d>;rt="ace.est"
> </e>;rt="ace.est"
> </f>;rt="ace.est"
> 
> If a client has trouble selecting the right link from the above list 
> (and they all look interchangeable to me), then you'd need to provide 
> more specific link information, e.g.:
> 
> </a>;rt="ace.est.skg"
> </b>;rt="ace.est.crts"
> </c>; rt="ace.est"
> </d>;rt="ace.est.att"
> </e>;rt="ace.est.sren"
> </f>;rt="ace.est.sen"
> 
> Klaus
> 
> [1] https://tools.ietf.org/html/bcp190
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core