Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038503 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Modules] External Data Integration | minor | have not tried | 2018-05-08 17:04 | 2019-01-08 09:37 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | d29825e526f2 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | caristu | |||||||
Regression introduced in release | ||||||||
Summary | 0038503: Allow to define dependencies between EDL Requests | |||||||
Description | It would be very useful if there dependencies could be defined between EDL Requests. It would work like this: - EDL Requests A and B are created. B depends on A. Suppose that each EDL Request will result in two EDL Request Lines. - A and B are scheduled to be executed asynchronously - B will not be executed until of the EDL Request Lines of A have been processed This will be used by the Connector Infrastructure, to ensure that when exporting entities that have dependencies between them (i.e. Order depends on Business Partner), they will be exported in the proper order. | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0104337) hgbot (developer) 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 (developer) 2018-05-10 09:07 |
Repository: erp/pmods/org.openbravo.externaldata.integration Changeset: a562a797aa1af4c5bd88e8f0a9d57ba46abbdcc3 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Thu May 10 09:06:45 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/a562a797aa1af4c5bd88e8f0a9d57ba46abbdcc3 [^] related to issue 38503: add missing index to parent column --- M src-db/database/model/tables/OBEDL_REQUEST_DEPENDENCY.xml --- |
(0104847) caristu (manager) 2018-05-31 17:08 |
Found some minor code improvements. Reopened to check them. See: https://docs.google.com/spreadsheets/d/18l2biKWeG6iGDIPqO6VuYQ_TtP_6YxyQU4KSrPvQlJ8/edit#gid=0 [^] |
(0106665) hgbot (developer) 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 (developer) 2018-09-12 10:00 |
Repository: erp/pmods/org.openbravo.externaldata.integration Changeset: 60cd406aac03e4ab00e74b56bc86ac7dd69a8746 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Wed Sep 12 10:00:40 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/60cd406aac03e4ab00e74b56bc86ac7dd69a8746 [^] Related with issue 38503: Adds missing AD_ELEMENT changes --- M src-db/database/sourcedata/AD_ELEMENT.xml --- |
(0106921) hgbot (developer) 2018-09-21 10:00 |
Repository: erp/pmods/org.openbravo.externaldata.integration Changeset: 0cc65c870594efb9974f0fd013458d33a35f430f Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Fri Sep 21 09:59:30 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/0cc65c870594efb9974f0fd013458d33a35f430f [^] related to issue 38503: Don't execute addDependencies if the list is empty --- M src/org/openbravo/externaldata/integration/process/ProcessRequest.java --- |
(0106922) hgbot (developer) 2018-09-21 10:00 |
Repository: erp/pmods/org.openbravo.externaldata.integration Changeset: 40d395825d7aeffe1a1dc362613961c4ceef8cd9 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Fri Sep 21 09:59:47 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/40d395825d7aeffe1a1dc362613961c4ceef8cd9 [^] related to issue 38503: Update copyright year --- M src/org/openbravo/externaldata/integration/process/EDLImportEntryProcessor.java --- |
(0106923) caristu (manager) 2018-09-21 10:02 |
Code reviewed + tested OK |
(0108722) hgbot (developer) 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 --- |
Issue History | |||
Date Modified | Username | Field | Change |
2018-05-08 17:04 | AugustoMauch | New Issue | |
2018-05-08 17:04 | AugustoMauch | Assigned To | => AugustoMauch |
2018-05-08 19:06 | hgbot | Checkin | |
2018-05-08 19:06 | hgbot | Note Added: 0104337 | |
2018-05-08 19:06 | hgbot | Status | new => resolved |
2018-05-08 19:06 | hgbot | Resolution | open => fixed |
2018-05-08 19:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/8be5efcd1832d045af5e663017c36417794ec92f [^] |
2018-05-10 09:07 | hgbot | Checkin | |
2018-05-10 09:07 | hgbot | Note Added: 0104441 | |
2018-05-10 17:40 | AugustoMauch | Review Assigned To | => caristu |
2018-05-31 17:08 | caristu | Note Added: 0104847 | |
2018-05-31 17:08 | caristu | Status | resolved => new |
2018-05-31 17:08 | caristu | Resolution | fixed => open |
2018-05-31 17:16 | caristu | Issue cloned | 0038674 |
2018-09-10 10:24 | hgbot | Checkin | |
2018-09-10 10:24 | hgbot | Note Added: 0106647 | |
2018-09-10 10:24 | hgbot | Status | new => resolved |
2018-09-10 10:24 | hgbot | Resolution | open => fixed |
2018-09-10 10:24 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/8be5efcd1832d045af5e663017c36417794ec92f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/8bd0ca2a989c53d4df7556323cd8240618e725f5 [^] |
2018-09-10 13:23 | AugustoMauch | Note Deleted: 0106647 | |
2018-09-10 13:48 | hgbot | Checkin | |
2018-09-10 13:48 | hgbot | Note Added: 0106665 | |
2018-09-10 13:48 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/8bd0ca2a989c53d4df7556323cd8240618e725f5 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/8345b5da585e5bad8eaf71b0ec6723c953de66e2 [^] |
2018-09-12 10:00 | hgbot | Checkin | |
2018-09-12 10:00 | hgbot | Note Added: 0106697 | |
2018-09-21 10:00 | hgbot | Checkin | |
2018-09-21 10:00 | hgbot | Note Added: 0106921 | |
2018-09-21 10:00 | hgbot | Checkin | |
2018-09-21 10:00 | hgbot | Note Added: 0106922 | |
2018-09-21 10:02 | caristu | Note Added: 0106923 | |
2018-09-21 10:02 | caristu | Status | resolved => closed |
2018-11-23 11:56 | caristu | Relationship added | related to 0039687 |
2018-12-21 13:43 | hgbot | Checkin | |
2018-12-21 13:43 | hgbot | Note Added: 0108722 | |
2018-12-21 13:43 | hgbot | Status | closed => resolved |
2018-12-21 13:43 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/8345b5da585e5bad8eaf71b0ec6723c953de66e2 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/d29825e526f21e7d4772a48ed8aefc6d57f978a4 [^] |
2019-01-08 09:37 | AugustoMauch | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |