From 9e0845f73d9a2f267e1b34d0a2b06220c9d71f23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 5 Oct 2022 10:40:42 +0200 Subject: [PATCH] Run 'npm run format' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- CHANGELOG.md | 6 +++--- README.md | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4305258..88f0b31e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,7 +83,7 @@ - Only delete the request directly from the cache when needed at response [`a42e002`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/a42e0024999e5998072d543a0b427ec2580cc6a5) - Refine type definitions [`284900b`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/284900bc037b44fa562795ccc47b3837a25bbb13) - Align some types definition in UI [`36999e7`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/36999e7745b090d38c68015929b5d223b4162613) -- Simplify WorkerUtils.defaultErrorHandler usage in WorkerSet [`f6d765e`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/f6d765e42ad09276f21dfedceacb1473b9addc31) +- Simplify WorkerUtils.defaultErrorHandler usage in WorkerSet [`f6d765e`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/f6d765e42ad09276f21dfedceacb1473b9addc31) - Comment some dubious OCPPError usage [`e909d2a`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/e909d2a71e82122e970db9d6f262bd1415a3bb20) - CF manifest template cleanups [`49d6207`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/49d6207407ca95592a6883d10ddf3d38af17d72e) - Docker: fix clean-images target [`e0a40c2`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/e0a40c22e93df30a0c7232e89a8572ebd8fabebc) @@ -1694,7 +1694,7 @@ - Add some methods to the circular array. [`d43a619`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/d43a619b43edfc37cd16020f42adb3893f002d9a) - Move message buffer code to charging station. [`3ba2381`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/3ba2381e6a5415267d9146fbac658a6c187ecb2b) - Fix worker pool superfluous creation by using a singleton class. [`f98fbdb`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/f98fbdb9a436347eff2c0ba9590543d1d021db00) -- Remove _heartbeatInterval attribute. [`af99a73`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/af99a73f2968dea5c3feae8a82f32f491d2fd141) +- Remove \_heartbeatInterval attribute. [`af99a73`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/af99a73f2968dea5c3feae8a82f32f491d2fd141) - Properly define common OCPP types using enum [`9c13b3b`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/9c13b3b52e1ab803a92f090da6920310c80c12da) - Rename ChargingStationInfo.name -> ChargingStationInfo.chargingStationId [`36a16ec`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/36a16ec2649a0652c443f4ef519e0d0f31b67fa4) - Rename Wrk -> WorkerAbstract [`fd1fdf1`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/fd1fdf1b7bd53ee19679eb9c7d83b2592c32aed7) @@ -1981,7 +1981,7 @@ - Update dependency. [`4345285`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/4345285f979caedb568c8a8f6d915b51a71044fe) - Rename statistics counter. [`4a71152`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/4a71152b4affee2459a0787b520dd2f6560ed203) - Avoid information duplication for connectors [`d4a73fb`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/d4a73fb7eb90ca646f0da5b597ccf527f0cbd3d5) -- Use hash to conditionally recreate _connectors attribute. [`de1f500`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/de1f5008c4a7c5e3bc55586eec592b2cd80e2f82) +- Use hash to conditionally recreate \_connectors attribute. [`de1f500`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/de1f5008c4a7c5e3bc55586eec592b2cd80e2f82) - Variable renaming to a sensible name. [`868cb6d`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/868cb6d18cc1b2047dea824719c9212ea96a0933) - Variable renaming. [`d20c21a`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/d20c21a0906551f6d22f07688ca2cd9b10bbd84b) - Dependencies update. [`4d2b59a`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/4d2b59a34f11bf76c9fb43fad0cca327df324e60) diff --git a/README.md b/README.md index 67d53434..e7b8a4b4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ + # [e-mobility charging stations simulator](https://github.com/sap/e-mobility-charging-stations-simulator) [![REUSE status](https://api.reuse.software/badge/github.com/SAP/e-mobility-charging-stations-simulator)](https://api.reuse.software/info/github.com/SAP/e-mobility-charging-stations-simulator) @@ -102,7 +103,7 @@ But the modifications to test have to be done to the files in the build target d | logFile | | combined.log | string | log file relative path | | logErrorFile | | error.log | string | error log file relative path | | worker | | {
"processType": "workerSet",
"startDelay": 500,
"elementStartDelay": 0,
"elementsPerWorker": 1,
"poolMinSize": 4,
"poolMaxSize": 16,
"poolStrategy": "ROUND_ROBIN"
} | {
processType: WorkerProcessType;
startDelay: number;
elementStartDelay: number;
elementsPerWorker: number;
poolMinSize: number;
poolMaxSize: number;
poolStrategy: WorkerChoiceStrategy;
} | Worker configuration section:
- processType: worker threads process type (workerSet/staticPool/dynamicPool)
- startDelay: milliseconds to wait at worker threads startup (only for workerSet threads process type)
- elementStartDelay: milliseconds to wait at charging station startup
- elementsPerWorker: number of charging stations per worker threads for the `workerSet` process type
- poolMinSize: worker threads pool minimum number of threads
- poolMaxSize: worker threads pool maximum number of threads
- poolStrategy: worker threads pool [poolifier](https://github.com/poolifier/poolifier) worker choice strategy | -| uiServer | | {
"enabled": true,
"type": "ws",
"options": {
"host": "localhost",
"port": 8080
}
} | {
enabled: boolean;
type: ApplicationProtocol;
options: ServerOptions;
authentication: {
enabled: boolean;
type: AuthenticationType;
username: string;
password: string;
}
} | UI server configuration section | +| uiServer | | {
"enabled": true,
"type": "ws",
"options": {
"host": "localhost",
"port": 8080
}
} | {
enabled: boolean;
type: ApplicationProtocol;
options: ServerOptions;
authentication: {
enabled: boolean;
type: AuthenticationType;
username: string;
password: string;
}
} | UI server configuration section | | performanceStorage | | {
"enabled": false,
"type": "jsonfile",
"file:///performanceRecords.json"
} | {
enabled: boolean;
type: string;
URI: string;
}
where type can be 'jsonfile' or 'mongodb' | performance storage configuration section | | stationTemplateUrls | | {}[] | {
file: string;
numberOfStations: number;
}[] | array of charging station configuration templates URIs configuration section (charging station configuration template file name and number of stations) | -- 2.34.1