-
Notifications
You must be signed in to change notification settings - Fork 66
validate CSMS-URL: opt. schema must fit with security-profile; chargepoint-ID deprecated in URL #201
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
Conversation
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
…e errors Signed-off-by: Dominik K <dominik@pionix.de>
|
So far it was required to include the chargepoint_id in the configured CentralSystemURI (v16) or ocppCsmsUrl (v201, as part of the NetworkConnectionProfiles variable). This is indeed redundant so I like this initiative! For v16 we can append the internal configuration key ChargePointId (like implemented in this PR) and for v201 we need to use the variable "Identity" from the "SecurityCtrlr", so this line is currently not correct: Please add this to the PR. |
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
|
Next I'll use a |
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
|
@Pietfried It's ready now. I'll do the returning an error/ |
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
6ed8c58 to
3af51e3
Compare
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
| auto security_profile = network_connection_profile.securityProfile; | ||
| auto uri = Uri::parse_and_validate( | ||
| network_connection_profile.ocppCsmsUrl.get(), | ||
| this->device_model->get_value<std::string>(ControllerComponentVariables::SecurityCtrlrIdentity), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identity is defined as not required in OCPP2.0.1 spec (so it should be requested from storage with get_optional_value). This seems to be a problem with the spec. Lets define Identity as requried in config/ and keep requesting storage with get_value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there sth. more needed except adding Identity to required: in SecurityCtrlr.json?
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
Signed-off-by: Dominik K <dominik@pionix.de>
No description provided.