Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040210Openbravo ERPY. DBSourceManagerpublic2019-02-14 17:252022-02-01 08:07
caristu 
Triage Platform Base 
highminorhave not tried
newopen 
5
 
 
Core
No
0040210: Integrate standard export database process into the DBSM test infrastructure
Currently the test infrastructure uses custom code[1] to export the database instead of using the same code of the export.database task.

It would be nice if the test infrastructure would use the same code[2] of the export.database task. This will allow to test the exporting of the sourcedata, because right now just the model is exported.

[1] https://code.openbravo.com/erp/devel/dbsm-main/file/tip/src-test/src/org/openbravo/dbsm/test/base/DbsmTest.java#l500 [^]

[2] https://code.openbravo.com/erp/devel/dbsm-main/file/tip/src/org/openbravo/ddlutils/task/ExportDatabase.java#l104 [^]
In description
Create a new DBExporter class (in the same way we did with the DBUpdater[3]) class with the logic used to export the database and use it both in ExportDatabase class (export.database task) and in DbsmTest class (the test infrastucture)

[3] https://code.openbravo.com/erp/devel/dbsm-main/file/tip/src/org/openbravo/ddlutils/process/DBUpdater.java [^]
No tags attached.
related to defect 0040160 closed caristu Avoid delay per exported module in export.database 
Issue History
2019-02-14 17:25caristuNew Issue
2019-02-14 17:25caristuAssigned To => platform
2019-02-14 17:25caristuModules => Core
2019-02-14 17:25caristuTriggers an Emergency Pack => No
2019-02-14 17:25caristuRelationship addedrelated to 0040160
2019-02-14 17:25caristuCategoryA. Platform => Y. DBSourceManager
2019-02-14 17:25caristuSummaryIntegrate real export process into the test infrastructure => Integrate real export process into the DBSM test infrastructure
2019-02-14 17:27caristuSummaryIntegrate real export process into the DBSM test infrastructure => Integrate standard export database process into the DBSM test infrastructure
2019-02-14 17:28caristuDescription Updatedbug_revision_view_page.php?rev_id=18327#r18327
2022-02-01 08:07alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.