Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052614 | Openbravo ERP | A. Platform | public | 2023-05-30 18:29 | 2024-07-04 11:33 |
|
Reporter | cberner | |
Assigned To | cberner | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR23Q4 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0052614: There should be a mechanism to have non-blocking async EDL Requests |
Description | Currently all async EDL requests block at least a Import Entry thread and a DB connection, to better use the resources, the generated IE should unblock the thread until the request or processing finishes, and when finished, it should mark the corresponding DB records with the proper status.
A functional and technical design have been prepared for this project:
- Functional design: https://docs.google.com/document/d/1J4pViMYbAqsCJwURGtG3zfub2pttz62n63EVj-sWgcE/edit# [^]
- Technical design: https://docs.google.com/document/d/11IStWu--gxJlyVio3rKT7mfMgM01WSYmn6nkSfajSNY/edit# [^] |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0053816 | | closed | caristu | Modules | EDL process is duplicating request lines | causes | defect | 0053639 | | closed | cberner | Openbravo ERP | EDL in initial or processing state indefinitely when role has no access to Import Entry table | causes | defect | 0053742 | | closed | cberner | Openbravo ERP | NullPointerException thrown in EDL in unhandled exception cases | causes | defect | 0053774 | | closed | caristu | Openbravo ERP | RO pool is not closed by IE threads | causes | defect | 0053784 | | closed | cberner | Openbravo ERP | failed non-blocking EDL requests remain in Initial status | causes | backport | 0053749 | PR23Q4 | closed | cberner | Openbravo ERP | EDL in initial or processing state indefinitely when role has no access to Import Entry table |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2023-05-30 18:29 | cberner | New Issue | |
2023-05-30 18:29 | cberner | Assigned To | => cberner |
2023-05-30 18:29 | cberner | OBNetwork customer | => No |
2023-05-30 18:29 | cberner | Modules | => Core |
2023-05-30 18:29 | cberner | Triggers an Emergency Pack | => No |
2023-06-14 17:06 | hgbot | Merge Request Status | => open |
2023-06-14 17:06 | hgbot | Note Added: 0151165 | |
2023-06-20 14:28 | hgbot | Note Added: 0151378 | |
2023-08-04 15:11 | hgbot | Note Added: 0153250 | |
2023-08-18 15:16 | hgbot | Merge Request Status | open => approved |
2023-08-21 15:30 | hgbot | Resolution | open => fixed |
2023-08-21 15:30 | hgbot | Status | new => closed |
2023-08-21 15:30 | hgbot | Fixed in Version | => PR23Q4 |
2023-08-21 15:30 | hgbot | Note Added: 0153739 | |
2023-08-21 15:30 | hgbot | Note Added: 0153740 | |
2023-08-21 15:30 | hgbot | Note Added: 0153741 | |
2023-08-21 15:30 | hgbot | Note Added: 0153742 | |
2023-08-21 15:30 | hgbot | Note Added: 0153743 | |
2023-08-21 15:30 | hgbot | Note Added: 0153744 | |
2023-08-21 16:01 | hgbot | Note Added: 0153745 | |
2023-08-21 16:28 | hgbot | Note Added: 0153750 | |
2023-08-21 17:06 | hgbot | Note Added: 0153751 | |
2023-08-22 13:58 | hgbot | Note Added: 0153791 | |
2023-08-22 13:58 | hgbot | Note Added: 0153792 | |
2023-10-24 16:14 | cberner | Relationship added | causes 0053639 |
2023-10-24 16:14 | cberner | Relationship added | causes 0053742 |
2023-10-26 17:17 | rafaroda | Relationship added | related to 0053774 |
2023-10-26 18:05 | caristu | Relationship deleted | related to 0053774 |
2023-10-26 18:06 | caristu | Relationship added | causes 0053774 |
2023-10-27 10:11 | alostale | Relationship added | causes 0053784 |
2023-10-27 10:26 | AugustoMauch | Relationship added | causes 0053749 |
2023-11-10 09:11 | caristu | Relationship added | related to 0053816 |
2023-11-10 09:13 | caristu | Relationship deleted | related to 0053816 |
2023-11-10 09:14 | caristu | Relationship added | related to 0053816 |
2024-07-04 11:33 | eugeni | Issue Monitored: eugeni | |
Notes |
|
(0151165)
|
hgbot
|
2023-06-14 17:06
|
|
|
|
(0151378)
|
hgbot
|
2023-06-20 14:28
|
|
|
|
(0153250)
|
hgbot
|
2023-08-04 15:11
|
|
|
|
(0153739)
|
hgbot
|
2023-08-21 15:30
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 03fa452e48c60b06e2f1a70f29a093bbf07004d0
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 21-08-2023 15:27:39
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/03fa452e48c60b06e2f1a70f29a093bbf07004d0 [^]
Fixes FR-52614: Support non-blocking Import Entries and EDLs
Adds support for a new type of import entry and infrastructure for
external systems to handle non-blocking processing. The non-blocking
processing is performed through CompletableFuture's API, which allows
executing methods after the CompletableFuture has been resolved.
---
A src/org/openbravo/service/NonBlockingExecutorServiceProvider.java
A src/org/openbravo/service/importprocess/NonBlockingImportEntryProcessRunnable.java
M src-db/database/model/tables/C_IMPORT_ENTRY.xml
M src-db/database/model/tables/C_IMPORT_ENTRY_ARCHIVE.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/service/externalsystem/http/HttpExternalSystem.java
M src/org/openbravo/service/importprocess/ImportEntryBuilder.java
M src/org/openbravo/service/importprocess/ImportEntryManager.java
M src/org/openbravo/service/importprocess/ImportEntryProcessor.java
---
|
|
|
(0153740)
|
hgbot
|
2023-08-21 15:30
|
|
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration [^]
Changeset: 3814f42dd715096570c6d519a63e77fb9ebb2738
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 21-08-2023 15:22:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/commit/3814f42dd715096570c6d519a63e77fb9ebb2738 [^]
Related to FR-52614: Support non-blocking EDLs
Adds support for a new type of EDL, non-blocking, which allows not
awaiting the response of some EDLs, like for example external http
requests. This allows processing asynchronously while also freeing
resources, both DB and CPU wise.
---
A src-test/org/openbravo/externaldata/integration/process/AsynchronousProcessorTest.java
A src/org/openbravo/externaldata/integration/process/NonBlockingAfterBatch.java
A src/org/openbravo/externaldata/integration/process/NonBlockingBeforeBatch.java
M src/org/openbravo/externaldata/integration/process/AsynchronousProcessor.java
M src/org/openbravo/externaldata/integration/process/EDLImportEntryProcessor.java
M src/org/openbravo/externaldata/integration/process/ItemProcessor.java
M src/org/openbravo/externaldata/integration/process/ProcessRequest.java
---
|
|
|
(0153741)
|
hgbot
|
2023-08-21 15:30
|
|
|
|
(0153742)
|
hgbot
|
2023-08-21 15:30
|
|
|
|
(0153743)
|
hgbot
|
2023-08-21 15:30
|
|
|
|
(0153744)
|
hgbot
|
2023-08-21 15:30
|
|
|
|
(0153745)
|
hgbot
|
2023-08-21 16:01
|
|
|
|
(0153750)
|
hgbot
|
2023-08-21 16:28
|
|
|
|
(0153751)
|
hgbot
|
2023-08-21 17:06
|
|
|
|
(0153791)
|
hgbot
|
2023-08-22 13:58
|
|
|
|
(0153792)
|
hgbot
|
2023-08-22 13:58
|
|
|