Openbravo Issue Tracking System - Modules
View Issue Details
0049321ModulesExternal Integration Infrastructurepublic2022-05-13 14:042022-05-17 13:09
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
 
0049321: Support custom changes on exported SBO objects
It would be nice to have an extension mechanism based in hooks that allows to apply custom changes on the SBO objects generated as a result of applying an export entity mapping. This mechanism would make possible to:

- Add additional properties into the SBO
- Remove optional properties from the BO under some conditions (because of some kind of complex logic, see 0049332)
No tags attached.
blocks defect 0049332 closed vmromanos Openbravo ERP Remove attributesetinstance_info when id = '0' 
Issue History
2022-05-13 14:04caristuNew Issue
2022-05-13 14:04caristuAssigned To => Triage Platform Conn
2022-05-13 14:07hgbotNote Added: 0137267
2022-05-13 14:09hgbotNote Added: 0137269
2022-05-13 14:11hgbotNote Added: 0137270
2022-05-16 11:52hgbotNote Added: 0137312
2022-05-16 12:00caristuSummarySupport applying custom transformations in SynchronizableBusinessObjectToJsonConverter => Support custom changes on exported SBO objects
2022-05-16 12:00caristuDescription Updatedbug_revision_view_page.php?rev_id=24094#r24094
2022-05-16 13:35caristuAssigned ToTriage Platform Conn => caristu
2022-05-16 14:12vmromanosRelationship addedblocks 0049332
2022-05-16 17:21caristuDescription Updatedbug_revision_view_page.php?rev_id=24099#r24099
2022-05-16 17:22caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24101#r24101
2022-05-17 13:08hgbotResolutionopen => fixed
2022-05-17 13:08hgbotStatusnew => closed
2022-05-17 13:08hgbotNote Added: 0137372
2022-05-17 13:08hgbotNote Added: 0137373
2022-05-17 13:09hgbotNote Added: 0137374
2022-05-17 13:09hgbotNote Added: 0137375

Notes
(0137267)
hgbot   
2022-05-13 14:07   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/22 [^]
(0137269)
hgbot   
2022-05-13 14:09   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.service.external.integration.tests/-/merge_requests/13 [^]
(0137270)
hgbot   
2022-05-13 14:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/41 [^]
(0137312)
hgbot   
2022-05-16 11:52   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/41 [^]
(0137372)
hgbot   
2022-05-17 13:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration [^]
Changeset: f04d2a87272eaca39279d7e6f2a68d08e46e8184
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 16-05-2022 17:04:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/commit/f04d2a87272eaca39279d7e6f2a68d08e46e8184 [^]

fixes ISSUE-49321: support post export SBO creation hooks

---
A src/org/openbravo/service/external/integration/export/ExportedSBOPostCreationHook.java
M src/org/openbravo/service/external/integration/PrioritizableComponentStore.java
M src/org/openbravo/service/external/integration/export/SynchronizableBusinessObjectExporter.java
---
(0137373)
hgbot   
2022-05-17 13:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/22 [^]
(0137374)
hgbot   
2022-05-17 13:09   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.service.external.integration.tests [^]
Changeset: cd3bf3647d969042c0e2f066a2681d173d46af13
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 16-05-2022 17:04:01
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.service.external.integration.tests/-/commit/cd3bf3647d969042c0e2f066a2681d173d46af13 [^]

related to ISSUE-49321: add test cases

---
A src-test/org/openbravo/service/external/integration/test/export/AnotherCountryWithExtensionsExportedSBOPostCreationHook.java
A src-test/org/openbravo/service/external/integration/test/export/CountryExportWithExtensionsTest.java
A src-test/org/openbravo/service/external/integration/test/export/CountryWithExtensionsExportedSBOPostCreationHook.java
M src-db/database/sourcedata/OBEI_ENTITY_MAPPING.xml
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
M src-test/org/openbravo/service/external/integration/test/ExternalIntegrationTestSuite.java
M src-test/org/openbravo/service/external/integration/test/TestConstants.java
M src-test/org/openbravo/service/external/integration/test/export/CountryExportTest.java
---
(0137375)
hgbot   
2022-05-17 13:09   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.service.external.integration.tests/-/merge_requests/13 [^]