Skip to content

Conversation

@mrm9084
Copy link
Member

@mrm9084 mrm9084 commented Sep 11, 2025

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:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@mrm9084 mrm9084 requested review from a team and alzimmermsft as code owners September 11, 2025 23:01
@github-actions github-actions bot added the App Configuration Azure.ApplicationModel.Configuration label Sep 11, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 QueryParamPolicy that 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

@mrm9084 mrm9084 requested a review from Copilot October 9, 2025 19:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

@jairmyree jairmyree requested a review from a team as a code owner October 27, 2025 18:23
@github-actions
Copy link
Contributor

github-actions bot commented Oct 27, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

com.azure:azure-data-appconfiguration

@rossgrambo
Copy link
Member

What are all the azure monitor changes here? Do they relate to app config?

@mrm9084
Copy link
Member Author

mrm9084 commented Oct 31, 2025

What are all the azure monitor changes here? Do they relate to app config?

Azure Monitor uses us to test there service. We broke there recordings.

@mrm9084 mrm9084 merged commit 935d4bd into Azure:main Nov 3, 2025
18 checks passed
@mrm9084 mrm9084 deleted the QueryParamaterPipeline branch November 3, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

App Configuration Azure.ApplicationModel.Configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants