Project

General

Profile

Actions

Development #7878

open

Feature #7082: Backend Server (M22)

Test Backend Server end-to-end

Added by Kyle Chong 3 months ago.

Status:
New
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Complete Date:

Description

Refer to:

  • docs/planning/01_Architecture.md
  • docs/planning/08_Store_Provisioning_and_Master_Data_Sync.md
  • applicable POS+ module MDs

Perform end-to-end testing of the complete Backend Server flow.

Cover at minimum:

Installation

  • Fresh machine installation.
  • Docker unavailable.
  • Docker installed but stopped.
  • Firebird container creation.
  • Backend restart.
  • PC/server restart.
  • Verify Firebird 5.1 Docker and existing Firebird 2.5 coexist.

QubeBiz → Backend

  • Initial master snapshot.
  • Delta update.
  • Duplicate delta.
  • Invalid/incomplete update.
  • QubeBiz unavailable.
  • Recovery after reconnect.

Backend → Cashier

  • New Cashier initial sync.
  • Delta sync.
  • Multiple Cashiers.
  • Cashier offline.
  • Cashier reconnect.
  • Snapshot validation/recovery.

Kafka / LAN

  • Normal communication.
  • Kafka unavailable.
  • LAN communication.
  • Communication interruption.
  • Queued messages.
  • Recovery.
  • Duplicate-message prevention.

Cashier → Backend

  • Completed sale.
  • Refund/Void.
  • Cash Movement.
  • Shift/EOD.
  • Duplicate transaction message.
  • Backend temporarily unavailable.
  • Verify Cashier transaction is eventually received once communication recovers.

Backend → Upstream

  • Normal transaction synchronization.
  • Internet/QubeBiz unavailable.
  • Large pending backlog.
  • Reconnect and automatic retry.
  • Verify no duplicate upstream transactions.

Other Services

  • Licence validation.
  • Application update.
  • E-Invoice request.
  • E-Invoice offline/retry.
  • 7-year/history query behaviour.

Dashboard

  • Backend health.
  • Firebird/Docker status.
  • Licence status.
  • Cashier status.
  • Application version.
  • Master-data sync.
  • Kafka/LAN messages.
  • Transaction backlog.
  • Failed messages.
  • E-Invoice status.

Done when: Backend Server can operate as the reliable store-level middle layer between QubeBiz and multiple Cashier terminals, survive connectivity/service interruptions, retain store data and provide sufficient monitoring for support.

No data to display

Actions

Also available in: Atom PDF