Conversation
* fix: ES Implementation-mapping, indexing and async records * fix: add service for ES Search * fix: search implementation * fix: add additional fields as per the requirement * fix: comment extra fields * fix: rename the files, remove commented code * fix: update pom.xml * fix: revert advancesearch * fix: add properties * fix: coderabbit comments * fix: remove comment code * fix: accept numeric values for search * fix: update the env variable * fix: advance search functionality * fix: update the advance search ES functionality * fix: sync and fetch benid * fix: size limit issue * fix: improve response time * fix: updated the end point to advancedSearchES
* fix: optimize the index and reduce the size * fix: align indent * fix: abha / health id issue * fix: sync optimization * fix: get abha created date * fix: state issue * fix: village issue * fix: add abha details * fix: abha fix and refresh index * fix: refresh index * fix: remove duplicate dependency * fix: fuzzy search, resume, refresh api's * fix: add middlename, maritalstatus * fix: remove refresh while bulk indexing * fix: add license
* fix: ES Exception * fix: ES exception
* fix: ES Exception * fix: ES exception
* fix: enable multi-word fuzzy search requirement * Downgrade version from 3.6.2 to 3.6.1
* fix: column mismatch issue * fix: update marital status
add new column in rmnch table for death and child record
* feat(health,version): add health and version endpoints * feat(health,version): add health and version endpoints without auth * fix(health): remove unused private methods * fix(health): fix exception issue * fix(health): redact error details for unauthenticated health checks * fix code quality issues and reduce cognitive complexity * feat(health): add MySQL health endpoint * refactor(health): simplify MySQL health check and remove sensitive details * fix(health): remove unused imports and variables * refactor(health): address nitpicks (configurable ES scheme, log noise, graceful shutdown, record) * fix(health): scope PROCESSLIST lock-wait check to application DB user * refactor(health): remove unused params and reuse response/error constants * fix(health): remove unused imports and methods * chore(health): clean up unused imports, params, and dead helpers * fix(health): avoid sharing JDBC connections across threads in advanced MySQL checks * refactor(health): reuse REDIS_COMPONENT constant and extract nested try block * fix(health): avoid blocking DB I/O under write lock and restore interrupt flag * fix(health): cancel in-flight futures on generic failure * feat(health,version): add index existance, read-only detection, canary write for elasticsearch health check * refactor(health): reduce cognitive complexity, remove dead throws, and clean code smells
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (36)
✨ Finishing Touches🧪 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 |
|
| elasticsearch.host=localhost | ||
| elasticsearch.port=9200 | ||
| elasticsearch.username=elastic | ||
| elasticsearch.password=piramalES |
Check notice
Code scanning / SonarCloud
Credentials should not be hard-coded Low
| @RequestBody String searchFilter, | ||
| HttpServletRequest request) { | ||
|
|
||
| logger.info("IdentityESController.advanceSearchBeneficiariesES - start {}", searchFilter); |
Check notice
Code scanning / SonarCloud
Logging should not be vulnerable to injection attacks Low
| // Check existence | ||
| boolean exists = transactionalWrapper.existsByBenRegId(benRegIdBig); | ||
| if (!exists) { | ||
| logger.error("Beneficiary does not exist in database: {}", benRegId); |
Check notice
Code scanning / SonarCloud
Logging should not be vulnerable to injection attacks Low
| .id(doc.getBenId()) | ||
| .document(doc).refresh(Refresh.True)); | ||
|
|
||
| logger.info("SUCCESS! Beneficiary {} synced to Elasticsearch with ABHA", benRegId); |
Check notice
Code scanning / SonarCloud
Logging should not be vulnerable to injection attacks Low




📋 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.