lorenzodonini / ocpp-go

Open Charge Point Protocol implementation in Go
MIT License
277 stars 126 forks source link

Removed connection profile URL validation #238

Closed Jonesywolf closed 1 year ago

Jonesywolf commented 1 year ago

When executing charging station test case TC_B_43_CS detailed in part 6 of the standard, the charging station is supplied with an invalid URL by the OCTT (OCA's testing tool) and should respond with a rejected SetNetworkProfileResponse, not an error.

To this end, I removed the URL validation and associated test for the connection profile struct, the user will have to do the URL validation themselves and then respond with 'Rejected' accordingly.

lorenzodonini commented 1 year ago

Fair enough, thanks for submitting this!