Notes |
|
(0104337)
|
hgbot
|
2018-05-08 19:06
|
|
Repository: erp/pmods/org.openbravo.externaldata.integration
Changeset: 8be5efcd1832d045af5e663017c36417794ec92f
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue May 08 19:05:55 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/8be5efcd1832d045af5e663017c36417794ec92f [^]
Fixes issue 38503: It is possible to define dependencies between EDL Requests
Now it is possible to define dependencies between EDL Requests, and the EDLImportEntryProcessor will
only process an EDL Request if all its dependencies have been satisfied.
The API to define the EDL Requests with their dependencies is:
public OBEDLRequest addRequest(String processId, Object data, Writer responseWriter,
ExecutionMode executionMode, List<OBEDLRequest> dependencies)
---
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-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/externaldata/integration/handlers/RequestLineReprocessHandler.java
M src/org/openbravo/externaldata/integration/process/EDLImportEntryProcessor.java
M src/org/openbravo/externaldata/integration/process/ProcessRequest.java
A src-db/database/model/tables/OBEDL_REQUEST_DEPENDENCY.xml
A src-db/database/sourcedata/OBUISEL_SELECTOR.xml
---
|
|
|
(0104441)
|
hgbot
|
2018-05-10 09:07
|
|
|
|
|
|
|
(0106665)
|
hgbot
|
2018-09-10 13:48
|
|
Repository: erp/pmods/org.openbravo.externaldata.integration
Changeset: 8345b5da585e5bad8eaf71b0ec6723c953de66e2
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Sep 10 13:47:18 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/8345b5da585e5bad8eaf71b0ec6723c953de66e2 [^]
Fixes issue 38503: Applies code review comments
- Adds comment to RequestLineReprocessHandler.updateImportEntryIfNeeded to clarify intent
- Adds description for Obedl_Request_Dependency_ID
- Removes uneeded setAdminMode block on EDLEntryProcessRunnable.allRequestLinesAreProcessed
- Use Collections.emptyList() instead of new ArrayList()
---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/externaldata/integration/handlers/RequestLineReprocessHandler.java
M src/org/openbravo/externaldata/integration/process/EDLImportEntryProcessor.java
M src/org/openbravo/externaldata/integration/process/ProcessRequest.java
---
|
|
|
(0106697)
|
hgbot
|
2018-09-12 10:00
|
|
|
|
(0106921)
|
hgbot
|
2018-09-21 10:00
|
|
|
|
(0106922)
|
hgbot
|
2018-09-21 10:00
|
|
|
|
|
Code reviewed + tested OK |
|
|
(0108722)
|
hgbot
|
2018-12-21 13:43
|
|
Repository: erp/pmods/org.openbravo.service.external.integration
Changeset: d29825e526f21e7d4772a48ed8aefc6d57f978a4
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Sep 10 10:19:53 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/d29825e526f21e7d4772a48ed8aefc6d57f978a4 [^]
Fixes bug 38503:Avoid infinite loop if mapping not scheduled with dependencies
If a entity mapping was included in a process request, but any of its depencies were not, the process
that orders the entity mappings based on their dependencies entered an infinite loop.
Now an entity mapping is added to the list of ordered dependencies if:
- Its dependencies are already in the ordered list, or
- Any of its depencies are not scheduled in that process request. In that case a warning will be logged
---
M src/org/openbravo/service/external/integration/process/ExternalSynchronizationProcess.java
---
|
|