-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
In order to update individual billable usage records when an aggregate fails or succeeds...
Add a new topic named `platform.rhsm-subscriptions.billable-usage.status`
Add a listener for this topic which expects BillableUsageAggregate messages.
The listener will update all billable usage IDs for an aggregate with that aggregate's `status`, `error_code` and `billed_on`. Status codes & error codes are defined in SWATCH-2287
Done:
- BillableUsageAggregate received updates all affected billable usage UUID records.
- Dev to provide the SQL that can be used for testing purposes.
- This card requires manual verification in the database until
SWATCH-2290. - Topic is created in stage & production & the hash for the topic creation image has been updated for prod.
- depends on
-
SWATCH-2288 Capture billable usage uuids in billable usage hourly aggregates
- Closed
-
SWATCH-2287 Add properties to billable usage remittance DB records
- Closed
- is depended on by
-
SWATCH-2290 Have swatch-producer-aws emit status
- Closed