Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052761 | POS2 | Core | public | 2023-06-15 22:14 | 2023-08-04 15:52 |
|
Reporter | jarmendariz | |
Assigned To | jarmendariz | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 23Q4 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0052761: Full Refresh Throttling |
Description | Server should be able to tell a Terminal that it should log in in Offline mode, so the service worker should not update the terminal's sources and the masterdata should not change.
This feature could be used to limit by Organization the number of terminals that are refreshing (either their sources or masterdata) at the same time, and can be monitored via a JMX endpoint. |
Steps To Reproduce | See description |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | feature request | 0049857 | | closed | jarmendariz | Full Refresh Throttling |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2023-06-15 22:14 | jarmendariz | New Issue | |
2023-06-15 22:14 | jarmendariz | Assigned To | => jarmendariz |
2023-06-15 22:14 | jarmendariz | OBNetwork customer | => No |
2023-06-15 22:14 | jarmendariz | Triggers an Emergency Pack | => No |
2023-06-15 22:14 | jarmendariz | Status | new => scheduled |
2023-06-19 12:22 | hgbot | Merge Request Status | => open |
2023-06-19 12:22 | hgbot | Note Added: 0151293 | |
2023-06-19 12:46 | hgbot | Note Added: 0151299 | |
2023-07-19 23:28 | hgbot | Note Added: 0152675 | |
2023-08-04 07:52 | hgbot | Merge Request Status | open => approved |
2023-08-04 08:54 | jarmendariz | Relationship added | has duplicate 0049857 |
2023-08-04 14:03 | hgbot | Note Added: 0153233 | |
2023-08-04 14:03 | hgbot | Note Added: 0153234 | |
2023-08-04 14:04 | hgbot | Note Added: 0153235 | |
2023-08-04 14:04 | hgbot | Note Added: 0153236 | |
2023-08-04 14:07 | hgbot | Resolution | open => fixed |
2023-08-04 14:07 | hgbot | Status | scheduled => closed |
2023-08-04 14:07 | hgbot | Fixed in Version | => 23Q4 |
2023-08-04 14:07 | hgbot | Note Added: 0153241 | |
2023-08-04 14:07 | hgbot | Note Added: 0153242 | |
2023-08-04 15:52 | hgbot | Note Added: 0153254 | |
Notes |
|
(0151293)
|
hgbot
|
2023-06-19 12:22
|
|
|
|
(0151299)
|
hgbot
|
2023-06-19 12:46
|
|
|
|
(0152675)
|
hgbot
|
2023-07-19 23:28
|
|
|
|
(0153233)
|
hgbot
|
2023-08-04 14:03
|
|
|
|
(0153234)
|
hgbot
|
2023-08-04 14:03
|
|
|
|
(0153235)
|
hgbot
|
2023-08-04 14:04
|
|
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: c0da6c148915acf8f1ecee27f7fdfbb0f061b387
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 04-08-2023 14:04:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c0da6c148915acf8f1ecee27f7fdfbb0f061b387 [^]
Related to ISSUE-52761: Full Refresh Throttling
---
A src-test/org/openbravo/pos2/utility/CheckTerminalFullRefreshTest.java
A src/org/openbravo/pos2/login/POS2LoginHandlerAdditionalResponse.java
A src/org/openbravo/pos2/login/TerminalForceOfflineCheck.java
A src/org/openbravo/pos2/master/JmxFullMasterdataRefresh.java
A src/org/openbravo/pos2/master/JmxFullMasterdataRefreshMBean.java
A src/org/openbravo/pos2/service/FullRefreshFinish.java
A src/org/openbravo/pos2/service/FullRefreshStart.java
A src/org/openbravo/pos2/service/TerminalFullRefreshStartTimeUpdate.java
A src/org/openbravo/pos2/utility/CheckTerminalFullRefresh.java
A web-jspack/org.openbravo.pos2/src/core/masterdata/registerFullMasterdataRefreshNotificationHook.js
M src-db/database/model/modifiedTables/AD_ORG.xml
M src-db/database/model/modifiedTables/OBPOS_APPLICATIONS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
M src-test/org/openbravo/pos2/StandaloneTestSuite.java
M src/org/openbravo/pos2/POS2Initializer.java
M src/org/openbravo/pos2/login/POS2LoginUtilsServlet.java
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
|
|
|
(0153236)
|
hgbot
|
2023-08-04 14:04
|
|
|
|
(0153241)
|
hgbot
|
2023-08-04 14:07
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: decaae25d24a62dc52ae6ee56da626d09e80595c
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 04-08-2023 14:04:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/decaae25d24a62dc52ae6ee56da626d09e80595c [^]
Fixed ISSUE-52761: Full Refresh Throttling
This project adds the following features:
- Control application's sources upgrade: Sources can only be updated after a successful online login
- Control Terminal's online/offline status
- Limit amount of simultaneous terminals fully refreshing Masterdata per Organization
- JMX endpoint to monitor terminals fully refreshing masterdata in realtime
---
M web-jspack/org.openbravo.core2/src/core/authentication/InitializeAppData.js
M web-jspack/org.openbravo.core2/src/core/authentication/LoginProcess.js
M web-jspack/org.openbravo.core2/src/core/authentication/RestoreSession.js
M web-jspack/org.openbravo.core2/src/registerServiceWorker.js
M web-jspack/org.openbravo.core2/src/serviceWorkerRegistration.js
---
|
|
|
(0153242)
|
hgbot
|
2023-08-04 14:07
|
|
|
|
(0153254)
|
hgbot
|
2023-08-04 15:52
|
|
|