-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Description
We need to implement the events that we receive from the ParallelsDesktop event emitter as Websockets push notifications to all listening clients on the ParallelsDesktop Inbox. This will help consumers to react to changes in the VM states or any other change.
The message should contain the vm object that it is relating to, this will avoid the client to call any API to get the data, it will go in the body of the push message but we need to make sure the object is manageable so we need to trim the JSON object to the minimum possible
What do we need?
- A inbox for the ParallelsDesktop for clients to subscribe
- All events from the PDfM Event Emitter to be pushed to that inbox
- Each event will have the VM id the type of change and the VM Body
User Story
As a user I want to be able to subscribe to the ParallelsDestop inbox and receive the updates of the changed state in real time
As a developer I want to be able to provide the new states to update the clients in real time changes in the consumer VM states
Acceptance Criteria
No response
Definition of Done
- Code implemented following best practices.
- Unit tests written and passing.
- Code reviewed and approved.
- Merged into the main branch.
- Documentation updated (if applicable).
- Deployed to staging/production environment.
Assumptions and Constraints
No response
Dependencies
No response
Additional Notes
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status