Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

Commit

Permalink
Adding healthcheck endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Orf committed May 6, 2016
1 parent 7dfadf0 commit 484e3cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/ingest/controller/IngestController.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ public class IngestController {
@Autowired
private IngestThreadManager threadManager;

/**
* Healthcheck required for all Piazza Core Services
*
* @return String
*/
@RequestMapping(value = "/", method = RequestMethod.GET)
public String getHealthCheck() {
return "Hello, Health Check here for pz-ingest.";
}

/**
* Returns administrative statistics for this component.
*
Expand Down

0 comments on commit 484e3cb

Please sign in to comment.