diff options
author | 2019-06-14 22:15:52 +0000 | |
---|---|---|
committer | 2019-06-14 22:15:52 +0000 | |
commit | 639686e01af925f2be3bd0d3cd187be7df0b2cf8 (patch) | |
tree | 17a6cab254276f849ce61c3e1483df65eec00029 /src/main/java/org/onap/dcae/restapi/HealthCheckController.java | |
parent | c3a2fd25011e1777ef48d79632170c0ed913f928 (diff) | |
parent | 3c3c7ad09c02852cd0b4db03ecc9cc5c429cab08 (diff) |
Merge "VES Collector - Event Ordering"
Diffstat (limited to 'src/main/java/org/onap/dcae/restapi/HealthCheckController.java')
-rw-r--r-- | src/main/java/org/onap/dcae/restapi/HealthCheckController.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/main/java/org/onap/dcae/restapi/HealthCheckController.java b/src/main/java/org/onap/dcae/restapi/HealthCheckController.java index 9c65619c..77c6802a 100644 --- a/src/main/java/org/onap/dcae/restapi/HealthCheckController.java +++ b/src/main/java/org/onap/dcae/restapi/HealthCheckController.java @@ -21,16 +21,20 @@ package org.onap.dcae.restapi; -import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; - -@Controller +@RestController public class HealthCheckController { + @GetMapping("/") + public String main() { + return "Welcome to VESCollector"; + } + @GetMapping("/healthcheck") public String healthCheck() { - return "hello"; + return "I'm good"; } } |