Closed cgoodfred closed 3 years ago
Merging #347 (626c287) into master (f32bd80) will increase coverage by
0.0%
. The diff coverage is94.4%
.
@@ Coverage Diff @@
## master #347 +/- ##
======================================
Coverage 93.7% 93.8%
======================================
Files 47 48 +1
Lines 3501 3572 +71
Branches 481 491 +10
======================================
+ Hits 3281 3349 +68
- Misses 123 125 +2
- Partials 97 98 +1
This PR is to address creation of ymls for GCP data through nise.
Testing: Create a nise yaml for gcp data with:
nise yaml gcp -o gcp_yml_test.yml
Then create the data for the yml through nise:nise report gcp --static-report-file gcp_yml_test.yml --gcp-bucket-name <output-folder-name>
It is a good idea to test that the data loads into koku properly as well, but nise generation has been tested a lot so not required.
A sample config file is located here:
nise/yaml_generators/static/gcp_generator_config.yml
which can be changed and used to create large datasets by changing the number of generators, create a yaml using the generator with:nise yaml gcp -o gcp_big_yml_test.yml -c nise/yaml_generators/static/gcp_generator_config.yml
Then create the data for the yml through nise:nise report gcp --static-report-file gcp_big_yml_test.yml --gcp-bucket-name <output-folder-name>