-
Story
-
Resolution: Done
-
Major
-
None
-
None
Create component test infrastructure to validate Tally Report API.
Tally Report API:
- Endpoint: /v1/tally/products/{productId}/{metricId}
- Example: https://console.redhat.com/api/rhsm-subscriptions/v1/tally/products/OpenShift%20Container%20Platform/Cores?ending=2026-01-15T23:59:59.999Z&granularity=Daily&beginning=2025-12-16T00:00:00.000Z
- Controller: TallyResource.java
- Repository: TallySnapshotRepository.java
- Table: tally_snapshots
Utilize PR: https://github.com/RedHatInsights/rhsm-subscriptions/pull/5511/files as a base example
AC:
- Test hourly/weekly granularity queries
- Test daily granularity queries with all filters filled out
- Test daily granularity queries with some filters filled out