You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many classes of the testing module, such as the HostInformation and Executor classes, rely on the inventory.yaml file to get information. This implementation makes the code complex. Accessing an in-memory structure will simplify the code and improve performance and reliability.
I suggest:
Implement an Inventory class that holds the information in the inventory.yaml.
Validate the existence of the inventory.yaml and create the Inventory instance.
All the functions that currently access the inventory file should be changed to access the Inventory instance.
rauldpm
changed the title
DTT1-Testing module. Convert the track.yaml file into an object when the module starts
DTT2 - Testing module. Convert the track.yaml file into an object when the module starts
Apr 26, 2024
Description
Many classes of the testing module, such as the HostInformation and Executor classes, rely on the
inventory.yaml
file to get information. This implementation makes the code complex. Accessing an in-memory structure will simplify the code and improve performance and reliability.I suggest:
inventory.yaml
.inventory.yaml
and create the Inventory instance.Related PR comment: comment
The text was updated successfully, but these errors were encountered: