Openbravo Issue Tracking System - POS2
View Issue Details
0056183POS2Corepublic2024-08-05 14:382024-09-16 13:51
gonzalo_fernandez 
gonzalo_fernandez 
normalmajorN/A
closedfixed 
5
 
24Q4 
No
0056183: Websocket Implementation - Core2 infrastructure implementation and example module
Core2 infrastructure should be prepared to allow usage of websockets and manage websocket messaging, both sending and receiving messages.

This infrastructure API should be agnostic to websockets and an example module must be created that uses this infrastructure.
.
No tags attached.
related to feature request 0056195 closed cberner Openbravo ERP New infrastructure for sending messages, using websockets 
related to defect 0056850 new Triage Platform Base POS2 WebSocket infrastructure does not work when application is loaded via https 
Issue History
2024-08-05 14:38gonzalo_fernandezNew Issue
2024-08-05 14:38gonzalo_fernandezAssigned To => gonzalo_fernandez
2024-08-05 14:38gonzalo_fernandezTriggers an Emergency Pack => No
2024-08-12 10:59hgbotNote Added: 0167964
2024-08-20 08:31cbernerRelationship addedrelated to 0056195
2024-08-20 08:31cbernerStatusnew => scheduled
2024-09-16 13:51hgbotResolutionopen => fixed
2024-09-16 13:51hgbotStatusscheduled => closed
2024-09-16 13:51hgbotFixed in Version => 24Q4
2024-09-16 13:51hgbotNote Added: 0169240
2024-09-16 13:51hgbotNote Added: 0169242
2024-10-21 14:35shuehnerRelationship addedrelated to 0056850

Notes
(0167964)
hgbot   
2024-08-12 10:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1562 [^]
(0169240)
hgbot   
2024-09-16 13:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: e957e71b3ba03b337517b1c8bf858b9485daeffe
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 16-09-2024 13:49:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/e957e71b3ba03b337517b1c8bf858b9485daeffe [^]

Fixes FR-56183: Core2 infrastructure implementation for websockets

It includes a message sending and receiving infrastructure that has a
particular implementation using websockets. It is agnostic to websocket
technology and another technology might be swapped instead of it in the
future.

It doesn't contain any use-case as of now, an example has been provided
in the MR where this was done and in documentation.

---
A web-jspack/org.openbravo.core2/src/core/messageClient/MessageClient.js
A web-jspack/org.openbravo.core2/src/core/messageClient/__test__/MessageClient.test.js
A web-jspack/org.openbravo.core2/src/core/webSocket/WebSocketClient.js
A web-jspack/org.openbravo.core2/src/core/webSocket/__test__/WebSocketClient.test.js
M web-jspack/org.openbravo.core2/src/authentication/loginInitActions.js
M web-jspack/org.openbravo.core2/src/model/session/user-actions/Logout.js
M web-jspack/org.openbravo.core2/src/ob-init.js
M web-jspack/org.openbravo.core2/vite.config.js
---
(0169242)
hgbot   
2024-09-16 13:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1562 [^]