Skip to content

Commit

Permalink
Merge pull request #1752 from sowmya695/health_check_camel
Browse files Browse the repository at this point in the history
MOSIP-28445 Removed DB health check for camel
  • Loading branch information
vishwa-vyom authored and Sowmya Ujjappa Banakar committed Sep 4, 2023
1 parent 2d9f2a7 commit a127eb7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ public void configureHealthCheckEndpoint(Vertx vertx, Router router, final Strin
}

healthCheckHandler.register("diskSpace", healthCheckTimeOut, healthCheckHandler::dispSpaceHealthChecker);
if (!servletPath.contains("camel")) {
healthCheckHandler.register("db", healthCheckTimeOut, healthCheckHandler::databaseHealthChecker);
}
}

private boolean checkServletPath(String servletPath) {
Expand Down

0 comments on commit a127eb7

Please sign in to comment.