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

Meta Operation Payloads and Semantics #319

Open
egekorkan opened this issue Jan 29, 2025 · 2 comments
Open

Meta Operation Payloads and Semantics #319

egekorkan opened this issue Jan 29, 2025 · 2 comments
Labels
US User Story issue created from template

Comments

@egekorkan
Copy link
Contributor

egekorkan commented Jan 29, 2025

Submitter Contact Information

@egekorkan

Main Stakeholder

Eclipse Thingweb node-wot

Other Stakeholders

All Consumer implementations that only have a TD to build the correct request for meta operations

Details

Capability

Description of input and output needed for meta operations in a TD

Details

Any implementation that requires to build the correct request for meta operation such as `writeallproperties`, `readallproperties`, `readmultipleproperties` and to understand the response(s), currently does not have enough information in a TD. For example:

- How is the list of properties sent in `readmultipleproperties`? 
- What if `readallproperties` returns a different payload than a map?
- What happens in the case of other serialization formats than JSON?
- What if readmultiple is a static set of properties, which can happen in MQTT with wildcards
- Does `observeallproperties` return all properties no matter if they have changed or only the changed properties are sent?

The issues are labeled on the TD repo: https://github.com/w3c/wot-thing-description/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22meta%20operations%22
From most relevant to least, probably:

- https://github.com/w3c/wot-thing-description/issues/1349
- https://github.com/w3c/wot-thing-description/issues/1231
- https://github.com/w3c/wot-thing-description/issues/1643
- https://github.com/w3c/wot-thing-description/issues/1814
- https://github.com/w3c/wot-thing-description/issues/1976
- https://github.com/w3c/wot-thing-description/issues/1631

Note: This is protocol dependent but a level of abstraction is probably needed

Purpose

build correct requests and handle the response without trial and error

Details

Motivation

- https://w3c.github.io/wot-usecases/#UC-leaving-and-coming-home-1
- https://w3c.github.io/wot-usecases/#UC-retail-all-stop-button-outdoor-emergency-stop-plunger-1
- Probably most use cases are effected by this
@egekorkan
Copy link
Contributor Author

egekorkan commented Jan 29, 2025

After filling this:

  • I think the headers with Details need the category name as well, i.e. Stakeholder Details
  • We should automatically label the issue with the yaml template

@mmccool mmccool added the US User Story issue created from template label Jan 29, 2025
@mmccool
Copy link
Contributor

mmccool commented Jan 29, 2025

Find this a bit too high-level and abstract, and the capability points to a lot of issues but not a definition of the specific capabilities (there seem to be a lot) needed.

It would help to:

  • Give a clear definition of "metaoperations" under "Details" for the Capability, or link to the Terminology section
  • Maybe break this into a set of smaller user stories so each can be more precise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
US User Story issue created from template
Projects
None yet
Development

No branches or pull requests

2 participants