REFACTOR - Database logic
This commit is contained in:
@@ -646,7 +646,7 @@ echo "Validation request (first 200 chars):"
|
||||
head -c 200 "$VALIDATION_DATA_FILE"
|
||||
echo "..."
|
||||
|
||||
VALIDATION_RESPONSE=$(curl -s -w "\nHTTP_CODE:%{http_code}" -X POST "$API_BASE/api/v1/tenants/$TENANT_ID/sales/import/validate" \
|
||||
VALIDATION_RESPONSE=$(curl -s -w "\nHTTP_CODE:%{http_code}" -X POST "$API_BASE/api/v1/tenants/$TENANT_ID/sales/import/validate-json" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $ACCESS_TOKEN" \
|
||||
-d @"$VALIDATION_DATA_FILE")
|
||||
@@ -777,7 +777,7 @@ log_step "5.1. Testing basic dashboard functionality"
|
||||
# forecast request with proper schema
|
||||
FORECAST_REQUEST="{
|
||||
\"product_name\": \"pan\",
|
||||
\"forecast_date\": \"2025-08-02\",
|
||||
\"forecast_date\": \"2025-08-08\",
|
||||
\"forecast_days\": 1,
|
||||
\"location\": \"madrid_centro\",
|
||||
\"confidence_level\": 0.85
|
||||
|
||||
Reference in New Issue
Block a user