fix: adding missing OCPP1.6 Configuration Keys (#1796)#1801
fix: adding missing OCPP1.6 Configuration Keys (#1796)#1801Pietfried merged 1 commit intoEVerest:mainfrom
Conversation
7fed90d to
b9e8eb8
Compare
|
Hi @ThatsLucas , thanks for the contribution! The changes look good. Unfortunately 0a2c98d introduced conflicts. Can you rebase and resolve it? Please make sure you squash your commits into one. |
b9e8eb8 to
5836c2b
Compare
|
Hello @Pietfried, done, tell me if anything is wrong :) |
f116f30 to
8abb7c6
Compare
|
Im not sure whats wrong with the unit tests |
You can download the ctest-report artifact from https://github.com/EVerest/everest-core/actions/runs/21981574665?pr=1801 or alternatively run the unit tests locally. Feel free to let us know if you need help with analyzing the issue. |
8abb7c6 to
7972144
Compare
|
As I understand it, the tests were previously expecting these keys not to return any value. Please let me know if this interpretation is incorrect or if further changes are needed. |
…::get() Fixes EVerest#1796. Expose configuration keys that were configurable locally but not retrievable via OCPP 1.6 GetConfiguration due to missing cases in ChargePointConfiguration::get(). Signed-off-by: ThatsLucas <lucasmailpro9@gmail.com> v16: add missing KeyValue getters in device model Sorry, I forgot to implement the new interface methods. This adds the missing TLS keylog and TPM KeyValue getters to keep the device model in sync with ChargePointConfigurationInterface. Signed-off-by: ThatsLucas <lucasmailpro9@gmail.com> Changed test_custom.cpp to add tests for the new hidden keys. Updated known_keys.cpp to include the new hidden keys. Updated charge_point_configuration_devicemodel.cpp to handle the new hidden keys in get() and set() methods. Updated charge_point_configuration_interface.hpp to declare the new hidden keys. Made the change requested by james-ctc. It is now complient with the existing standard. Changed Read only check order in test_custom.cpp. Signed-off-by: ThatsLucas <lucasmailpro9@gmail.com>
7972144 to
9734887
Compare
…::get() (EVerest#1801) Fixes EVerest#1796. Expose configuration keys that were configurable locally but not retrievable via OCPP 1.6 GetConfiguration due to missing cases in ChargePointConfiguration::get(). v16: add missing KeyValue getters in device model Sorry, I forgot to implement the new interface methods. This adds the missing TLS keylog and TPM KeyValue getters to keep the device model in sync with ChargePointConfigurationInterface. Changed test_custom.cpp to add tests for the new hidden keys. Updated known_keys.cpp to include the new hidden keys. Updated charge_point_configuration_devicemodel.cpp to handle the new hidden keys in get() and set() methods. Updated charge_point_configuration_interface.hpp to declare the new hidden keys. Made the change requested by james-ctc. It is now complient with the existing standard. Changed Read only check order in test_custom.cpp. Signed-off-by: ThatsLucas <lucasmailpro9@gmail.com>
OCPP 1.6: add missing configuration keys to ChargePointConfiguration::get()
Fixes #1796.
Expose configuration keys that were configurable locally but not retrievable via OCPP 1.6 GetConfiguration due to missing cases in ChargePointConfiguration::get().
Describe your changes
Issue ticket number and link
#1796
Checklist before requesting a review