Closed adberglund closed 5 years ago
:exclamation: No coverage uploaded for pull request base (
master@fb9a698
). Click here to learn what that means. The diff coverage is100%
.
@@ Coverage Diff @@
## master #469 +/- ##
========================================
Coverage ? 97.6%
========================================
Files ? 67
Lines ? 3800
Branches ? 405
========================================
Hits ? 3710
Misses ? 50
Partials ? 40
Impacted Files | Coverage Δ | |
---|---|---|
masu/database/ocp_rate_db_accessor.py | 100% <100%> (ø) |
|
masu/processor/ocp/ocp_report_charge_updater.py | 97.5% <100%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update fb9a698...0f62c67. Read the comment docs.
Summary
This is a corresponding PR for cost model APIs to use cost models to grab rates when calculating derived cost.
Testing
First created a new cost model using
Then summarized a set of nise generated OpenShift data for the month of June. Derived cost is calculated and the costs API returns the value.
A manual calculation using the rates gives the same derived cost