Skip to content

Commit

Permalink
Merge pull request #1764 from sowmya695/MOSIP-28445_develop
Browse files Browse the repository at this point in the history
MOSIP-28445 Merge pull request #1752 from sowmya695/health_check_camel
  • Loading branch information
vishwa-vyom authored Sep 7, 2023
2 parents ddbfe88 + a127eb7 commit 23f3476
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 23f3476

Please sign in to comment.