-
Story
-
Resolution: Done
-
Normal
-
None
Describe the bug
The cost management UI details page gives a kebab option to View all price lists (which needs to change to cost models now). The backend can/should return the source uuid in the reports API data when grouping by cluster (for OpenShift) or account (for AWS/Azure). This way the UI can generate a link to the cost model that cluster/account is using.
To Reproduce
Steps to reproduce the behavior:
1. Go to https://cloud.redhat.com/cost-management/details/aws?group_by[account]=*&order_by[cost]=desc
2. Click on kebab
3. Click View all price lists
4. See undesirable page
Expected behavior
If the cluster/account is attached to a cost model the link should take them to the cost model. For the backend's part, we should deliver the UUID of the source so that the UI can link to the correct cost model.
Screenshots
Screen Shot 2020-04-22 at 11 32 44 AM
Additional considerations
Update to AWS, Azure, OpenShift, OpenShift on AWS/Azure/All daily summary models to include source uuid.
Update daily summary SQL for all of the above mentioned to add source UUID
Update provider maps to include source uuid.
- blocks
-
COST-255 View cost model rates in details pages
-
- Closed
-