Closed dwibudut closed 1 year ago
Hello,
I just fix the GetInstalledCertificateIdsRequest
and GetInstalledCertificateIdsResponse
features based on json schema, I've also modified the test function.
Changes:
certificateType
on GetInstalledCertificateIdsRequest
to array type not string (base on json schema)certificateHashDataChain
that contain array of certificateHashData
on GetInstalledCertificateIdsResponse
(base on json schema)Thx
I added another fix on typeOfCertificate
to certificateType
according to json schema in CertificateSignedRequest
feature
Thx
First of all thanks a lot for finding and fixing these implementation errors.
All commits except the first one LG2M (I left one minor comment).
Regarding the
FormatViolation
I cannot accept the change the way it is, because in v1.6 the error code is indeed calledFormationViolation
(for whatever reason this was changed in v2). I believe this might just be the only change between the two ocppj versions. Fixing one version would break the other. To not break anything we probably need to inject error codes from the top layer. I would suggest splitting this into 2 separate PRs.
For FormatViolation
, currently I have no idea, whether to just add FormatViolation
type and keep both (FormationViolation
and FormatViolation
) maybe, but the response CallError
to client will still and always use FormationViolation
on your top layer ParseMessage
method
FormationViolation
toFormatViolation
base onOCPP 2.0.1 Specification
TableB06.FR.17