-
Notifications
You must be signed in to change notification settings - Fork 29
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
Evaluate requirements/feasibility of supporting custom endpoints #139
Comments
Current implementation intercepts all the requests and doesn’t pass the control to Spring native Rest controllers.
We can use Option1 to support custom endpoints in Fhir Gateway.
We will have to look at what is the best interface to support option1 but the current example provides the technical feasibility of supporting this feature. |
Thanks @vivekmittal07 for your analysis and proposals. We basically went ahead with Option 1 but with the caveats that we need to provide good support for basic core functionality like JWT verification and FHIR-server access (for custom endpoint implementations). For these a bunch of refactoring was needed which are covered in PR #182. |
The current architecture assumes that any request to the gateway is eventually passed to the FHIR server for returning a response. There are use-cases where we may want to support custom (non-FHIR) endpoints, e.g., in the context of sync as mentioned in #122. There are different ways to support this. We should first evaluate the requirements for this feature and make a conscious decision whether to support it. If the answer is yes, we should have a mini-design to close this issue.
The text was updated successfully, but these errors were encountered: