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

Should Thing Directory Interface (register/unregister/discover) be part of WoT standard? #126

Closed
farshadahmadi opened this issue Jun 18, 2018 · 3 comments

Comments

@farshadahmadi
Copy link

Thing Directory APIs including register/unregister/discover are part of WoT standard right now. But Thing Directory can also be described by a Thing Description through narrow waist interaction models. Then the client can get the TD, parse it, and communicate with it.

@mkovatsc
Copy link
Contributor

Scripts also need a way to discover without a directory, e.g., to trigger a multicast discovery conducted by the WoT Runtime. Hence, discover() needs to stay.

register() and unregister() are mainly convenience functions. Here we could discuss to keep the Scripting API slim and remove them, and rely on directories having TDs with standard annotations for registration, registration update, de-registration, and lookups.

@zolkis
Copy link
Contributor

zolkis commented Sep 24, 2018

To be discussed in Lyon F2F.

@zolkis
Copy link
Contributor

zolkis commented Jun 26, 2019

With #174 we removed register() and unregister(), but kept discover(). Closing for now, reopen if needed.

@zolkis zolkis closed this as completed Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants