Project

General

Profile

Development #7108

Updated by Kyle Chong 3 months ago

Refer to: docs/planning/modules/M02_Product_Data_Sync.md 

 Use Qube Admin Portal as Product & Master Data Sync (M02) (docs/planning/modules/M02_Product_Data_Sync.md). Build the temporary/mock upstream master-data source so POS+ development can proceed without waiting for QubeBiz integration. 

 Scope: 

 * Provide test functions to Add, Update setup screen that shows package identity, verification result, installation progress, current change version and Delete/Deactivate master data. 
 * Generate the corresponding M02 master-data event. 
 * Publish the event to the configured Kafka topic. 
 * Allow selection/input of relevant test data such as Product, Price, Category or other supported master data. 
 * Display/log publishing success or failure. 
 * Ensure published messages follow the agreed M02 event contract. 

 Example flow: 

 *Admin Portal → Add Product → Publish CREATE Event → Kafka 

 Admin Portal → Update Product → Publish UPDATE Event → Kafka 

 Admin Portal → Delete Product → Publish DELETE Event → Kafka* 

 catch-up state. Keep POS read-only until snapshot and initial delta catch-up succeed. Done when: Developers when store staff can use Admin Portal to simulate upstream master-data changes and publish valid events for Backend testing. see why activation is blocked.

Back