celaut-project / nodo

Service Orchestration for Distributed Networks
1 stars 0 forks source link

Invalid service_id extracted from metadata on build.py #24

Open jse07 opened 4 months ago

jse07 commented 4 months ago

Line 101 - src/builder/build.py - main::17d2a12b64624c104223db3798f6fca4fea5b39b

The following line was commented out: with open(f"{REGISTRY}{get_service_hex_main_hash(metadata=metadata)}/_.json", 'r') as f: # TODO verify: why wasn't the service_id being used?

The get_service_hex_main_hash function is not retrieving the correct hash (it does not match the service_id), whereas the service_id should be derived from the metadata in the find_service_hash() function within abstract_service_iterable.py.

Please investigate the reason.