-
Notifications
You must be signed in to change notification settings - Fork 63
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
Event consumer: Alternative 2 - event consumer affordance #1330
Conversation
My review for both proposals: postpone to TD2.0 and avoid any kind of discussion that would imply more discussion time hence less time for making sure that the current specification is well specified. Opinion in general: |
I'm afraid that I agree with @egekorkan. Although the proposal seems interesting is something completely brand new. As far as I remember we did even properly discuss which are the modalities on how we can extend the current interaction model. For example, we had a hard time figuring out how to introduce new operation types for async actions (a new affordance type might help to settle a long-standing discussion also there - JobAffordance). if this proposal is about to push notifications (? I think we need a use case description), I would say is a paradigm shift... the affordance that we defined so far describes what a producer can do and not what it expects that a consumer would do. I'm confident that we can work on it but it requires time... |
As a fundamental WoT concept a Thing can be anything, event consumer, event producer, server, client, servient. I think the alternative 1 is more straight forward and pretty easy to implement, because it only requires to add another operation (notify) to define an event consumer. |
I'm agree with @egekorkan and @relu91. This proposal is more related for a potential TD 2.0 discussion. As I already mentioned we have currently the fundamental WoT paradigm “property, action and event”. This PR would cause a new affordance with “property, action, event, and eventConsumer” that would not only impact the TD spec, but also the conceptional description in Architecture as well as the Discovery, Binding Documents, Security and Profile docs. |
@sebastiankb Thanks very much for your comments. |
TD Call 13.12:
|
Event consumer affordance to enable describing a servient with an event listener notification interface in a TD.
Preview | Diff