-
Notifications
You must be signed in to change notification settings - Fork 66
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
ETag Resource Checksum #540
Conversation
🎉 Thank you for your code contribution! To guarantee the change/addition is conformant to the OCF Specification, we would like to ask you to execute OCF Conformance Testing of your change ☝️ when your work is ready to be reviewed. ℹ️ To verify your latest change (ac363dc), label this PR with |
2c2ae64
to
cc7024f
Compare
79ff17c
to
81065c8
Compare
81065c8
to
a165000
Compare
e328fa7
to
7fc87d9
Compare
b97c13b
to
5fb6efc
Compare
5fb6efc
to
cb48100
Compare
eb0e576
to
6972b9f
Compare
fb2d062
to
4e153e8
Compare
4a50340
to
ec7bf9c
Compare
ec7bf9c
to
6b3da68
Compare
6b3da68
to
b8d40af
Compare
f0e87d6
to
662dcb2
Compare
Good job 👍 |
743bcc7
to
170dab4
Compare
@Danielius1922 Pls could you integrate load and dump etag to cloud_server ? |
- Implemented the calculation of a CRC64 checksum for each resource payload. - By default, the GET payload with the "oic.if.baseline" interface is used for a resource. - Special handling is added for resources `/x.plgd.dev/time` and `/oic/res`, which contain properties that might change on each GET request. For these resources, an internal "x.plgd.if.etag" interface is used to filter out problematic properties from the payload. - Updated the ETag storage payload to include not only the ETag of the given resource but also the checksum for the resource. - When data is loaded from storage, it now verifies the checksum before processing, ensuring data integrity.
170dab4
to
8382744
Compare
Kudos, SonarCloud Quality Gate passed! |
No description provided.