From 569eaa5163b07d153c9b76195ecfd586bc84d7a7 Mon Sep 17 00:00:00 2001 From: Oleg Mitsura Date: Mon, 15 Apr 2019 14:56:44 -0400 Subject: Added health-check feature for SDC-Listener that will be neede by Liveness probe inside HELM chart. Issue-ID: CCSDK-1144 Change-Id: Ie6465a794a9c34136008892d141fe4662e41f6d7 Signed-off-by: Oleg Mitsura --- .../application/src/main/resources/application.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ms/cds-sdc-listener/application/src/main/resources') diff --git a/ms/cds-sdc-listener/application/src/main/resources/application.yml b/ms/cds-sdc-listener/application/src/main/resources/application.yml index cb1b54c96..0c2c60dca 100644 --- a/ms/cds-sdc-listener/application/src/main/resources/application.yml +++ b/ms/cds-sdc-listener/application/src/main/resources/application.yml @@ -18,4 +18,10 @@ listenerservice: grpcAddress: localhost grpcPort: 9111 authHeader: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== - +#port needed by Liveness probe +server: + port: 9000 +#set spring.main.web-environment=false if you want to NOT to open a port for healthcheck. +#spring: +# main: +# web-environment: false \ No newline at end of file -- cgit 1.2.3-korg