Skip to content

Directory - How to find things around me? #321

Open
@danielpeintner

Description

@danielpeintner

At the moment the discovery describes its interactions with the means of a TD (see https://github.com/w3c/wot-discovery/blob/main/directory.td.json)
e.g., it offers properties for "retrieveTD", "retrieveTDs", "searchJSONPath", "searchXPath", .. and some other actions/events to interact with a directory.

In the scripting API we used to have the following DiscoveryMethod enumeration (see https://www.w3.org/TR/wot-scripting-api/#the-discoverymethod-enumeration)

  • "any"
  • "local"
  • "directory" and
  • "multicast"

and we changed it to the following list (see https://w3c.github.io/wot-scripting-api/#the-discoverymethod-enumeration)

  • "direct" and
  • "directory"

The more I think about these facts and changes I wonder why we actually need a WoT Discovery conformance class.

For developers there is no real need for doings so IF I can only contact a TD/Thing directly or talk to a directory . One could consume the directory TD and act upon this TD.
OR
directly connect a Thing and retrieve the TD.

What we totally miss now is the case of a runtime that can scan for example the current network and find things around me. The directory does not do that for you. How can I fulfill this use-case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discoveryRelates to discovery and/or relates to joint work/discussions with the discovery task forceuse caseDescribes a scenario that may be useful for technical decisions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions