Openbravo Issue Tracking System - Modules
View Issue Details
0048972ModulesOpenbravo Business APIpublic2022-04-05 17:062022-04-12 18:17
caristu 
njimenez 
highminorhave not tried
closedfixed 
5
 
 
caristu
0048972: Improve ApiExporter to use the readonly pool when possible
It would be nice to improve the ApiExporter instance creation API to support using the readonly database connection pool that must be used for retrieving the data to be exported from the database.
.
No tags attached.
related to feature request 0049040 closed njimenez Improve ApiExporter to make readonly pool usage configurable 
Issue History
2022-04-05 17:06caristuNew Issue
2022-04-05 17:06caristuAssigned To => Triage Platform Conn
2022-04-05 17:06caristuStatusnew => acknowledged
2022-04-11 11:42njimenezSummaryImprove ApiExporter to define the database connection pool => Improve ApiExporter to use the readonly pool
2022-04-11 11:42njimenezDescription Updatedbug_revision_view_page.php?rev_id=23907#r23907
2022-04-11 12:01hgbotNote Added: 0136458
2022-04-11 12:01hgbotNote Added: 0136459
2022-04-12 10:31caristuAssigned ToTriage Platform Conn => caristu
2022-04-12 10:31caristuAssigned Tocaristu => njimenez
2022-04-12 11:45hgbotNote Added: 0136484
2022-04-12 11:45hgbotNote Added: 0136485
2022-04-12 11:45hgbotNote Added: 0136486
2022-04-12 11:45hgbotNote Added: 0136487
2022-04-12 11:45hgbotNote Added: 0136488
2022-04-12 11:46caristuStatusacknowledged => scheduled
2022-04-12 11:46caristuStatusscheduled => resolved
2022-04-12 11:46caristuResolutionopen => fixed
2022-04-12 11:46caristuReview Assigned To => caristu
2022-04-12 11:46caristuStatusresolved => closed
2022-04-12 13:48njimenezRelationship addedrelated to 0049040
2022-04-12 17:23hgbotNote Added: 0136496
2022-04-12 18:17caristuSummaryImprove ApiExporter to use the readonly pool => Improve ApiExporter to use the readonly pool when possible

Notes
(0136458)
hgbot   
2022-04-11 12:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/16 [^]
(0136459)
hgbot   
2022-04-11 12:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/22 [^]
(0136484)
hgbot   
2022-04-12 11:45   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration [^]
Changeset: 22203a3fd8a78d061d8681d4cd5c6a75665e04c1
Author: Natalia Jimenez <natalia.jimenez@openbravo.com>
Date: 12-04-2022 09:45:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/commit/22203a3fd8a78d061d8681d4cd5c6a75665e04c1 [^]

Related To ISSUE-48972: Allow to configure the OBDal instance used by the Dal SBO exporter

---
M src/org/openbravo/service/external/integration/export/DalSynchronizableBusinessObjectExporter.java
---
(0136485)
hgbot   
2022-04-12 11:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/16 [^]
(0136486)
hgbot   
2022-04-12 11:45   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 932c343799646cabdef882f3156024ce2c246dc8
Author: Natalia Jiménez <natalia.jimenez@openbravo.com>
Date: 11-04-2022 11:45:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/932c343799646cabdef882f3156024ce2c246dc8 [^]

Fix ISSUE-48972: Change OBDal calling in order to use the readonly pool

---
M src/org/openbravo/api/ApiExporter.java
---
(0136487)
hgbot   
2022-04-12 11:45   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: f2193a542283a64bb2e867171d6d8488416d229d
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 12-04-2022 10:16:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/f2193a542283a64bb2e867171d6d8488416d229d [^]

related to ISSUE-48972: set the OBDal instance for the exporter

---
M src/org/openbravo/api/ApiExporter.java
---
(0136488)
hgbot   
2022-04-12 11:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/22 [^]
(0136496)
hgbot   
2022-04-12 17:23   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 41d858e1d7cb6800aebc6a877d893308e7edac1a
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 12-04-2022 17:20:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/41d858e1d7cb6800aebc6a877d893308e7edac1a [^]

related to ISSUE-48972: make pool selection configurable

  Make the pool selection a configurable option for the ApiExporter are
there are cases where we may directly use the standard pool. For example
to get information from non commited data.

  Together with this, make Rest WS use the ApiExporter with the read
only pool by default (if enabled).

---
M src/org/openbravo/api/ApiExporter.java
M src/org/openbravo/api/service/ApiExportWebService.java
---