Changes:
Updates applicable to the Azure API for FHIR
4e7ecb2 Increase max limit of _count parameter (#1644)
- Previously, _count had an upper limit of 100. The new upper limit is 1000.
d89d1d4 Add Retry-After header on 429 (#1639)
- This PR adds the standard Retry-After header in addition to the existing x-ms-retry-after-ms header.
c57cfc8 Make sure we return BadRequest for /?_type= case. (#1635)
- Previously when the _type parameter is included in a search, the value is left blank and an uncaught error is returned to the user. This PR adds returning a BadRequest instead.
- Addresses Issue [#1562]
5f1b636 Provenance header support (#1636)
- Adds support for "x-provenance" header for POST/PUT operations
- Addresses Issue [#1500]
95fe255 Group export: Handle empty groups correctly (#1641)
- When exporting a group that has no members we end up exporting all patient data. This PR updates the code to handle this scenario correctly and export nothing.
- Addresses Issue [#1634]
7f8b841 Fix relaying x-ms-retry-after-ms header from Cosmos DB (#1643)
- We were not relaying any retry delay information when getting throttled by Cosmos DB because we were looking for the wrong header name.
750344f Change 429 handling for bundles (#1658)
- When a client issues a batch request, and one of those the actions in the bundle fails because of database throttling (a 429), the client does not get a Retry-After value to wait before retying the action.
- In this change we are increasing the retries for database operations that occur within a bundle. If an action in a bundle does result in a 429, all subsequent actions will be skipped and will have the same 429 response.
- Retry-After, x-ms-retry-after-ms, x-ms-session-token and x-ms-request-charge will be added as headers to the bundle response if added by individual actions
33adbbf Turn off splitting components for Uri search queries (#1630)
- Splitting Canonical Components for incoming URI queries may break existing searches.
- References Issue [#882]
c355f21 Reindex bug fixes (#1650)
- This PR fixes reindex behavior to properly update parameters when a job has no resources to reindex. Handle null refs and update SearchParameters.json test file
268834e Use SearchParameter.Code rather than Name (#1629)
- We had been referencing the .Name property of the SearchParameter resources to do searches and compare against the parameter included in the query string. That was incorrect, we should use the .Code property.
63f44ff Handle case of invalide Url in validation of search parameter. (#1637)
- When creating a SearchParameter if the url is not formatted correctly an uncaught error was returned. This PR ensures that the correct error is returned
- Addresses issue [#1563]
effeb93 Enable update of custom search parameter (#1615)
- Adds functionality to support of update of SearchParameters via PUT.
Other Updates
7865064 Use Linux VMs in build (#1659)
- Moves most build steps to use linux agents. Details are in the PR
8e66137 Min/max String/Date extraction (#1656)
3f7ac62 Adding mediator to notify about exceptions (#1653)
- Adding a middleware and mediator to notify about exceptions in the FHIR service for special logging purposes. The notifications have some information for the current exception and the current request when applicable.
Package Updates
00d350f Upgrade healthcareSharedPackageVersion to 1.1.7 (#1661)
c490dec Bump HealthcareSharedPackageVersion from 1.1.1 to 1.1.3 (#1632)
30c7f98 Bump AspNetPackageVersion from 5.0.2 to 5.0.3 (#1657)
2846bd8 Bump Microsoft.Azure.Cosmos.Direct from 3.17.0 to 3.17.1 (#1633)
abb941b Bump Microsoft.Azure.Services.AppAuthentication from 1.6.0 to 1.6.1 (#1648)
638462e Bump System.Private.ServiceModel from 4.8.0 to 4.8.1 (#1624)
68c4535 Bump FluentValidation from 9.4.0 to 9.5.0 (#1626)
90b93a5 Upgrade dotnet sdk to 5.0.102 (#1645)
b5eb78b Upgrade to latest StyleCop for C# 9 support (#1663)
5e40e08 Updates .NET SDK to 5.0.103. (#1665)
- The ASP .NET package version got updated to 5.0.3 in #1657. This PR updates the global.json file to specify the updated SDK version.
This list of changes was auto generated.