Improve impact mode (boaviztapi/model/impact.py)l. All the assets keep the impacts as an attribute once they have been calculated. Performance is significantly improved in the event of a verbose call (which would lead to impacts being recalculated).
Fixed a bug I discovered by accident: power consumption was modelled for one component unit. Consumption was only multiplied by the number of components when calculating impacts at device level. The consumption of the component now reflects the consumption of all the units.
TODO
Complete the file /data/archetypes/cloud/aws.csv with the new format done by @samuelrince
Complete the /data/archetypes/server.csv file with the platforms mentioned in the aws.csv file done by @samuelrince
Complete the /data/archetypes/server.csv file with finer-grained generic servers done by @samuelrince
Rewriting tests for the cloud done by @da-ekchajzer
~~ Update cloud documentation~~ done by @da-ekchajzer see #250
This PR follows this discussion : https://github.com/Boavizta/boaviztapi/issues/252
Improvements
TODO
Complete the file /data/archetypes/cloud/aws.csv with the new formatdone by @samuelrinceComplete the /data/archetypes/server.csv file with the platforms mentioned in the aws.csv filedone by @samuelrinceComplete the /data/archetypes/server.csv file with finer-grained generic serversdone by @samuelrinceRewriting tests for the clouddone by @da-ekchajzerCreate documentation on adding new instances (see https://github.com/Boavizta/boaviztapi/pull/250)done by @da-ekchajzer see #250