-
Notifications
You must be signed in to change notification settings - Fork 130
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
[Scripting] Discovery of exposed Things on the same runtime #233
Comments
Alternatively, going by the wording you have used, should we have a formal abstraction for "runtime" in WoT? Also, specify what is the relationship between I ask because for similar reasons OCF uses the notion of "Device" (corresponding to a "runtime") and "Resource" (corresponding to a Thing). Resources are addressed by specifying a device id (that uniquely maps to a network address) and a resource id or path (that uniquely maps a resource within that device). When device id is not specified, requests are relevant to the same runtime. Also, OCF mandates that every device implements a resource for supporting resource discovery. When you retrieve that resource, it lists all resources supported by that device. I wonder if we need to introduce similar concepts in WoT, or otherwise how do we formally describe this. If |
Actually there is a requirement to support GET on the Thing externally addressable root URL and provide a TD. So is it correct to we assume a script running in the Thing is able to access the same information (i.e. no separate mechanism needed)? |
Closing, the discussion should continue in w3c/wot-scripting-api#227 |
referring to
https://github.com/w3c/wot/blob/master/meeting-results/beijing-f2f/wot-f2f-beijing-scripting-api.md#localdiscovery
A factory method needs to be added to the WoT object to enable discovering exposed things on the same runtime in order to interact with them using server-side API
The text was updated successfully, but these errors were encountered: