"Not found service with this interface description: "+json.dumps(clean_empty(service_instance.interface_details.to_dict())))
"Not found service with this interface description: "+json.dumps(clean_empty(service_instance.interface_details.to_dict())))
returnnot_found_error(detail=f"Service with interfaceDescription {json.dumps(clean_empty(service_instance.interface_details.to_dict()))} not found",cause="Not found Service")
returnnot_found_error(detail=f"Service with interfaceDescription {json.dumps(clean_empty(service_instance.interface_details.to_dict()))} not found",cause="Not found Service")
# If not, inherit the methods from the profile (if any)
elifprofile_methods:
interface_methods.update(profile_methods)
# After processing all interfaces, use the combined set
valid_security_methods.update(interface_methods)
else:
current_app.logger.debug("No interfaces found in AEF profile.")
returnnot_found_error(detail=f"Service with interfaceDescription {json.dumps(clean_empty(service_instance.interface_details.to_dict()))} not found",cause="Not found Service")