Added InventoryDataBase class.
Now instead of Json file we save all information in dictionary, for the dictionary
design please have a look InventoryDataBase class description in uptane/services/inventorydb.py.
Modified save_vehicle_manifest() save_ecu_manifest(), get_vehicle_manifest() and get_ecu_manifest()
functions in order to store and get data from divtionary.
Added register_ecu() function which initialize dictionary. NOTE: you have to call this function
just after defining InventoryDataBase object.
Added InventoryDataBase class. Now instead of Json file we save all information in dictionary, for the dictionary design please have a look InventoryDataBase class description in uptane/services/inventorydb.py.
Modified save_vehicle_manifest() save_ecu_manifest(), get_vehicle_manifest() and get_ecu_manifest() functions in order to store and get data from divtionary.
Added register_ecu() function which initialize dictionary. NOTE: you have to call this function just after defining InventoryDataBase object.