Conversation
* fix: implement functionality to search beneficiaries with Elasticsearch * fix: remove unwanted import * fix: update pom.xml * fix: change the response code
variable added
* fix: cherry-pick commits for advanced search * fix: cherry-pick commit for token issue - mobile application * fix: add the missing properties * fix: add function to retrieve userid * fix: move the fetch Userid to jwtUtil
Signature fix for mmu
Fixing the Signature when doctor not available
* FLW-713 Remove All File Upload Options * Fix UserServiceRoleRepo dependency issue and codeRabit comment * fixed coderabit comment * fix userMappingId issue
* Enable SMS Functionality in MMU App to Send Prescriptions (#325) * fix: sms template save and map mmu (#306) * Vb/sms (#307) * fix: sms template save and map mmu * fix: enable mms for mmu prescription * Enable SMS Functionality in MMU App to Send Prescriptions (#325) * fix: sms template save and map mmu (#306) * Vb/sms (#307) * fix: sms template save and map mmu * fix: enable mms for mmu prescription --------- Co-authored-by: Vishwanath Balkur <118195001+vishwab1@users.noreply.github.com>
Fix /account lock restriction
* feat(health,version): update version and health endpoints and add advance check for database * fix(health): normalize severity and fix slow query false positives * fix(health): avoid false CRITICAL on single long-running MySQL transaction * fix(health): enforce 3s DB connection timeout via HikariCP
* feat(health,version): update version and health endpoints and add advance check for database * fix(health): normalize severity and fix slow query false positives * fix(health): avoid false CRITICAL on single long-running MySQL transaction * fix(health): enforce 3s DB connection timeout via HikariCP * feat(health): add healthcontroller and fix versioncontroller issues
📝 WalkthroughWalkthroughThe pull request updates the project version to 3.6.1 and adds comprehensive support for Elasticsearch-based beneficiary searches, health monitoring, SMS template management, MMU prescription handling, and JWT-based form field filtering. Configuration properties are updated, and new entities, services, and REST endpoints are introduced. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant BenefController as BeneficiaryRegistration<br/>Controller
participant IEMRSearch as IEMRSearchUserService
participant IdentityBenef as IdentityBeneficiaryService
participant ElasticSearch as Elasticsearch
Client->>BenefController: POST /beneficiary/searchBeneficiaryES<br/>(BeneficiaryModel, JWT)
activate BenefController
BenefController->>BenefController: Extract userID from JWT<br/>via JwtUtil
BenefController->>IEMRSearch: findBeneficiaryES(model, userID, auth)
activate IEMRSearch
IEMRSearch->>IEMRSearch: Build IdentitySearchDTO<br/>from beneficiary model
IEMRSearch->>IEMRSearch: Serialize DTO to JSON<br/>(Gson with date format)
IEMRSearch->>IdentityBenef: searchBeneficiaryListES(json, auth, is1097)
activate IdentityBenef
IdentityBenef->>IdentityBenef: Build HTTP POST request<br/>with serialized DTO
IdentityBenef->>ElasticSearch: POST /advancedSearchES
activate ElasticSearch
ElasticSearch-->>IdentityBenef: JSON response (data field)
deactivate ElasticSearch
IdentityBenef->>IdentityBenef: Parse response, validate statusCode
IdentityBenef-->>IEMRSearch: Map<String, Object> data
deactivate IdentityBenef
IEMRSearch->>IEMRSearch: Serialize Map to JSON<br/>(Jackson ObjectMapper)
IEMRSearch-->>BenefController: JSON String response
deactivate IEMRSearch
BenefController-->>Client: HTTP 200 with search results
deactivate BenefController
Estimated Code Review Effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
Need to merge 3.8.0 as 3.6.1 is already available in 3.8.0 |


📋 Description
JIRA ID:
Please provide a summary of the change and the motivation behind it. Include relevant context and details.
✅ Type of Change
ℹ️ Additional Information
Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.
Summary by CodeRabbit
Release Notes v3.6.1
New Features
Improvements
Chores