Skip to content
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

Duplicated Search Parameters #3485

Merged
merged 8 commits into from
Oct 23, 2023
Merged

Conversation

abiisnn
Copy link
Contributor

@abiisnn abiisnn commented Aug 17, 2023

Description

This is a new PR for fixing Duplicated Search Parameters, before we had this old PR which was reverted due not passing INT tests.

The fix is pretty simple, but now I'm adding specific tests and also for each request I'm using a different [Code, Base], so if it fails again, we will know which is failing.

Related issues

Addresses [issue #].

Testing

Apart of testing, I used VS code rest to make sure no search parameters where created with the fix.

A simple way to test this is:

  • Go to this branch abigail/fix_duplicated_search_parameters
  • Go to src/Microsoft.Health.Fhir.Shared.Api/Controllers/FhirController.cs and delete lines 179, 214, and 232
  • Run all tests added in ConditionalCreate, Conditional Update and Update.
  • Make sure no duplicated search parameters are created. (For this I would prefer run a brand new server, and simple see that no new search parameters are created)

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.
  • CI is green before merge Build Status
  • Review squash-merge requirements

Semver Change (docs)

Patch|Skip|Feature|Breaking (reason)

@abiisnn abiisnn added this to the S124 milestone Oct 19, 2023
@abiisnn abiisnn added Bug Bug bug bug. Open source This change is only relevant to the OSS code or release. labels Oct 19, 2023
@abiisnn abiisnn marked this pull request as ready for review October 19, 2023 00:16
@abiisnn abiisnn requested a review from a team as a code owner October 19, 2023 00:16
@abiisnn abiisnn force-pushed the abigail/fix_duplicated_search_parameters branch from 0888980 to c08d021 Compare October 20, 2023 22:50
@abiisnn abiisnn merged commit 7359b8b into main Oct 23, 2023
6 checks passed
@abiisnn abiisnn deleted the abigail/fix_duplicated_search_parameters branch October 23, 2023 21:44
abiisnn added a commit that referenced this pull request Nov 1, 2023
abiisnn added a commit that referenced this pull request Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug bug bug. Open source This change is only relevant to the OSS code or release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants