]>
Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
feat(ocpp2): fix authorization conformance gaps (C10, C12, C01, C09) (#1735)
* feat(ocpp2): auto-update auth cache on TransactionEventResponse (C10.FR.01/04/05, C12.FR.06)
* feat(ocpp2): check MasterPassGroupId in start transaction (C12.FR.09)
* feat(ocpp2): add groupId-based stop transaction authorization (C01.FR.03, C09.FR.03/07)
* fix(ocpp2): address PR review findings
- C12.FR.09: compare groupIdToken not idToken
- C09.FR.03: remove inner isIdTokenAuthorized check
- Guard updateCacheEntry on authorizationCacheEnabled
- Fix MasterPass test to mock VariableManager
* style(tests): align test naming with style guide
* fix: merge duplicate AuthTypes.js imports in auth barrel
* fix(tests): add required JSDoc to GroupIdStop test helper
* style(ocpp2): harmonize log levels, remove spec refs from log messages, use truncateId
* style(auth): harmonize log prefixes, levels, and identifier truncation
* refactor(auth): use moduleName constant for log prefixes in OCPPAuthServiceImpl
* refactor(auth): use moduleName constant across all auth files
* fix(tests): skip flaky RequestStopTransaction test on all Node 22 platforms
* refactor(auth): harmonize log prefixes in auth adapters
* refactor: move truncateId to utils and truncate identifiers in OCPP20 logs
* style(ocpp2): remove spec ref from statusInfo additionalInfo
* style(ocpp2): truncate idToken in statusInfo additionalInfo
* test(ocpp2): improve test coverage and remove duplicates in auth conformance tests
25 files changed: