Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0047152Openbravo ERPA. Platformpublic2021-06-16 10:272021-06-25 11:12
alostale 
alostale 
normalminorhave not tried
closedfixed 
5
 
PR21Q3 
Core
No
0047152: add the capability to log import entry status
Currently it is not possible to get information about the current state of the import entry such as number of queued entries to process by type. When debugging certain issues, this information would be very valuable.
-
Implement a mechanism to log a snapshot of the current state of the import entry manager. A JMX bean will expose a method to log this information on request.

## Out of scope of this MR

It is not in the scope of this MR to provide any more elaborated UI to visualize current import entry status.
No tags attached.
related to feature request 0037853 closed alostale ImportEntryManager.reportsStatus only does long time avg, useless to see any short term changes 
Issue History
2021-06-16 10:27alostaleNew Issue
2021-06-16 10:27alostaleAssigned To => platform
2021-06-16 10:27alostaleModules => Core
2021-06-16 10:27alostaleTriggers an Emergency Pack => No
2021-06-16 10:27alostaleSummaryadd capability to log import entry status => add the capability to log import entry status
2021-06-16 10:31hgbotNote Added: 0129550
2021-06-25 09:16alostaleAssigned Toplatform => alostale
2021-06-25 09:16alostaleRelationship addedrelated to 0037853
2021-06-25 11:12hgbotNote Added: 0129790
2021-06-25 11:12hgbotResolutionopen => fixed
2021-06-25 11:12hgbotStatusnew => closed
2021-06-25 11:12hgbotFixed in Version => PR21Q3
2021-06-25 11:12hgbotNote Added: 0129791

Notes
(0129550)
hgbot   
2021-06-16 10:31   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/399 [^]
(0129790)
hgbot   
2021-06-25 11:12   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/399 [^]
(0129791)
hgbot   
2021-06-25 11:12   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 16b43468decfbc366771e453f7a96b424015bfa7
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-06-25T10:25:56+02:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/16b43468decfbc366771e453f7a96b424015bfa7 [^]

fixes FR-47152: adds the capability to log import entry manager status

ImportEntryManager exposes a new JMX bean with a logImportEntryManager
method that writes its status in the log.

---
A src/org/openbravo/service/importprocess/ImportEntryManagerMBean.java
M src/org/openbravo/cluster/ClusterService.java
M src/org/openbravo/service/importprocess/ImportEntryManager.java
M src/org/openbravo/service/importprocess/ImportEntryProcessor.java
---