Skip to content

Commit

Permalink
Need to add status check to get healthy upstream (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinAllen authored Oct 28, 2024
1 parent 3b0c888 commit 277aa76
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.springframework.samples.petclinic.system;

import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseStatus;

@Controller
public class StatusController {
@GetMapping("/check")
@ResponseStatus(HttpStatus.OK)
public void Check() {
// all good
}

}

0 comments on commit 277aa76

Please sign in to comment.