Open relu91 opened 3 years ago
I will use this issue as the umbrella for the initial connection discussion. @relu91 could you update the list with every issue listed at https://github.com/w3c/wot/pull/1200. That way, people who stumble upon this issue have an easier life. If you are fine with it of course.
Everyone else, please refrain from commenting on this issue with ideas at this stage as multiple issues are already quite long.
A summary of the discussions in the linked issues:
There are 3 main discussions. Subpoint 2 is about a keyword (more or less), whereas subpoint 3 is more about the underlying mechanism. Probably subpoint 3 will be the major point of discussion since it includes lifecycle aspects.
We want a global media type that behaves the same way as security
in the root level, i.e. each form that does not have a contentType
key, uses the one defined globally, somewhere in the root level of the TD. Relevant issues: https://github.com/w3c/wot-thing-description/issues/204 , https://github.com/w3c/wot-binding-templates/issues/357 . Points to pay attention:
We want to support multiple base URIs that behaves the same way as securityDefinitions
in the root level, where each form can contain a relative URI and refer to a base, like we do now with security
. Relevant issues: https://github.com/w3c/wot-thing-description/issues/803, https://github.com/w3c/wot-thing-description/issues/878 (starting at https://github.com/w3c/wot-thing-description/issues/878#issuecomment-598714052)
connections
, endpoints
: https://github.com/w3c/wot-thing-description/issues/878#issuecomment-924158987An initial connection to the Thing should be expressed somehow. This avoids misinterpretation of reopening a connection twice, when there is no need and gives correct semantics for some protocols. Relevant Issues: #878, #977, #1070, #1242, #1664
op
value called open
or a signifier to establish a connection. Consensus from Sept15, 2021 is to not have an op. https://github.com/w3c/wot-thing-description/issues/878#issuecomment-920148181dependsOn
keyword in non-base formsWrapper Schemas comes into question if all communication over that initial connection follows the same message structure. Related issues https://github.com/w3c/wot-thing-description/issues/878#issuecomment-888433789. This is relevant to global media type and security in a way. Also relates to data mapping.
I am done with the previous comment and will present the findings in the TD call today. For all points of discussion, there are multiple proposals that I put into this hackmd for now: https://hackmd.io/@egekorkan/r1lXdjwtA
In today's meeting, opinions on the past proposals were collected:
As I have been requested to do during this F2F I'm creating issues related to my presentation about Thing Description redundancies.
In this issue, I want to focus on intrinsic protocol level redundancy (slide 7). In short, certain IoT protocols require common configuration parameters that are usually shared across all Web Thing form instances. This creates longer TDs and opens the door to copy&paste errors. This is not the first time that this issue pop up in fact we already have a good list of issues that somehow touch this same aspect:
878
security
term in form protocolscontentType
for every form)In the end, what is really missing is a global space to factor out protocol configuration and refer to those configurations in affordances only if needed. Sadly, this of course we'll make TDs more complex to read/understand.