]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(charging-station): audit fixes — error handling, OCPP conformance, DRY, type...
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 5 Mar 2026 21:56:43 +0000 (22:56 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 5 Mar 2026 21:56:43 +0000 (22:56 +0100)
commit4aad1da72d0ab08b423ff30d86c453414e2a43cc
tree6f3393b42aaa59eebfe249a41cca69a18e0a6c33
parentccd0e1f4eefea7c09e69c30855a0e6d42f7aef74
fix(charging-station): audit fixes — error handling, OCPP conformance, DRY, type safety

- Replace .catch(EMPTY_FUNCTION) with proper error logging (F-001/F-002/F-003)
- Add fail-closed security comment in UIServerSecurity (F-004)
- Convert FIXME to actionable TODO in Bootstrap (F-005)
- Implement relative charging profile duration handling per K01.FR.41-42 (F-006)
- Restart heartbeat and WebSocket ping on template change (F-007)
- Consolidate repeated type casts in convertDeprecatedTemplateKey (F-008)
- Remove duplicate console.warn calls and unused chalk import in UIServerFactory (F-010)
- Extract logPrefix to AbstractUIServer base class, removing duplicates (F-011)
- Extract matchesConfigurationKey predicate in ConfigurationKeyUtils (F-012)
- Add failure counter and error summary for reservation removal (F-013)
src/charging-station/AutomaticTransactionGenerator.ts
src/charging-station/Bootstrap.ts
src/charging-station/ChargingStation.ts
src/charging-station/ConfigurationKeyUtils.ts
src/charging-station/Helpers.ts
src/charging-station/ui-server/AbstractUIServer.ts
src/charging-station/ui-server/UIHttpServer.ts
src/charging-station/ui-server/UIServerFactory.ts
src/charging-station/ui-server/UIServerSecurity.ts
src/charging-station/ui-server/UIWebSocketServer.ts