-
Notifications
You must be signed in to change notification settings - Fork 256
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
Implement Middleware Override in AssetLocation #1642
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1642 +/- ##
==========================================
- Coverage 59.11% 59.09% -0.03%
==========================================
Files 207 207
Lines 11264 11278 +14
Branches 1599 1602 +3
==========================================
+ Hits 6659 6665 +6
- Misses 4405 4412 +7
- Partials 200 201 +1
☔ View full report in Codecov by Sentry. |
@Ashesh3 does the dummy data facility disappear after the middleware was fixed, which we discussed during the huddle |
Issue was with dummy data itself; PR is fine. Will make a new PR to fix the dummy data. No changes are needed on the PR. |
LGTM |
"middleware_hostname", | ||
asset.current_location.facility.middleware_address, | ||
hostname = ( | ||
asset.meta.get( |
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.
Maybe move this to a common function in the future? too much clutter now.
This PR addresses issue #6310, which identified the need for a middleware override feature in the location management page. This feature is crucial for integrating multiple ICUs, each running on different servers with various teleicu middleware, under a single facility on the care platform.
Previously, the lack of this feature necessitated the redundant duplication of facilities for middleware configuration and deployment on care. With the implementation of the middleware override feature, we can now efficiently manage multiple servers in a single facility with multiple ICUs.
The changes in this PR include:
This feature enhances the overall usability and efficiency of the care platform, especially for larger institutions like hospitals with multiple departments.
@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins