Add health check
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
package com.mattrixwv.cipherstream.controller;
|
||||||
|
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
|
|
||||||
|
@Slf4j
|
||||||
|
@Controller
|
||||||
|
public class HealthCheckController{
|
||||||
|
@RequestMapping(value = "/health", method = RequestMethod.OPTIONS)
|
||||||
|
public void healthCheck(){
|
||||||
|
log.debug("Health check");
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user