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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049321
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Modules] External Integration Infrastructureminorhave not tried2022-05-13 14:042022-05-17 13:09
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0049321: Support custom changes on exported SBO objects

DescriptionIt 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0049332 closedvmromanos Openbravo ERP Remove attributesetinstance_info when id = '0' 

-  Notes
(0137267)
hgbot (developer)
2022-05-13 14:07

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/22 [^]
(0137269)
hgbot (developer)
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 (developer)
2022-05-13 14:11

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/41 [^]
(0137312)
hgbot (developer)
2022-05-16 11:52

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/41 [^]
(0137372)
hgbot (developer)
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 (developer)
2022-05-17 13:08

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/22 [^]
(0137374)
hgbot (developer)
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 (developer)
2022-05-17 13:09

Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.service.external.integration.tests/-/merge_requests/13 [^]

- Issue History
Date Modified Username Field Change
2022-05-13 14:04 caristu New Issue
2022-05-13 14:04 caristu Assigned To => Triage Platform Conn
2022-05-13 14:07 hgbot Note Added: 0137267
2022-05-13 14:09 hgbot Note Added: 0137269
2022-05-13 14:11 hgbot Note Added: 0137270
2022-05-16 11:52 hgbot Note Added: 0137312
2022-05-16 12:00 caristu Summary Support applying custom transformations in SynchronizableBusinessObjectToJsonConverter => Support custom changes on exported SBO objects
2022-05-16 12:00 caristu Description Updated View Revisions
2022-05-16 13:35 caristu Assigned To Triage Platform Conn => caristu
2022-05-16 14:12 vmromanos Relationship added blocks 0049332
2022-05-16 17:21 caristu Description Updated View Revisions
2022-05-16 17:22 caristu Steps to Reproduce Updated View Revisions
2022-05-17 13:08 hgbot Resolution open => fixed
2022-05-17 13:08 hgbot Status new => closed
2022-05-17 13:08 hgbot Note Added: 0137372
2022-05-17 13:08 hgbot Note Added: 0137373
2022-05-17 13:09 hgbot Note Added: 0137374
2022-05-17 13:09 hgbot Note Added: 0137375


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker