Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0052761 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [POS2] Core | major | have not tried | 2023-06-15 22:14 | 2023-08-04 15:52 | |||
Reporter | jarmendariz | View Status | public | |||||
Assigned To | jarmendariz | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 23Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0151293) hgbot (developer) 2023-06-19 12:22 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1139 [^] |
(0151299) hgbot (developer) 2023-06-19 12:46 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/555 [^] |
(0152675) hgbot (developer) 2023-07-19 23:28 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1966 [^] |
(0153233) hgbot (developer) 2023-08-04 14:03 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: 8b68a41fab9fba563f6d0c59e64b4b91d5a4a87a Author: Javier Armendáriz <javier.armendariz@openbravo.com> Date: 04-08-2023 12:03:13 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/8b68a41fab9fba563f6d0c59e64b4b91d5a4a87a [^] Related to ISSUE-52761: Adding terminal name to check server status params --- M web/org.openbravo.mobile.core/app/integration/remote-server/BackendServer.js --- |
(0153234) hgbot (developer) 2023-08-04 14:03 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/555 [^] |
(0153235) hgbot (developer) 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 (developer) 2023-08-04 14:04 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1966 [^] |
(0153241) hgbot (developer) 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 (developer) 2023-08-04 14:07 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1139 [^] |
(0153254) hgbot (developer) 2023-08-04 15:52 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: aa11fd523d23840ce0fa8807dad77171c9f28f2d Author: Javier Armendáriz <javier.armendariz@openbravo.com> Date: 04-08-2023 15:49:57 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/aa11fd523d23840ce0fa8807dad77171c9f28f2d [^] Related to ISSUE-52761: Fixed unit test CheckServerAvailability request responds with an JSON object that contains a response object. In case there is an error, the response would be as follows: { response: { error: 'msg'}}. Up to now it is not usual to receive an error message from server, but in this project does and we discovered that the message was not correctly extracted from the response. This change caused this test to fail. --- M web-test/integration/remote-server/BackendServer.test.js --- |
![]() |
|||
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 | Triggers an Emergency Pack | => No |
2023-06-15 22:14 | jarmendariz | Status | new => scheduled |
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 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 |
Copyright © 2000 - 2009 MantisBT Group |