Skip to content

2.6 Build and Verification

Sprint: Sprint 02 - Platform Core Libraries
Feature ID: 2.6
Subtasks: 2.6.1

Objective

Deliver "Build and Verification" within Sprint 02 - Platform Core Libraries.

Dependencies

Aggregated from the subtasks below (prerequisite task IDs and enablers):

  • 2.1.1
  • 2.1.2
  • 2.1.3
  • 2.2.1
  • 2.3.2
  • 2.3.3
  • 2.4.1
  • 2.5.1

Subtasks

2.6.1 platform-core unit tests and reactor build

  • ID: 2.6.1
  • Title: Add focused unit tests and verify the platform-core reactor
  • Description: Add unit tests for mediator ordering/short-circuit, outbox record building, inbox first-seen logic, and ApiResult/exception construction. Verify the core reactor builds.
  • Business Purpose: Lock in the platform contracts with regression tests before starters depend on them.
  • Inputs: PLATFORM-SPEC Section 11.
  • Outputs: Unit tests across the five core modules.
  • Acceptance Criteria:
  • mvn -q install -pl platform-bom,platform-core,platform-core/common,platform-core/cqrs,platform-core/mediator,platform-core/outbox,platform-core/inbox passes with tests green.
  • No platform-core module imports any Spring package (verified by a dependency/import check).
  • Dependencies: 2.1.1, 2.1.2, 2.1.3, 2.2.1, 2.3.2, 2.3.3, 2.4.1, 2.5.1
  • Complexity: M

Acceptance Criteria

Each subtask above carries its own objective, testable acceptance criteria. This feature is complete when every subtask's acceptance criteria are met.

Deliverables

  • Unit tests across the five core modules.

Definition of Done

  • All subtasks (2.6.1) completed and their acceptance criteria verified.
  • All listed dependencies satisfied.
  • Build and tests green per the global conventions in ../README.md (Section 3).