feat: allow to provision number of stations by template
[e-mobility-charging-stations-simulator.git] / src / assets / config-template.json
index b3085a7c3af0d0a87046731c06e7daa93f0dd3bf..943e9c5b2c4998b556c614eb80714666e5afbf4c 100644 (file)
@@ -1,36 +1,50 @@
 {
-  "supervisionURLs": [
-    "ws://localhost:8010/OCPP16/5be7fb271014d90008992f06"
-  ],
-  "autoReconnectTimeout": 10,
-  "autoReconnectMaxRetries": 10,
-  "statisticsDisplayInterval": 60,
-  "distributeStationToTenantEqually": true,
-  "useWorkerPool": false,
-  "workerPoolSize": 16,
-  "stationTemplateURLs": [
+  "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,
+    "type": "none"
+  },
+  "uiServer": {
+    "enabled": false,
+    "type": "ws",
+    "authentication": {
+      "enabled": true,
+      "type": "protocol-basic-auth",
+      "username": "admin",
+      "password": "admin"
+    }
+  },
+  "stationTemplateUrls": [
     {
-      "file": "./src/assets/station-templates/siemens.station-template.json",
+      "file": "siemens.station-template.json",
       "numberOfStations": 1
     },
     {
-      "file": "./src/assets/station-templates/keba.station-template.json",
-      "numberOfStations": 2
+      "file": "keba.station-template.json",
+      "numberOfStations": 2,
+      "provisionedNumberOfStations": 2
     },
     {
-      "file": "./src/assets/station-templates/abb.station-template.json",
+      "file": "abb.station-template.json",
       "numberOfStations": 2
     },
     {
-      "file": "./src/assets/station-templates/evlink.station-template.json",
+      "file": "evlink.station-template.json",
       "numberOfStations": 4
     },
     {
-      "file": "./src/assets/station-templates/schneider.station-template.json",
+      "file": "schneider.station-template.json",
       "numberOfStations": 1
     }
-  ],
-  "logFile": "combined.log",
-  "logErrorFile": "error.log",
-  "logConsole": false
+  ]
 }