-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
3
-
False
-
-
False
-
Impediment
-
subs-swatch-lightning
-
-
We need to remove a workaround filter that was added to the utilization summary validator to handle unexpected snapshot data.
Currently, UtilizationSummaryPayloadValidator includes a filter (lines 80-87) that enforces PAYG products to only accept HOURLY granularity and non-PAYG products to only accept DAILY granularity. This filter was necessary because swatch-tally was emitting snapshots for PAYG products with both HOURLY and DAILY granularity, when only HOURLY was expected for PAYG.
The root cause of this issue is being addressed in SWATCH-4322, which will fix swatch-tally to emit the correct granularity for each product type. Once SWATCH-4322 is deployed and verified, we can safely remove this filter entirely from UtilizationSummaryPayloadValidator.java.
Acceptance Criteria
- Update swatch-utilization to remove the mentioned filter and associated tests
- Add an IQE test if it does not exist yet to ensure that we don't process the DAILY snapshots for payg products
- blocks
-
SWATCH-4016 Deploy swatch-utilization into production
-
- Backlog
-
- duplicates
-
SWATCH-4334 Remove filter on DAILY granularity TallySummary messages in swatch-utilization for PAYG products
-
- Closed
-
- is blocked by
-
SWATCH-4322 Only emit HOURLY TallySummary for payg products
-
- In Progress
-