Openbravo Issue Tracking System - Modules
View Issue Details
0045343ModulesExternal Data Integrationpublic2020-10-30 12:402021-01-20 09:06
javietxe 
javietxe 
normalmajorhave not tried
closedfixed 
5
 
 
0045343: Ability to save ws response in OutputExtraActions
The problem we have is that in an output EDL we might process data from a response (of a web service in our case) in the outputExtraActions method of the ItemProcessor, but we lost the trace of what we are processing.

It is needed to give a hability to save this data related to the processing of a EDL Request.
N/A
-Create new field (ExtraContent) in obedl_output_content
-Modify ItemProcessor.outputExtraActions to add a new writer as input parameter
-Modify OutputDataProcessor.saveOutputContent to read the possible content inserted in this new writer
-Add the logic to save the content in the new field created
No tags attached.
Issue History
2020-10-30 12:40javietxeNew Issue
2020-10-30 12:40javietxeAssigned To => javietxe
2020-10-30 12:40javietxeResolution time => 1605826800
2020-11-02 11:18ebecerraNote Added: 0124089
2020-11-02 11:21hgbotNote Added: 0124090
2020-11-03 17:16AugustoMauchSummaryHability to save ws response in OutputExtraActions => Aability to save ws response in OutputExtraActions
2020-11-03 17:43AugustoMauchSummaryAability to save ws response in OutputExtraActions => Ability to save ws response in OutputExtraActions
2020-11-06 13:31hgbotNote Added: 0124219
2020-12-23 09:39hgbotResolutionopen => fixed
2020-12-23 09:39hgbotStatusnew => resolved
2020-12-23 09:39hgbotNote Added: 0125057
2020-12-23 09:39hgbotNote Added: 0125058
2020-12-23 09:40hgbotNote Added: 0125059
2021-01-20 09:06AugustoMauchNote Added: 0125662
2021-01-20 09:06AugustoMauchStatusresolved => closed

Notes
(0124089)
ebecerra   
2020-11-02 11:18   
Fixes:

https://gitlab.com/obcustomers/AGAP/org.openbravo.externaldata.integration/-/commit/c5d2d582dc7c89f414731fb936d8e5147a34c5ae [^]
(0124090)
hgbot   
2020-11-02 11:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/6 [^]
(0124219)
hgbot   
2020-11-06 13:31   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/4 [^]
(0125057)
hgbot   
2020-12-23 09:39   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration [^]
Changeset: 19106b793e78852e413342ecbf34274b0f374df7
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 2020-12-23T09:36:11+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/commit/19106b793e78852e413342ecbf34274b0f374df7 [^]

Fixes issue 0045343: Ability to save ws response in OutputExtraActions

Now it is possible to store in a new OBEDL_OUTPUT_CONTENT.EXTRA_CONTENT column
content written in the ItemProcessor.outputExtraAction method, by writing on the
writer returned by outputDataProcessor.getExtraOutputWriter

---
M src-db/database/model/tables/OBEDL_OUTPUT_CONTENT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/externaldata/integration/process/ItemProcessor.java
M src/org/openbravo/externaldata/integration/process/OutputDataProcessor.java
---
(0125058)
hgbot   
2020-12-23 09:39   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/6 [^]
(0125059)
hgbot   
2020-12-23 09:40   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/4 [^]
(0125662)
AugustoMauch   
2021-01-20 09:06   
Code reviewed and verified