[PATCH phosphor-rest-server v3] The streaming support for obmc-rest.
OpenBMC Patches
openbmc-patches at stwcx.xyz
Mon Jun 6 11:40:43 AEST 2016
Changes:
1) The main idea of this change is to have a streaming path as below:
dbus signal -> obmc-rest capture the dbus signal -> obmc-rest notify the client of the signal receiving.
2) Replace rocket with gevent WSGI server to support multiple async accesses.
3) Use gevent queue to notify the dbus signal receiving.
4) The uri to the streaming should be in the form as below:
https://<ip>/<path>/stream/<signal_name>
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/phosphor-rest-server/15)
<!-- Reviewable:end -->
https://github.com/openbmc/phosphor-rest-server/pull/15
shgoupf (1):
The streaming support for obmc-rest.
obmc-rest | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 106 insertions(+), 12 deletions(-)
mode change 100644 => 100755 obmc-rest
--
2.8.3
More information about the openbmc
mailing list