openbmc / bmcweb

A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC
Apache License 2.0
154 stars 131 forks source link

Break the Event subscription websocket part out of the REST D-BUS API option as a 2nd option #224

Closed gtmills closed 2 years ago

gtmills commented 2 years ago

Today the REST D-BUS API option also turns off the Event subscription websocket

Break that part out of the REST D-BUS API option A 2nd meson option for Event subscription websocket

See https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/29344

This will continue to allow webui-vue to use the Event subscription websocket while REST D-BUS API is off

gtmills commented 2 years ago

I think I was too quick here to open an issue. The problem I was trying to solve is turn off as much of the REST D-BUS API as possible and still allow webui-vue to have real time data.

webui-vue just fell back to polling if the websocket wasn't available was more preferred