App Config - Query Param Ordering#46665
Merged
mrm9084 merged 29 commits intoAzure:mainfrom Nov 3, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new pipeline policy to normalize query parameters for Azure App Configuration requests to support Azure Front Door as a CDN. The policy ensures query parameter keys are converted to lowercase and sorted alphabetically.
Key Changes:
- Added a new
QueryParamPolicythat normalizes query parameters by converting keys to lowercase and sorting them alphabetically - Integrated the policy into the HTTP pipeline in
ConfigurationClientBuilder - Added comprehensive test coverage for various query parameter scenarios
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| QueryParamPolicy.java | New pipeline policy implementation that normalizes query parameters |
| QueryParamPolicyTest.java | Comprehensive test suite covering various query parameter scenarios |
| ConfigurationClientBuilder.java | Integration of the new policy into the HTTP pipeline |
| CHANGELOG.md | Documentation of the new feature |
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Show resolved
Hide resolved
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Outdated
Show resolved
Hide resolved
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Show resolved
Hide resolved
avanigupta
reviewed
Sep 12, 2025
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Outdated
Show resolved
Hide resolved
avanigupta
reviewed
Sep 12, 2025
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Outdated
Show resolved
Hide resolved
avanigupta
reviewed
Sep 12, 2025
...ation/src/test/java/com/azure/data/appconfiguration/implementation/QueryParamPolicyTest.java
Show resolved
Hide resolved
avanigupta
reviewed
Sep 12, 2025
...ation/src/test/java/com/azure/data/appconfiguration/implementation/QueryParamPolicyTest.java
Outdated
Show resolved
Hide resolved
avanigupta
reviewed
Sep 12, 2025
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Outdated
Show resolved
Hide resolved
...ation/src/test/java/com/azure/data/appconfiguration/implementation/QueryParamPolicyTest.java
Show resolved
Hide resolved
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Outdated
Show resolved
Hide resolved
...ration/src/test/java/com/azure/data/appconfiguration/implementation/SyncTokenPolicyTest.java
Show resolved
Hide resolved
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Outdated
Show resolved
Hide resolved
avanigupta
reviewed
Oct 9, 2025
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Outdated
Show resolved
Hide resolved
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Outdated
Show resolved
Hide resolved
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Outdated
Show resolved
Hide resolved
alzimmermsft
approved these changes
Oct 22, 2025
Contributor
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
avanigupta
reviewed
Oct 29, 2025
...iguration/src/main/java/com/azure/data/appconfiguration/implementation/QueryParamPolicy.java
Show resolved
Hide resolved
alzimmermsft
approved these changes
Oct 31, 2025
Member
|
What are all the azure monitor changes here? Do they relate to app config? |
Member
Author
Azure Monitor uses us to test there service. We broke there recordings. |
avanigupta
approved these changes
Nov 3, 2025
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 a new pipeline to update the query params to make sure they are all lowercase and in alphabetical order. This is required for support of Azure Front Door as a CDN.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines