Skip to content
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

Contradiction with the Arch spec on protocol bindings #299

Open
egekorkan opened this issue Oct 4, 2022 · 4 comments
Open

Contradiction with the Arch spec on protocol bindings #299

egekorkan opened this issue Oct 4, 2022 · 4 comments
Labels
by CR transition close P1 Priority 1 to be discussed (e.g., next week) Profile-1.0

Comments

@egekorkan
Copy link
Contributor

There is the following assertion in the arch spec at https://w3c.github.io/wot-architecture/#hypermedia-driven :

Protocol Bindings MUST be serialized as hypermedia controls to be self-descriptive on how to activate the Interaction Affordance.

However, the profiles contradict this assertion since they define a protocol binding inside the specification and this is referred to only by the profile term in the top level, and thus out of the hypermedia controls.

@benfrancis
Copy link
Member

benfrancis commented Oct 4, 2022

See also: w3c/wot-thing-description#1674 (WoT TD)

I have filed w3c/wot-architecture#850 (WoT Architecture)

@mlagally mlagally added the close label Nov 9, 2022
@mlagally mlagally added the P1 Priority 1 to be discussed (e.g., next week) label Dec 21, 2022
@egekorkan
Copy link
Contributor Author

egekorkan commented Mar 22, 2023

If all the TDs look like the ones submitted by @mlagally to testfest, we should be ok: https://github.com/w3c/wot-testing/blob/main/data/input_2022/Profile/TD/Oracle/TDs/BluePump%20WebThing.td.jsonld

However, this requirement should be asserted in the spec

@mlagally
Copy link
Contributor

mlagally commented Mar 22, 2023

Profile call on March 3rd:
Needs more discussion and a concrete proposal.

Alternatives:

  1. remove normative language from Architecture before REC
  2. Add language to the Profile spec to require "complete forms"

Revisit in Profile call on March 29th

@benfrancis
Copy link
Member

Defining the protocol binding declaratively in every Form in addition to specifying it in the profile would negate most of the benefits of using a profile, which allow for much simpler Thing Descriptions by having Consumers assume a wider range of defaults. It's also not possible to describe many aspects of the profile protocol bindings declaratively in forms.

The TD and Architecture specifications should be updated to say that profiles can also define protocol bindings, as I suggested in w3c/wot-thing-description#1674 and w3c/wot-architecture#850, since this is what is currently done.

I hope that we can improve this situation in 2.0 by having the profiling mechanism and binding mechanism work together, see #285 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
by CR transition close P1 Priority 1 to be discussed (e.g., next week) Profile-1.0
Projects
None yet
Development

No branches or pull requests

3 participants