Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPP 1.6 add schema validation checks on updates to custom keys #853

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

james-ctc
Copy link
Contributor

Describe your changes

fix: add schema validation checks on updates to custom keysThere was a missing check on receipt of ChangeConfiguration.req for custom keys where a value could be set that would fail schema validation and prevent EVerest from successfully restarting.

This update checks the new value before updating.
Validation failures are noitfied to the CSMS via the ChangeConfiguration.conf

Issue ticket number and link

Checklist before requesting a review

There was a missing check on receipt of ChangeConfiguration.req for
custom keys where a value could be set that would fail schema validation
and prevent EVerest from successfully restarting.

This update checks the new value before updating.
Validation failures are noitfied to the CSMS via the ChangeConfiguration.conf

Signed-off-by: James Chapman <[email protected]>
Signed-off-by: James Chapman <[email protected]>
@james-ctc james-ctc merged commit d41bfc1 into main Nov 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants