feat: allow to provision number of stations by template
[e-mobility-charging-stations-simulator.git] / src / assets / config-template.json
index 7bee3ccd3ac914ba725cd397d469571662011cba..943e9c5b2c4998b556c614eb80714666e5afbf4c 100644 (file)
@@ -1,15 +1,29 @@
 {
-  "supervisionUrls": [
-    "ws://localhost:8010/OCPP16/5be7fb271014d90008992f06"
-  ],
-  "distributeStationsToTenantsEqually": true,
+  "supervisionUrls": ["ws://localhost:8010/OCPP16/5be7fb271014d90008992f06"],
+  "supervisionUrlDistribution": "round-robin",
+  "log": {
+    "file": "logs/combined.log",
+    "errorFile": "logs/error.log",
+    "maxFiles": 7,
+    "statisticsInterval": 0
+  },
+  "worker": {
+    "processType": "workerSet"
+  },
   "performanceStorage": {
-    "enabled": true
+    "enabled": true,
+    "type": "none"
+  },
+  "uiServer": {
+    "enabled": false,
+    "type": "ws",
+    "authentication": {
+      "enabled": true,
+      "type": "protocol-basic-auth",
+      "username": "admin",
+      "password": "admin"
+    }
   },
-  "chargingStationsPerWorker": 1,
-  "workerProcess": "workerSet",
-  "workerPoolMinSize": 4,
-  "workerPoolMaxSize": 16,
   "stationTemplateUrls": [
     {
       "file": "siemens.station-template.json",
@@ -17,7 +31,8 @@
     },
     {
       "file": "keba.station-template.json",
-      "numberOfStations": 2
+      "numberOfStations": 2,
+      "provisionedNumberOfStations": 2
     },
     {
       "file": "abb.station-template.json",
@@ -31,8 +46,5 @@
       "file": "schneider.station-template.json",
       "numberOfStations": 1
     }
-  ],
-  "logStatisticsInterval": 0,
-  "logFile": "combined.log",
-  "logErrorFile": "error.log"
+  ]
 }