]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor: improve helper/utility usage consistency across codebase
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 3 Apr 2026 19:23:45 +0000 (21:23 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 3 Apr 2026 19:23:45 +0000 (21:23 +0200)
commitc2e5cc55e03988b2009b2a51111ecf0f02ec9cad
tree7f2b4adbf2ed0c49fc5e7a109d67734743b676c2
parent7c477d252ce4529cf4b257c225f7c7da6a5f4b34
refactor: improve helper/utility usage consistency across codebase

- Make worker module standalone by inlining mergeDeepRight in WorkerUtils
- Replace console/chalk with structured logger calls in Bootstrap
- Extract magic numbers to named constants (auth cache, WS reconnect)
- Use setupConnectorWithTransaction helper in transaction tests
- Remove dead test helper OCPPAuthIntegrationTest
- Fix 'shutdowning' typo in graceful shutdown log message
src/charging-station/Bootstrap.ts
src/charging-station/ChargingStation.ts
src/charging-station/ocpp/auth/cache/InMemoryAuthCache.ts
src/charging-station/ocpp/auth/factories/AuthComponentFactory.ts
src/utils/Constants.ts
src/worker/WorkerFactory.ts
src/worker/WorkerUtils.ts
tests/charging-station/ChargingStation-Transactions.test.ts
tests/helpers/OCPPAuthIntegrationTest.ts [deleted file]