"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")
@@ -306,28 +306,84 @@ class SecurityOperations(Resource):
#
# To achieve this, we need to setup at config which domains or IPs are CAPIF-2e or CAPIF-2, and then we need to check if the domain or IP of the service is in the list.
# 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")