App Config - Head Requests#48899
Open
mrm9084 wants to merge 13 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds HEAD-request support to the Azure App Configuration Java SDK to enable efficient change detection via page-level ETags, without downloading response bodies.
Changes:
- Added
checkConfigurationSettingsAPIs to both sync (ConfigurationClient) and async (ConfigurationAsyncClient) clients, backed by the service’s HEAD/kvendpoint. - Added unit tests covering HEAD paging behavior (empty items, page ETag presence) and ETag change detection.
- Added a new sample demonstrating polling-style change detection with cached page ETags, and updated the changelog.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 14 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationClient.java | Adds sync checkConfigurationSettings API and JavaDoc samples. |
| sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationAsyncClient.java | Adds async checkConfigurationSettings API and JavaDoc samples. |
| sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/implementation/Utility.java | Adds helpers to translate HEAD responses into PagedResponse and handle 304 for HEAD, plus continuation parsing. |
| sdk/appconfiguration/azure-data-appconfiguration/src/test/java/com/azure/data/appconfiguration/ConfigurationClientTest.java | Adds sync tests for HEAD paging and ETag change detection. |
| sdk/appconfiguration/azure-data-appconfiguration/src/test/java/com/azure/data/appconfiguration/ConfigurationAsyncClientTest.java | Adds async tests for HEAD paging and ETag change detection. |
| sdk/appconfiguration/azure-data-appconfiguration/src/samples/java/com/azure/data/appconfiguration/CheckConfigurationSettingsForChanges.java | New sample demonstrating HEAD-based change detection using page ETags + If-None-Match. |
| sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/package-info.java | Updates package-level instantiation snippets. |
| sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationClientBuilder.java | Updates builder JavaDoc instantiation/pipeline snippets. |
| sdk/appconfiguration/azure-data-appconfiguration/CHANGELOG.md | Documents the new checkConfigurationSettings feature. |
nroutray
approved these changes
May 4, 2026
avanigupta
reviewed
May 4, 2026
avanigupta
reviewed
May 4, 2026
avanigupta
reviewed
May 4, 2026
avanigupta
reviewed
May 4, 2026
avanigupta
reviewed
May 4, 2026
avanigupta
reviewed
May 4, 2026
avanigupta
reviewed
May 21, 2026
avanigupta
reviewed
May 21, 2026
avanigupta
approved these changes
May 22, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Adds head request support to the Java SDK.
See Python: Azure/azure-sdk-for-python#45858
See JS: Azure/azure-sdk-for-js#36959
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines