Add base kubernetes support 5

This commit is contained in:
Urtzi Alfaro
2025-09-27 22:55:42 +02:00
parent f246381d34
commit b95ecf1c53
9 changed files with 274 additions and 43 deletions

View File

@@ -760,9 +760,9 @@ class InventoryService:
# Add business validation logic here
if ingredient_data.reorder_point <= ingredient_data.low_stock_threshold:
raise ValueError("Reorder point must be greater than low stock threshold")
if ingredient_data.requires_freezing and ingredient_data.requires_refrigeration:
raise ValueError("Item cannot require both freezing and refrigeration")
# Storage requirements validation moved to stock level (not ingredient level)
# This is now handled in stock creation/update validation
# Add more validations as needed
pass