From fce5ec6ea8dc3be0f3cdee70764800e37f8d43ea Mon Sep 17 00:00:00 2001 From: Diamantis Sellis Date: Fri, 30 Jan 2026 15:03:33 +0100 Subject: [PATCH 1/3] fix: defaultValue is expected as string --- API/v5/wa-vela-dev/Solution.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/API/v5/wa-vela-dev/Solution.yaml b/API/v5/wa-vela-dev/Solution.yaml index 68d3414..97d2ff3 100644 --- a/API/v5/wa-vela-dev/Solution.yaml +++ b/API/v5/wa-vela-dev/Solution.yaml @@ -16,19 +16,19 @@ parameters: fr: 'Stock' en: 'Stock' varType: 'int' - defaultValue: 100 + defaultValue: '100' - id: 'restock_qty' labels: fr: 'Restock' en: 'Restock' varType: 'int' - defaultValue: 25 + defaultValue: '25' - id: 'nb_waiters' labels: fr: 'Serveurs' en: 'Waiters' varType: 'int' - defaultValue: 5 + defaultValue: '5' - id: 'currency' labels: fr: 'Symbole de la monnaie' @@ -78,7 +78,7 @@ parameters: fr: 'Valeur' en: 'Value' varType: 'number' - defaultValue: 1000 + defaultValue: '1000' additionalData: tooltipText: fr: 'Choisissez une valeur' @@ -121,7 +121,7 @@ parameters: varType: 'number' minValue: 0 maxValue: 10 - defaultValue: 3 + defaultValue: '3' additionalData: subType: 'SLIDER' tooltipText: @@ -144,7 +144,7 @@ parameters: fr: 'Tables additionnelles' en: 'Additional tables' varType: 'number' - defaultValue: 3 + defaultValue: '3' minValue: -150 maxValue: 12000 additionalData: @@ -379,7 +379,7 @@ parameters: fr: Stock en: Stock varType: string - defaultValue: 100 + defaultValue: '100' - id: 'countries' labels: fr: 'Pays' @@ -459,25 +459,25 @@ parameters: fr: Réapprovisionnement en: Restock varType: string - defaultValue: 25 + defaultValue: '25' - id: etl_param_num_waiters labels: fr: Serveurs en: Waiters varType: string - defaultValue: 5 + defaultValue: '5' - id: etl_param_tables_count labels: fr: Nombre de tables en: Number of tables varType: string - defaultValue: 10 + defaultValue: '10' - id: etl_param_customers_count labels: fr: Nombre de clients en: Number of customers varType: string - defaultValue: 50 + defaultValue: '50' - id: etl_param_locale labels: fr: Localisation des noms générés @@ -489,13 +489,13 @@ parameters: fr: Satisfaction en: Satisfaction varType: string - defaultValue: 0 + defaultValue: '0' - id: etl_param_surrounding_satisfaction labels: fr: Satisfaction de l'entourage en: Surrounding satisfaction varType: string - defaultValue: 0 + defaultValue: '0' - id: etl_param_thirsty labels: fr: Soif initiale From 29e17e27a61648f1165775550e80009520f6f3f1 Mon Sep 17 00:00:00 2001 From: Diamantis Sellis Date: Fri, 30 Jan 2026 15:14:20 +0100 Subject: [PATCH 2/3] fix: unquoted false is a boolean in yaml --- API/v5/wa-vela-dev/Solution.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/API/v5/wa-vela-dev/Solution.yaml b/API/v5/wa-vela-dev/Solution.yaml index 97d2ff3..168b9d4 100644 --- a/API/v5/wa-vela-dev/Solution.yaml +++ b/API/v5/wa-vela-dev/Solution.yaml @@ -88,7 +88,7 @@ parameters: fr: 'Activer la monnaie' en: 'Enable currency' varType: 'bool' - defaultValue: false + defaultValue: 'false' additionalData: tooltipText: fr: 'Activez la monnaie' @@ -156,7 +156,7 @@ parameters: en: 'Activated' fr: 'Activé' varType: 'bool' - defaultValue: false + defaultValue: 'false' - id: 'evaluation' labels: fr: 'Evaluation' From e49ea782dd8ea18466beed28eba87d539467248f Mon Sep 17 00:00:00 2001 From: Diamantis Sellis Date: Fri, 30 Jan 2026 15:19:06 +0100 Subject: [PATCH 3/3] fix: min and maxValues are also expected as strings --- API/v5/wa-vela-dev/Solution.yaml | 34 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/API/v5/wa-vela-dev/Solution.yaml b/API/v5/wa-vela-dev/Solution.yaml index 168b9d4..32011fb 100644 --- a/API/v5/wa-vela-dev/Solution.yaml +++ b/API/v5/wa-vela-dev/Solution.yaml @@ -119,8 +119,8 @@ parameters: fr: 'Consommation moyenne' en: 'Average consumption' varType: 'number' - minValue: 0 - maxValue: 10 + minValue: '0' + maxValue: '10' defaultValue: '3' additionalData: subType: 'SLIDER' @@ -132,9 +132,9 @@ parameters: fr: 'Sièges additionnels' en: 'Additional seats' varType: 'number' - defaultValue: -4 - minValue: -600 - maxValue: 2500 + defaultValue: '-4' + minValue: '-600' + maxValue: '2500' additionalData: tooltipText: fr: 'La valeur peut être comprise entre -600 et 2500' @@ -145,8 +145,8 @@ parameters: en: 'Additional tables' varType: 'number' defaultValue: '3' - minValue: -150 - maxValue: 12000 + minValue: '-150' + maxValue: '12000' additionalData: tooltipText: fr: 'La valeur peut être comprise entre -150 et 12000' @@ -252,8 +252,8 @@ parameters: - field: 'age' type: - 'int' - minValue: 0 - maxValue: 120 + minValue: '0' + maxValue: '120' acceptsEmptyFields: true - headerName: 'consumption' children: @@ -279,8 +279,8 @@ parameters: - field: 'height' type: - 'number' - minValue: 0 - maxValue: 2.5 + minValue: '0' + maxValue: '2.5' acceptsEmptyFields: true dateFormat: 'dd/MM/yyyy' tooltipText: @@ -323,8 +323,8 @@ parameters: - field: 'reservationsNumber' type: - 'int' - minValue: 0 - maxValue: 300 + minValue: '0' + maxValue: '300' acceptsEmptyFields: true - field: 'online' type: @@ -349,15 +349,15 @@ parameters: headerName: 'Satisfaction' type: - 'int' - minValue: 0 - maxValue: 10 + minValue: '0' + maxValue: '10' acceptsEmptyFields: true - field: 'SurroundingSatisfaction' headerName: 'Surrounding satisfaction' type: - 'int' - minValue: 0 - maxValue: 10 + minValue: '0' + maxValue: '10' acceptsEmptyFields: true - field: 'Thirsty' headerName: 'Thirsty'