Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0049083Openbravo ERPA. Platformpublic2022-04-19 16:062023-06-30 10:37
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
PR22Q3 
Core
No
0049083: Push API: support multi-record events
It would be nice if the Push API would support events that can be triggered with information coming from multiple records.
.
No tags attached.
depends on feature request 0048579 closed caristu Openbravo ERP Push API 
depends on feature request 0049201 closed caristu Modules Support extending the InitializeEntitySynchronization to initialize extra records 
related to defect 0049331 closed caristu Modules Can save a data pool selection with a filter that does not belong to the selected entity mapping 
related to defect 0049646 closed caristu Modules It is possible to assign single record filters to multi-record events 
blocks defect 0048994 closed caristu Openbravo ERP Include Push API tests using mockito 
Issue History
2022-04-19 16:06caristuNew Issue
2022-04-19 16:06caristuAssigned To => Triage Platform Base
2022-04-19 16:06caristuModules => Core
2022-04-19 16:06caristuTriggers an Emergency Pack => No
2022-04-19 16:06caristuAssigned ToTriage Platform Base => Triage Platform Conn
2022-04-19 16:06caristuStatusnew => acknowledged
2022-04-19 16:06caristuRelationship addedrelated to 0048579
2022-04-19 17:37hgbotNote Added: 0136606
2022-04-19 17:42hgbotNote Added: 0136607
2022-04-22 12:15hgbotNote Added: 0136677
2022-04-22 12:20hgbotNote Added: 0136678
2022-04-22 12:21hgbotNote Added: 0136679
2022-04-22 12:42caristuAssigned ToTriage Platform Conn => caristu
2022-04-25 15:41ivancaceresIssue Monitored: ivancaceres
2022-04-28 10:39alostaleRelationship replaceddepends on 0048579
2022-04-28 10:41alostaleRelationship addeddepends on 0049127
2022-05-03 08:54caristuRelationship deleteddepends on 0049127
2022-05-03 17:45caristuRelationship addeddepends on 0049201
2022-05-09 14:00hgbotResolutionopen => fixed
2022-05-09 14:00hgbotStatusacknowledged => closed
2022-05-09 14:00hgbotFixed in Version => PR22Q3
2022-05-09 14:00hgbotNote Added: 0137074
2022-05-09 14:00hgbotNote Added: 0137075
2022-05-09 14:01hgbotNote Added: 0137076
2022-05-09 14:01hgbotNote Added: 0137077
2022-05-09 14:03hgbotNote Added: 0137078
2022-05-09 14:03hgbotNote Added: 0137079
2022-05-09 14:05hgbotNote Added: 0137080
2022-05-09 14:05hgbotNote Added: 0137081
2022-05-09 14:06hgbotNote Added: 0137082
2022-05-09 14:06hgbotNote Added: 0137083
2022-05-09 14:08hgbotNote Added: 0137084
2022-05-09 18:05hgbotNote Added: 0137098
2022-05-10 08:26hgbotNote Added: 0137107
2022-05-10 08:30hgbotNote Added: 0137108
2022-05-17 13:26caristuRelationship addedrelated to 0049331
2022-06-24 11:15caristuRelationship addedrelated to 0049646
2023-03-27 15:42caristuRelationship addedblocks 0048994
2023-06-30 10:37hgbotNote Added: 0151937

Notes
(0136606)
hgbot   
2022-04-19 17:37   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/564 [^]
(0136607)
hgbot   
2022-04-19 17:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/27 [^]
(0136677)
hgbot   
2022-04-22 12:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/40 [^]
(0136678)
hgbot   
2022-04-22 12:20   
Merge Request created: https://gitlab.com/openbravo/tools/platform/org.openbravo.events.business.tests/-/merge_requests/2 [^]
(0136679)
hgbot   
2022-04-22 12:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.core/-/merge_requests/4 [^]
(0137074)
hgbot   
2022-05-09 14:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: c4165f7df2630c30ceae27c51a50c877613f9484
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 09-05-2022 13:59:17
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c4165f7df2630c30ceae27c51a50c877613f9484 [^]

fixes ISSUE-49083: Push API - support multi-record events

---
A src-test/src/org/openbravo/synchronization/event/EventTriggeringTest.java
A src-test/src/org/openbravo/synchronization/event/TestEventTrigger.java
M src-test/src/org/openbravo/test/StandaloneTestSuite.java
M src/org/openbravo/synchronization/event/EventTrigger.java
M src/org/openbravo/synchronization/event/SynchronizationEvent.java
---
(0137075)
hgbot   
2022-05-09 14:00   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/564 [^]
(0137076)
hgbot   
2022-05-09 14:01   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/27 [^]
(0137077)
hgbot   
2022-05-09 14:01   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 12249fbfe88a10a26c417bc45e56a9d2d5c41926
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 09-05-2022 14:01:11
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/12249fbfe88a10a26c417bc45e56a9d2d5c41926 [^]

related to ISSUE-49083: Push API - support multi-record events

---
---
(0137078)
hgbot   
2022-05-09 14:03   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.core [^]
Changeset: 2f0a4b56f0fe1a853460cf516f2f072686ac9045
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 09-05-2022 14:02:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.core/-/commit/2f0a4b56f0fe1a853460cf516f2f072686ac9045 [^]

related to ISSUE-49083: Push API - support multi-record events

---
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/events/core/EventStore.java
---
(0137079)
hgbot   
2022-05-09 14:03   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.core/-/merge_requests/4 [^]
(0137080)
hgbot   
2022-05-09 14:05   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: c1bbc74ddaffb213f1b11f827146d185dc0ca868
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 09-05-2022 14:05:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/c1bbc74ddaffb213f1b11f827146d185dc0ca868 [^]

related to ISSUE-49083: Push API - support multi-record events

---
M src-db/database/sourcedata/CNC_PUBLIC_EVENTS.xml
M src/org/openbravo/retail/api/RetailApiExporter.java
---
(0137081)
hgbot   
2022-05-09 14:05   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/40 [^]
(0137082)
hgbot   
2022-05-09 14:06   
Repository: https://gitlab.com/openbravo/tools/platform/org.openbravo.events.business.tests [^]
Changeset: 540cc3b95b9ecf1c0c056b37ef8e76ddecb759ca
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 09-05-2022 14:06:22
URL: https://gitlab.com/openbravo/tools/platform/org.openbravo.events.business.tests/-/commit/540cc3b95b9ecf1c0c056b37ef8e76ddecb759ca [^]

related to ISSUE-49083: Push API - support multi-record events

---
A src-db/database/sourcedata/API_EXPORT_FILTER.xml
A src-db/database/sourcedata/API_EXPORT_FILTER_PARAM.xml
M src-db/database/sourcedata/CNC_PUBLIC_EVENTS.xml
---
(0137083)
hgbot   
2022-05-09 14:06   
Merge request merged: https://gitlab.com/openbravo/tools/platform/org.openbravo.events.business.tests/-/merge_requests/2 [^]
(0137084)
hgbot   
2022-05-09 14:08   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^]
Changeset: bedc0fcde5a1ae9ac33f7095ab3b932acc345fac
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 09-05-2022 14:08:19
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/bedc0fcde5a1ae9ac33f7095ab3b932acc345fac [^]

related to ISSUE-49083: Adapt to ApiExporter changes

---
M src-test/org/openbravo/api/tests/mappings/ApiMappingBaseTest.java
---
(0137098)
hgbot   
2022-05-09 18:05   
Repository: https://gitlab.com/openbravo/ci/backoffice-api [^]
Changeset: e5c159648850535ce978ccb657f321d0368fbc69
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 09-05-2022 18:04:57
URL: https://gitlab.com/openbravo/ci/backoffice-api/-/commit/e5c159648850535ce978ccb657f321d0368fbc69 [^]

related to ISSUE-49083: fix int-api job

---
M java/reference/java.japi.gz
---
(0137107)
hgbot   
2022-05-10 08:26   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata [^]
Changeset: c6df570fb163618751541d931f94f9a5439c1f70
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 10-05-2022 08:26:24
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/commit/c6df570fb163618751541d931f94f9a5439c1f70 [^]

related to ISSUE-49083: fix sampledata db consistency

---
M referencedata/sampledata/Retail_Test/AD_PROCESS_ACCESS.xml
M referencedata/sampledata/Retail_Test/AD_PROCESS_REQUEST.xml
---
(0137108)
hgbot   
2022-05-10 08:30   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: 5f51be33b5406e37b5f41c07875b1570c36c892d
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 10-05-2022 08:30:40
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/5f51be33b5406e37b5f41c07875b1570c36c892d [^]

related to ISSUE-49083: fix sampledata db consistency

---
M referencedata/sampledata/The_White_Valley_Group/AD_PROCESS_ACCESS.xml
M referencedata/sampledata/The_White_Valley_Group/AD_PROCESS_REQUEST.xml
---
(0151937)
hgbot   
2023-06-30 10:37   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 73b1cc7a32ce3626634451fcaffcd39d6fc3a837
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 30-06-2023 08:32:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/73b1cc7a32ce3626634451fcaffcd39d6fc3a837 [^]

related to FR-49083: adapt and add test for multi record events

---
M src-test/org/openbravo/api/edl/ApiEventItemProcessorTest.java
M src-test/org/openbravo/api/event/ApiEventEDLRequestCreatorTest.java
M src-test/org/openbravo/api/event/ApiEventRecordExporterTest.java
M src-test/org/openbravo/api/event/ApiEventTriggerTest.java
M src-test/org/openbravo/api/event/ApiSubscriptionResolverTest.java
---