Skip to content

10.2 Quota Provisioning

Sprint: Sprint 10 - Usage Metering
Feature ID: 10.2
Subtasks: 10.2.1

Objective

Deliver "Quota Provisioning" within Sprint 10 - Usage Metering.

Dependencies

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

  • 10.1.2
  • 9.3.1

Subtasks

10.2.1 Provision quota on subscription activation

  • ID: 10.2.1
  • Title: Consume subscription.activated.v1 to create a quota period
  • Description: Idempotent (inbox) consumer of subscription.activated.v1 that creates the current period quota from the tariff allowances (minutes/sms/mb) snapshot. Roll a new period at period end.
  • Business Purpose: Establish the balance to meter against (FR-17, FR-18).
  • Inputs: event-catalog subscription.activated.v1, FR-18.
  • Outputs: Quota-provisioning consumer.
  • Acceptance Criteria:
  • Activation creates a quota for the current period with totals from the tariff; the consumer is idempotent.
  • Dependencies: 10.1.2, 9.3.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

  • Quota-provisioning consumer.

Definition of Done

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