Fixes to OCPP commands PDU validation code:
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 8 Jan 2023 08:33:18 +0000 (09:33 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 8 Jan 2023 08:33:18 +0000 (09:33 +0100)
commitb3fc3ff5bc50c2dbe20eb3ac1e681c00a022b4ee
tree00bd938cc660f15f9674ca79871317e7cbb05035
parentbfbda738d80c83b76e2d38f221bfe305a4a89c2b
Fixes to OCPP commands PDU validation code:

+ Validate helper for sent response
+ Simplify JSON schemas handling

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
src/charging-station/ocpp/1.6/OCPP16RequestService.ts
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts
src/charging-station/ocpp/2.0/OCPP20RequestService.ts
src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
src/charging-station/ocpp/OCPPIncomingRequestService.ts
src/charging-station/ocpp/OCPPRequestService.ts
src/charging-station/ocpp/OCPPResponseService.ts