Add worker configuration section
[e-mobility-charging-stations-simulator.git] / src / assets / config-template.json
index 0267c1a7fc294d83dd5ff684ea7734d2523c621d..51def2914a4144ecd8e3da819aceecd7c2be0d0e 100644 (file)
@@ -1,16 +1,17 @@
 {
-  "supervisionURLs": [
-    "ws://localhost:8010/OCPP16/5be7fb271014d90008992f06"
-  ],
-  "distributeStationsToTenantsEqually": true,
+  "supervisionUrls": ["ws://localhost:8010/OCPP16/5be7fb271014d90008992f06"],
+  "supervisionUrlDistribution": "round-robin",
+  "worker": {
+    "processType": "workerSet",
+    "elementsPerWorker": 1,
+    "poolMinSize": 4,
+    "poolMaxSize": 16
+  },
   "performanceStorage": {
-    "enabled": true
+    "enabled": true,
+    "type": "jsonfile"
   },
-  "chargingStationsPerWorker": 1,
-  "workerProcess": "workerSet",
-  "workerPoolMinSize": 4,
-  "workerPoolMaxSize": 16,
-  "stationTemplateURLs": [
+  "stationTemplateUrls": [
     {
       "file": "siemens.station-template.json",
       "numberOfStations": 1
@@ -34,6 +35,5 @@
   ],
   "logStatisticsInterval": 0,
   "logFile": "combined.log",
-  "logErrorFile": "error.log",
-  "logConsole": false
+  "logErrorFile": "error.log"
 }