-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add extension for disabling search params #6107
base: master
Are you sure you want to change the base?
Conversation
Formatting check succeeded! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved pending comments
hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_6_0/6107-allow-sp-disabling.yaml
Outdated
Show resolved
Hide resolved
...rver-test-r4/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4ComboUniqueParamTest.java
Show resolved
Hide resolved
...t-r5/src/test/java/ca/uhn/fhir/jpa/provider/r5/SearchParameterDisabledForQueryingR5Test.java
Outdated
Show resolved
Hide resolved
hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/RestfulServerConfiguration.java
Outdated
Show resolved
Hide resolved
hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/util/ISearchParamRegistry.java
Show resolved
Hide resolved
hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/util/ISearchParamRegistry.java
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6107 +/- ##
============================================
+ Coverage 83.54% 83.58% +0.03%
- Complexity 27432 27803 +371
============================================
Files 1707 1740 +33
Lines 106185 107621 +1436
Branches 13397 13502 +105
============================================
+ Hits 88710 89952 +1242
- Misses 11750 11877 +127
- Partials 5725 5792 +67 ☔ View full report in Codecov by Sentry. |
This PR adds an optional extension on SearchParameter resources which can be used to prevent the SP from being used for actual searches while it's still being indexed.