Am 18.02.2013 um 10:17 schrieb Heiko Braun:
I think you are comparing apples and oranges. Providing the subsystem
is not a client responsibility
I may be, but the latter is exactly what I am saying.
and API level is not protocol level (as in wire format) .
As a client to AS7 I care less about the internal implementation and more about how to
access the information.
And requiring to set up a websocket "system" in addition to the http endpoint
may in some areas just overkill and may reduce
the number of clients that may want to use the notifications.
For instance when looking at the HTTP bridge for notifications, it
might be beneficial to leverage a subsystem decoupled from the core management layer, that
merely acts as an API client to the server internals. This way we might have websocket
notifications as an early preview for example.
I am ok with querying another subsystem for notifications instead of piggy backing the
information on the
servers reponses - if I can just do that with a HTTP get request.
This may not be as instantaneous as a websocket push, but can be used with existing
http-based clients.