-
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
Incremental updates #536
Merged
Merged
Incremental updates #536
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🎉 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 (38ff72f), label this PR with |
Danielius1922
force-pushed
the
adam/feature/update-query-api
branch
from
September 20, 2023 13:06
c5a4793
to
ea0eca6
Compare
Danielius1922
force-pushed
the
adam/feature/etag-incremental
branch
2 times, most recently
from
September 22, 2023 08:57
6e945dd
to
80acd1f
Compare
Danielius1922
force-pushed
the
adam/feature/etag-incremental
branch
6 times, most recently
from
September 27, 2023 09:39
3a598b8
to
98378cb
Compare
jkralik
approved these changes
Sep 28, 2023
Danielius1922
force-pushed
the
adam/feature/etag-incremental
branch
from
September 29, 2023 14:32
08cdcaa
to
e0c4dc6
Compare
Danielius1922
changed the base branch from
master
to
adam/feature/extend-base64
September 29, 2023 14:32
jkralik
approved these changes
Sep 29, 2023
This update introduces the Incremental Updates feature for the /oic/res resource in CoAP requests. When querying the /oic/res resource using a GET request with the batch interface and including the "incChanges" key in the query, Incremental Updates are activated. The "incChanges" key should contain a comma-separated list of base64 encoded ETags (using URL-safe encoding without padding). This feature leverages the uniqueness and strict incrementality of ETags. By comparing the ETags received in the query with the stored ETags, the system identifies the highest still valid ETag. Resources with an ETag that is lower or equal than the identified ETag are skipped and not contained by the GET request response, since we know that they have not been updated.
Danielius1922
force-pushed
the
adam/feature/etag-incremental
branch
from
September 29, 2023 18:39
e0c4dc6
to
1c9c8e7
Compare
ocf-conformance-test-tool
bot
removed
the
OCF Conformance Testing
OCF Conformance Testing required
label
Sep 29, 2023
Kudos, SonarCloud Quality Gate passed! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.