project-koku / nise

A tool for generating sample cost usage data for testing purposes
GNU Affero General Public License v3.0
9 stars 15 forks source link

[COST-3210/3211] AWS/Azure CCSP Data #420

Closed cgoodfred closed 1 year ago

cgoodfred commented 1 year ago

This change allows the generation of CCSP data for AWS/Azure.

For AWS marketplace generator, if the legal entity is Amazon Web Services, Inc then it will get the required data for us to associate it as CCSP Data. Testing:

For Azure, a new generator type was created, CCSPGenerator and it will generate CCSP matching data since VMGenerator does private offer data. Example (note the local folder samples should exist to use that as the bucket name, if you need help creating a static yaml and using it, please ask):

  1. nise report azure --azure-container-name samples --azure-report-name taco -s 2022-10-01
  1. Create koku sources with both of these source types and verify there are HCS generated files that matches the expected data. If you need help with step, please ask.
codecov[bot] commented 1 year ago

Codecov Report

Merging #420 (244c94e) into main (ed3c164) will increase coverage by 0.0%. The diff coverage is 89.7%.

@@          Coverage Diff          @@
##            main    #420   +/-   ##
=====================================
  Coverage   93.5%   93.5%           
=====================================
  Files         57      58    +1     
  Lines       4361    4385   +24     
  Branches     613     616    +3     
=====================================
+ Hits        4078    4102   +24     
- Misses       153     154    +1     
+ Partials     130     129    -1