Fixes to OCA OCPP 2.0.1 JSON schemas
[e-mobility-charging-stations-simulator.git] / src / assets / config-template.json
index 4520a2d49fed76f6c21143dd08c4f96551154c2c..e1620aa7c899a071171eda539565f679ddb701b2 100644 (file)
@@ -1,16 +1,26 @@
 {
-  "supervisionUrls": [
-    "ws://localhost:8010/OCPP16/5be7fb271014d90008992f06"
-  ],
-  "supervisionUrlDistribution": "sequential",
+  "supervisionUrls": ["ws://localhost:8010/OCPP16/5be7fb271014d90008992f06"],
+  "supervisionUrlDistribution": "round-robin",
+  "worker": {
+    "processType": "workerSet",
+    "elementsPerWorker": 1,
+    "poolMinSize": 4,
+    "poolMaxSize": 16
+  },
   "performanceStorage": {
     "enabled": true,
     "type": "jsonfile"
   },
-  "chargingStationsPerWorker": 1,
-  "workerProcess": "workerSet",
-  "workerPoolMinSize": 4,
-  "workerPoolMaxSize": 16,
+  "uiServer": {
+    "enabled": false,
+    "type": "ws",
+    "authentication": {
+      "enabled": true,
+      "type": "basic-auth",
+      "username": "admin",
+      "password": "admin"
+    }
+  },
   "stationTemplateUrls": [
     {
       "file": "siemens.station-template.json",
@@ -34,6 +44,7 @@
     }
   ],
   "logStatisticsInterval": 0,
+  "logMaxFiles": 7,
   "logFile": "combined.log",
   "logErrorFile": "error.log"
 }