Skip to content

Commit

Permalink
add ep: healthz for adservice2 (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: gang.liu <[email protected]>
  • Loading branch information
izturn authored Apr 26, 2024
1 parent 2d6febe commit f070549
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,10 @@ public Mono<String> getHttpStatus(ServerHttpResponse response, @PathVariable Str
response.setStatusCode(HttpStatus.valueOf(Integer.parseInt(statusCode)));
return Mono.just("ok");
}

@RequestMapping("/healthz")
public Mono<String> healthz() throws UnknownHostException {
return Mono.just("ok");
}

}

0 comments on commit f070549

Please sign in to comment.