Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040814 | Retail Modules | StoreServer | public | 2019-05-08 19:19 | 2019-05-30 10:29 |
|
Reporter | AugustoMauch | |
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 | | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0040814: Improve the traceability of the store server state transitions |
Description | Currently, the only way to know about a store server previous state transitions is by checking the log. This is very inconvenient, and sometimes the log is not even available.
A better way to have traceability of the store server state transitions is by persisting the state changes in a table, that should be synchronized from the store servers to the central server using SymmetricDS.
At least the following actions should be persisted in that table:
- The status the store server has when it is started
- The moment when the status of a store server is set to OFFLINE
- The moment when the status of a store server is set to ONLINE
It could be also interesting to persist failed transitions to online and transitions to offline, including in the new table the reason why the transition failed
|
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0040983 | | closed | jarmendariz | ServerStatusLogger cannot be instantiated using Weld in ant task |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-05-08 19:19 | AugustoMauch | New Issue | |
2019-05-08 19:19 | AugustoMauch | Assigned To | => jarmendariz |
2019-05-08 19:19 | AugustoMauch | OBNetwork customer | => No |
2019-05-08 19:19 | AugustoMauch | Triggers an Emergency Pack | => No |
2019-05-15 13:30 | jarmendariz | Status | new => scheduled |
2019-05-27 10:34 | hgbot | Checkin | |
2019-05-27 10:34 | hgbot | Note Added: 0112156 | |
2019-05-27 10:34 | hgbot | Status | scheduled => resolved |
2019-05-27 10:34 | hgbot | Resolution | open => fixed |
2019-05-27 10:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fc0ffc5a8f799ff785c284930f9690d51885b3e5 [^] |
2019-05-27 11:15 | hgbot | Checkin | |
2019-05-27 11:15 | hgbot | Note Added: 0112157 | |
2019-05-27 11:23 | hgbot | Checkin | |
2019-05-27 11:23 | hgbot | Note Added: 0112158 | |
2019-05-27 11:24 | hgbot | Checkin | |
2019-05-27 11:24 | hgbot | Note Added: 0112159 | |
2019-05-27 13:07 | hgbot | Checkin | |
2019-05-27 13:07 | hgbot | Note Added: 0112166 | |
2019-05-28 15:44 | hgbot | Checkin | |
2019-05-28 15:44 | hgbot | Note Added: 0112209 | |
2019-05-28 15:46 | AugustoMauch | Review Assigned To | => AugustoMauch |
2019-05-28 15:46 | AugustoMauch | Note Added: 0112210 | |
2019-05-28 15:46 | AugustoMauch | Status | resolved => closed |
2019-05-30 10:29 | hgbot | Checkin | |
2019-05-30 10:29 | hgbot | Note Added: 0112259 | |
2019-05-31 09:27 | jarmendariz | Relationship added | related to 0040983 |
Notes |
|
(0112156)
|
hgbot
|
2019-05-27 10:34
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: fc0ffc5a8f799ff785c284930f9690d51885b3e5
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Mon May 27 00:46:31 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fc0ffc5a8f799ff785c284930f9690d51885b3e5 [^]
Fixed issue 40814: Improving traceability of store server transitions
Created a new table and read-only Window to log all state transitions
of the store server. All transitions entries should be created with the
utility class ServerStatusLogger.
This table should be synchronized with the central server.
---
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_MENU.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src-db/database/sourcedata/AD_TREENODE.xml
M src-db/database/sourcedata/AD_WINDOW.xml
M src/org/openbravo/mobile/core/servercontroller/MobileMainServerCheck.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerController.java
A src-db/database/model/tables/OBMOBC_SERVER_STATUS_LOG.xml
A src/org/openbravo/mobile/core/servercontroller/log/ServerStatusLogger.java
A src/org/openbravo/mobile/core/servercontroller/log/ServerTransitionStatus.java
---
|
|
|
(0112157)
|
hgbot
|
2019-05-27 11:15
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 919a50e4786668634e430fda3cc981c9f68b6404
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Mon May 27 11:15:46 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/919a50e4786668634e430fda3cc981c9f68b6404 [^]
Related to issue 40814: Changed license text to OBCL
---
M src/org/openbravo/mobile/core/servercontroller/log/ServerStatusLogger.java
M src/org/openbravo/mobile/core/servercontroller/log/ServerTransitionStatus.java
---
|
|
|
(0112158)
|
hgbot
|
2019-05-27 11:23
|
|
|
|
(0112159)
|
hgbot
|
2019-05-27 11:24
|
|
|
|
(0112166)
|
hgbot
|
2019-05-27 13:07
|
|
|
|
(0112209)
|
hgbot
|
2019-05-28 15:44
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: fc410c92f1a5317de1dfc4b6927aff51693e7d9a
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue May 28 15:44:41 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fc410c92f1a5317de1dfc4b6927aff51693e7d9a [^]
Related with issue 40814: Updates transition list item names
The names of the following list items have been updated, to make them more clear:
Transition to Online -> Successful Transition to Online
Transition to Offline -> Successful Transition to Offline
---
M src-db/database/sourcedata/AD_REF_LIST.xml
---
|
|
|
|
Code reviewed and verified |
|
|
(0112259)
|
hgbot
|
2019-05-30 10:29
|
|
Repository: erp/pmods/org.openbravo.replication.symmetricds
Changeset: 43778b7b84103bd75d17762399a1733cf6d4b9ef
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu May 30 10:29:51 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/43778b7b84103bd75d17762399a1733cf6d4b9ef [^]
Related with issue 40814: Do not inject serverStatusLogger in tomcat listener
We have found that sometimes the serverStatusLogger is not properly injected. Now its instance is
created using WeldUtils instead.
---
M src/org/openbravo/replication/symmetricds/SetupSymmetricListener.java
---
|
|