Skip to content

Commit

Permalink
sondes
Browse files Browse the repository at this point in the history
  • Loading branch information
khergalant committed Feb 27, 2024
1 parent 788324d commit c021654
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,16 @@ public class MainRest {
@Resource
private IndividuController individuController;

@GetMapping("/sondes/liveness")
@GetMapping("/health/liveness")
public String getLiveness() {
return "OK";
return "UP";
}

@GetMapping("/health/readiness")
public String getReadiness() {
return "UP";
}

//@PostMapping(value = "/user/create/", consumes = MediaType.APPLICATION_JSON_VALUE)
//@RequestMapping(value = "/user/create/", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
@PostMapping(value = "/user/create/", consumes = MediaType.APPLICATION_JSON_VALUE)
public void saveUser(@RequestBody final RestUser user) {
try {
Expand Down

0 comments on commit c021654

Please sign in to comment.