-
Notifications
You must be signed in to change notification settings - Fork 91
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
Additional Websocket Support #1700
Comments
@skateman in Gitter https://gitter.im/ManageIQ/manageiq?at=58f7b6723e27cac331a46547 you mentioned some issues with Apache. Could you please elaborate a little here (for posterity)? |
So.. these are the changes needed to achieve push updates:
So.. IMO this has nothing to do with websockets at this point, it's a rewrite-the-backend kind of task :). |
This is theoretically doable, but there are some technical constraints:
|
@himdel - Agree, LOTS of dependancies here for sure. This is a non-trivial task for sure. Ultimately, John will need to make the call on the priority and @chessbyte will need to do the resourcing mojo :) /cc @Fryguy |
I'll sum up what was said here and on gitter. What we have:
Now we just dislay the notifications in the UIs. What do we want?We can have the UIs react to the notifications. React in such a way that when a notification of certain type is received a certain part of the UI is refreshed. The notification can be received via the websocket interface, but there's no reason to do the refreshing via the websocket. I can be done as it is now. Meaning we don't really need to change much about websockets. That gets me to the point where we should change the title of this issue to something like: Make ManageIQ emitt notifications on changes of entities such as VMs or Services and have the UIs react to such notifications by refreshing the display immediately.I believe that this is not a trivial task and that this is by large part backend work. I believe that this can be done area by area (e.g. starting with services and then adding VMs or instances etc.). Hope that this description better reflects the PM intent and gets us to the same page. |
This issue has been automatically marked as stale because it has not been updated for at least 6 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! |
This is still very much a need. Adding this comment to remove the "stale". |
@miq-bot rm_label stale |
@martinpovolny any update on this issue? |
Significant backend work is needed so that the UI could subscribe to changes in particular entities and collections based on where in the UI one is located and what permissions one has. W/o that the UI has no other way to detect changes than to poll. With this, the information about changes could come via the websocket w/o polling and the UI could reload only what is needed and when it is needed. |
The best example of polling is using the |
The BU wants enable push updates to the SUI when something changes. Currently the SUI is using polling, and only the the notifications endpoint. We need to add support for web sockets to all endpoints.
@miq-bot assign skateman
@miq-bot add_label enhancement
[edit]: updated for clarity
/cc @martinpovolny, @himdel
The text was updated successfully, but these errors were encountered: