-
Notifications
You must be signed in to change notification settings - Fork 157
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
Deprecate the /Resource and /DomainResource endpoints #2526
Comments
Because we use "Resource" as the resource type for whole-system search and whole-system history interactions, it wasn't as simple as just checking for abstract types in FHIRRestHelper.validateInteraction. Instead, I now check that the type in the request path is valid directly from the JAX-RS endpoints / bundle entry processing. This has the additional benefit of catching URL path errors up front, avoiding almost all work associated with a bad request. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
Because we use "Resource" as the resource type for whole-system search and whole-system history interactions, it wasn't as simple as just checking for abstract types in FHIRRestHelper.validateInteraction. Instead, I now check that the type in the request path is valid directly from the JAX-RS endpoints / bundle entry processing. This has the additional benefit of catching URL path errors up front, avoiding almost all work associated with a bad request. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
Because we use "Resource" as the resource type for whole-system search and whole-system history interactions, it wasn't as simple as just checking for abstract types in FHIRRestHelper.validateInteraction. Instead, I now check that the type in the request path is valid directly from the JAX-RS endpoints / bundle entry processing. This has the additional benefit of catching URL path errors up front, avoiding almost all work associated with a bad request. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
Because we use "Resource" as the resource type for whole-system search and whole-system history interactions, it wasn't as simple as just checking for abstract types in FHIRRestHelper.validateInteraction. Instead, I now check that the type in the request path is valid directly from the JAX-RS endpoints / bundle entry processing. This has the additional benefit of catching URL path errors up front, avoiding almost all work associated with a bad request. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
I decided to deprecate these endpoints for 4.9.0 which basically just means:
|
Previously we were not encoding the apostrophe in the result message but now we are. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
Previously we were not encoding the apostrophe in the result message but now we are. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
Running with the latest code from the main branch on my local system, I executed the following search requests: In all cases, I verified that one of the following two WARNING messages was issued as appropriate: Issue verified and closed. |
In our DSTU2 implementation, we allowed a user to search on
[base]/Resource
to invoke whole-system search.In #261 we made it possible to search via GET on
[base]/
or by POST on[base]/_search
.However, we never actually removed the ability to interact with the /Resource and /DomainResource endpoints.
We should remove the /DomainResource and document the /Resource endpoint as deprecated. Once complete, we should open a separate task for removing the Resource endpoint as well.
Potentially relates to #2445
The text was updated successfully, but these errors were encountered: