Skip to content

Refactor SearchProxyTests structure#5308

Merged
jestradaMS merged 1 commit intomainfrom
users/jestrada/configurablesearchproxytests
Jan 6, 2026
Merged

Refactor SearchProxyTests structure#5308
jestradaMS merged 1 commit intomainfrom
users/jestrada/configurablesearchproxytests

Conversation

@jestradaMS
Copy link
Contributor

@jestradaMS jestradaMS commented Jan 6, 2026

Description

This pull request adds support for configuring proxy-related HTTP headers in the E2E search tests by introducing new environment variables. This allows the tests to be more flexible and adaptable to different deployment environments.

Test configuration improvements:

  • Added two new environment variables, TestProxyForwardedHost and TestProxyForwardedPrefix, to KnownEnvironmentVariableNames for configuring proxy header values.
  • Updated the default environment variable values in EnvironmentVariables to include the new proxy variables.

Test code enhancements:

  • Modified SearchProxyTests to use the new environment variables for the Host and Prefix values, making the proxy header values configurable per environment.

Related issues

Addresses AB#180168.

Testing

Describe how this change was tested.

FHIR Team Checklist

  • Update the title of the PR to be succinct and less than 65 characters
  • Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
  • Tag the PR with the type of update: Bug, Build, Dependencies, Enhancement, New-Feature or Documentation
  • Tag the PR with Open source, Azure API for FHIR (CosmosDB or common code) or Azure Healthcare APIs (SQL or common code) to specify where this change is intended to be released.
  • Tag the PR with Schema Version backward compatible or Schema Version backward incompatible or Schema Version unchanged if this adds or updates Sql script which is/is not backward compatible with the code.
  • When changing or adding behavior, if your code modifies the system design or changes design assumptions, please create and include an ADR.
  • CI is green before merge Build Status
  • Review squash-merge requirements

Semver Change (docs)

Patch|Skip|Feature|Breaking (reason)

@jestradaMS jestradaMS added this to the CY25Q3/2Wk13 milestone Jan 6, 2026
@jestradaMS jestradaMS requested a review from a team as a code owner January 6, 2026 20:34
@jestradaMS jestradaMS changed the title Refactor SearchProxyTests structure for improved reusability Refactor SearchProxyTests structure Jan 6, 2026
@jestradaMS jestradaMS added the Azure Healthcare APIs Label denotes that the issue or PR is relevant to the FHIR service in the Azure Healthcare APIs label Jan 6, 2026
@jestradaMS jestradaMS enabled auto-merge (squash) January 6, 2026 22:35
@jestradaMS jestradaMS merged commit f383592 into main Jan 6, 2026
61 of 68 checks passed
@jestradaMS jestradaMS deleted the users/jestrada/configurablesearchproxytests branch January 6, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure Healthcare APIs Label denotes that the issue or PR is relevant to the FHIR service in the Azure Healthcare APIs Enhancement-Test Enhancement on tests. No-PaaS-breaking-change Schema Version unchanged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants