Project

General

Profile

Actions

Development #7440

closed

Feature #7106: Product & Master Data Sync (M02)

Test master-data synchronization, recovery & diagnostics

Added by Kyle Chong 3 months ago. Updated 9 days ago.

Status:
Closed
Assignee:
Start date:
05/11/2026
Due date:
10/11/2026
% Done:

0%

Estimated time:
Complete Date:

Description

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

Perform end-to-end testing of the M02 synchronization architecture using Qube Admin Portal as the mock QubeBiz publisher.

Validate both flows:

Admin Portal → Kafka → Backend → Kafka → Cashier → Local DB

and

Admin Portal → Kafka → Backend → LAN → Cashier → Local DB

Test at minimum:

  • Add master data.
  • Update master data.
  • Delete/Deactivate master data.
  • Duplicate event.
  • Out-of-order event.
  • Invalid/malformed event.
  • Backend restart.
  • Cashier restart.
  • Kafka unavailable/reconnected.
  • LAN disconnected/reconnected.
  • Cashier offline and later reconnects.
  • Multiple Cashier terminals.
  • Initial Cashier bootstrap followed by delta sync.
  • Verify useful diagnostics are written when synchronization fails.

Done when: Add/Update/Delete changes are correctly reflected in Cashier through both supported transports, interruptions can recover without manual database repair, and failures provide sufficient diagnostics for troubleshooting.

Actions

Also available in: Atom PDF