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