9.5 AC-01 End-to-End¶
Sprint: Sprint 09 - Subscription and Onboarding Saga
Feature ID: 9.5
Subtasks: 9.5.1, 9.5.2
Objective¶
Deliver "AC-01 End-to-End" within Sprint 09 - Subscription and Onboarding Saga.
Dependencies¶
Aggregated from the subtasks below (prerequisite task IDs and enablers):
- 9.4.1
- 9.4.3
- 9.5.1
Subtasks¶
9.5.1 Welcome notification trigger¶
- ID: 9.5.1
- Title: Emit/handle welcome signal on subscription.activated.v1
- Description: Ensure
subscription.activated.v1carries the data needed for a welcome SMS; the notification-service consumer is built in Sprint 12, so here verify the event payload and a mock-log fallback proving the welcome step (AC-01 step 6). - Business Purpose: Welcome the new subscriber (AC-01 step 6).
- Inputs: AC-01, event-catalog.
- Outputs: Verified event payload + mock welcome log (pending Sprint 12 consumer).
- Acceptance Criteria:
subscription.activated.v1contains customer/MSISDN/tariff; a mock welcome log entry is produced in the absence of notification-service.- Dependencies: 9.4.1
- Complexity: S
9.5.2 AC-01 onboarding integration test¶
- ID: 9.5.2
- Title: End-to-end onboarding saga test (Testcontainers)
- Description: A multi-service Testcontainers test (Postgres, Kafka) driving register -> KYC approve -> order -> payment success -> activation -> order FULFILLED -> welcome signal, plus a failure variant exercising compensation.
- Business Purpose: Prove AC-01 end to end including compensation.
- Inputs: AC-01, Sprints 06/08/09.
- Outputs: AC-01 integration test (happy path + compensation).
- Acceptance Criteria:
- Happy path ends with order FULFILLED, an ACTIVE subscription, an allocated MSISDN, and a welcome signal; the failure path ends with order CANCELLED, refund issued, no MSISDN allocated.
- Dependencies: 9.4.3, 9.5.1
- Complexity: L
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¶
- Verified event payload + mock welcome log (pending Sprint 12 consumer).
- AC-01 integration test (happy path + compensation).
Definition of Done¶
- All subtasks (9.5.1, 9.5.2) completed and their acceptance criteria verified.
- All listed dependencies satisfied.
- Build and tests green per the global conventions in ../README.md (Section 3).