Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040814
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] StoreServermajorhave not tried2019-05-08 19:192019-05-30 10:29
ReporterAugustoMauchView Statuspublic 
Assigned Tojarmendariz 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionfc0ffc5a8f79
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040814: Improve the traceability of the store server state transitions

DescriptionCurrently, 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-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040983 closedjarmendariz ServerStatusLogger cannot be instantiated using Weld in ant task 

-  Notes
(0112156)
hgbot (developer)
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 (developer)
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 (developer)
2019-05-27 11:23

Repository: erp/pmods/org.openbravo.replication.symmetricds
Changeset: e116961a03999cb96e76c5106dba44ea23f40611
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Thu May 23 14:12:37 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/e116961a03999cb96e76c5106dba44ea23f40611 [^]

Related to issue 40814: Improve the traceability of store server transitions

Added to store server transitions log the initial state of the store server when
it starts up.

---
M src/org/openbravo/replication/symmetricds/SetupSymmetricListener.java
---
(0112159)
hgbot (developer)
2019-05-27 11:24

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: a476aa9b957ad1ecbdcd6a1ed31b2bf2326162af
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Thu May 23 14:13:28 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/a476aa9b957ad1ecbdcd6a1ed31b2bf2326162af [^]

Related to issue 40814: Improve the traceability of store server transitions

Server Transition Log table should be synchronized from the store servers to
be gathered in central server.

---
M src-db/database/sourcedata/STRSYNC_SYNCHRONIZEDTABLE.xml
---
(0112166)
hgbot (developer)
2019-05-27 13:07

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 401cd8f8c43a03acd83cc90e781414c0ac0220d1
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Mon May 27 13:07:05 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/401cd8f8c43a03acd83cc90e781414c0ac0220d1 [^]

Related to issue 40814: Fixing AD data

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0112209)
hgbot (developer)
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
---
(0112210)
AugustoMauch (manager)
2019-05-28 15:46

Code reviewed and verified
(0112259)
hgbot (developer)
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
---

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker