-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Architecture Restructuring #16
Comments
Some thoughts on restructuring:
|
I generally agree with @mmccool's thoughts.
|
Generally agree with @mmccool . Regarding chapter 9, I think it would be nice to leave some parts as explanations when building a large-scale system. It's now titled Example, so it should be changed. Figure 14 illustrates system integration and shows that WoT can handle large scale use cases. In smart cities, where many factories, buildings, and houses are connected from the cloud, intermedairys will be connected in multiple stages and aggregated. Additionally, intermediary may process data as edges. |
We had an internal discussion about this.
By the way, there has been a TAG review saying this document should be a Note. See here. |
I agree very much to this. Synchronization among TFs should be an ongoing process and coordinated on a regular basis. A single horizontal document that lays the common ground for all WoT specs is necessary, which defines the system components, building blocks and their relationship. A first time reader should get an overview about the purpose and applications of WoT without having to read multiple specifications. |
@mlagally I agree with your points above. However, I do not think that any of this requires the arch spec to be normative. So many of the assertions in the current spec are either irrelevant and not-implementable in the current WoT building block implementations or can be moved to respective specifications. |
I don't mind too much about the document structure but I agree with @mlagally that WoT Architecture is a useful introduction to WoT which explains the different building blocks and how they fit together. I also agree with @egekorkan /Siemens, @k-toumura and the TAG that the next version of the document should be non-normative and any remaining normative assertions should be moved into the other normative specifications so that they are more self-contained. |
Notes from Security TF call:
|
I can see why this justifies not having a separate normative security deliverable, but you don't say why the small number of normative security assertions could not be moved to the TD and Discovery specifications (and potentially the non-normative Security Best Practices document), instead of remaining in Architecture and forcing that entire document to be a REC.
Could you explain why? |
Because the security assertions are generally about WoT implementations as a whole, and are prescriptive. The WoT TD is about describing things (providing metadata), whereas the security assertions actually constrain implementations to satisfy certain properties. We could put them into the TD spec, but they don't really "fit".
Similar argument to above. It could go into Discovery but Onboarding is logically a separate step in the lifecycle from Discovery. It's true however that you would often follow onboarding (key provisioning, pairing, etc) immediately with registration in a TDD. It's also true that we could make TDD registration a mandatory part of onboarding, but this is not the only possibility. I don't think the Security TF was entirely against it, and it could probably be made to work, but the general feeling was that onboarding fits in better with a general discussion of lifecycle. |
@mmccool wrote:
Thank you for explaining, but having read over all of the security assertions in WoT Architecture I'm not sure I recognise the distinction. Either an assertion needs to be satisfied by a WoT Consumer/Thing implementation or it doesn't. Security is not implemented in isolation, but as part of either a Consumer, Producer or Thing. There may be different recommendations for greenfield Things than for brownfield Things, but they are still Things.
From what you've explained so far I'm not even sure that onboarding should be within the scope of WoT, but if it is then it isn't really about the architecture of WoT, but a concrete mechanism within it like Discovery. If it doesn't belong in one of the existing specifications then maybe it's better to incubate it as as a separate deliverable published as a Note within this charter period, which could become (or be added to) a normative specification once it's clearer where it fits? Please see my proposal for WoT Architecture 2.0 in #82 (comment) |
Made normative for now (PR #82), will however consider doing refactoring during the course of the charter. |
Architecture Restructuring
The text was updated successfully, but these errors were encountered: