Cherry-pick health and version API enhancements to release-3.6.1#192
Cherry-pick health and version API enhancements to release-3.6.1#192vanitha1822 merged 21 commits intoPSMRI:release-3.6.1from
Conversation
…with proper interrupt restore
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
| <plugin> | ||
| <groupId>io.github.git-commit-id</groupId> | ||
| <artifactId>git-commit-id-maven-plugin</artifactId> | ||
| <version>7.0.0</version> |
There was a problem hiding this comment.
Is these plugin really required?
There was a problem hiding this comment.
@vanitha1822 Yes, this plugin is required. It generates the git.properties file during the build, which is used by the /version endpoint to expose build metadata such as branch, commit hash, version, and build timestamp.
|
* Elasticsearch Implementation for Beneficiary Search (#182) * fix: implement elasticsearch functionality * fix: update the response code * fix: update pom.xml * fix: advance search functionality * fix: add env properties * fix: updated to advancedSearch * fix: update to advanced * Added the Signature for hwc (#184) * fix:prescription drug for hwc * fix:doctor signature * fix:doctor signature * Cherry-pick health and version API enhancements to release-3.6.1 (#192) * Add /health endpoint and update /version endpoint * Update HTTPRequests and fix issues in /health and /version * fix(security): validate authentication for /health details * feat: update version and health endpoints * fix(redis): fix redis timeout handling issue * fix(health): fix InterruptedException handling and add redis timeout with proper interrupt restore * refactor(health): simplify MySQL health check and remove sensitive details * fix(health): removed unused methods from healthservices * fix(health): remove unused imports * fix(health): scope PROCESSLIST lock-wait check to application DB user * fix(health): avoid permanent DEGRADED from historical deadloc * fix(health): handle executor rejection during shutdown in /health * refactor(health): centralize component names and fix InterruptedException handling * fix(health): resolve remaining reliability issues on new code * fix(health): isolate advanced checks in dedicated executor to avoid thread starvation * fix(health): cancel timed-out advanced MySQL checks to avoid orphaned tasks * fix(health): make advanced MySQL checks interruptible on timeout * fix(health): remove unsafe connection sharing from advanced MySQL checks * refactor(health): reduce cognitive complexity of advanced MySQL throttle logic * fix(health): cancel in-flight futures on generic failure * feat(health): add gpl license header * change release vserion in pom file (#194) --------- Co-authored-by: Vishwanath Balkur <118195001+vishwab1@users.noreply.github.com> Co-authored-by: KOPPIREDDY DURGA PRASAD <144464542+DurgaPrasad-54@users.noreply.github.com> Co-authored-by: Saurav Mishra <saurav.mishra@bizbrolly.com> Co-authored-by: Saurav Mishra <80103738+SauravBizbRolly@users.noreply.github.com>



This PR cherry-picks health monitoring and version API enhancements from the main branch into the release-3.6.1 branch to ensure the improvements are included in the upcoming production release.