]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(ocpp2.0): add proper response handlers for certificate commands + handler coverag... main
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 20 Mar 2026 20:39:36 +0000 (21:39 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 20 Mar 2026 20:39:36 +0000 (21:39 +0100)
commit273f53994d1c816a3760db3e08dc17c4995c9363
tree690fde1bc529e8efb234707fc4eeb998edeb7be8
parentc13a409bc03e6e95436af2cfabf6a4b838680810
fix(ocpp2.0): add proper response handlers for certificate commands + handler coverage tests

Replace emptyResponseHandler with proper logging handlers for
Get15118EVCertificate, GetCertificateStatus, and SignCertificate
responses. Add handler registration coverage tests for both OCPP 1.6
and 2.0: every RequestCommand must have a response handler, every
IncomingRequestCommand must have an incoming request handler.
src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
tests/charging-station/ocpp/1.6/OCPP16SchemaValidation.test.ts
tests/charging-station/ocpp/2.0/OCPP20SchemaValidation.test.ts