diff options
Diffstat (limited to 'hv-collector-xnf-simulator/src')
-rw-r--r-- | hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/HttpServer.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/HttpServer.kt b/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/HttpServer.kt index de686bc5..e6025734 100644 --- a/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/HttpServer.kt +++ b/hv-collector-xnf-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/xnf/impl/HttpServer.kt @@ -66,6 +66,9 @@ internal class HttpServer(private val vesClient: XnfSimulator, .onError { handleException(it, ctx) } .then { sendAcceptedResponse(ctx) } } + .get("healthcheck") { ctx -> + ctx.response.status(STATUS_OK).send() + } } private fun sendAcceptedResponse(ctx: Context) { |