]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
feat: resolve OCPP 1.6 configuration keys to OCPP 2.0 equivalents transparently
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 26 Mar 2026 21:42:53 +0000 (22:42 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 26 Mar 2026 21:42:53 +0000 (22:42 +0100)
commit66b8ba4525e4792924ca97d28a5d9d6de2ee76f9
tree6d54d2969b40412594804c45c019d5822a49de42
parent572389955eab4697aaa7ec38c464094b82b3a707
feat: resolve OCPP 1.6 configuration keys to OCPP 2.0 equivalents transparently

Add resolveKey() inside ConfigurationKeyUtils that maps OCPP 1.6 key
names to their OCPP 2.0 equivalents (MeterValuesSampledData →
TxUpdatedMeasurands, ConnectionTimeOut → EVConnectionTimeOut, etc.)
transparently in get/add/set/delete operations. Remap keba-ocpp2
template keys and add missing OCPP 2.0 variables. Add exhaustive
tests for key resolution across all OCPP versions.
src/assets/station-templates/keba-ocpp2.station-template.json
src/charging-station/ConfigurationKeyUtils.ts
src/charging-station/ocpp/OCPPServiceUtils.ts
tests/charging-station/ConfigurationKeyUtils.test.ts
tests/ocpp2-e2e-test-plan.md [new file with mode: 0644]