From 4571d99c799412d22e140ea8396ba9ad105626a8 Mon Sep 17 00:00:00 2001 From: Gokul Singaraju Date: Wed, 2 May 2018 14:56:44 -0400 Subject: Fix heartbeat port Issue-ID: DCAEGEN2-485 Change-Id: Ib0fa11fc5a7f242f54052f3c198a42920b3f79a8 Signed-off-by: Gokul Singaraju --- Dockerfile | 2 +- bin/check_health.py | 4 ++-- miss_htbt_service/config/config.yaml | 12 ------------ 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 50e66dd..cb4bc48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN mkdir /tmp/config #RUN echo 1234 > /tmp/config/coll_port.txt #RUN echo 4.5.6.7 > /tmp/config/pol_ip.txt #RUN echo 4567 > /tmp/config/pol_port.txt -EXPOSE 10000 +EXPOSE 10001 #ENV PYTHONPATH="/usr/local/lib/python3.6:/usr/local/lib/python3.6/site-packages:${PATH}" #ENV PYTHONPATH="/usr/local/lib/python3.6/site-packages:/usr/local/lib/python3.6" diff --git a/bin/check_health.py b/bin/check_health.py index 53e9da6..ae61881 100755 --- a/bin/check_health.py +++ b/bin/check_health.py @@ -61,6 +61,6 @@ class GetHandler(BaseHTTPRequestHandler): if __name__ == '__main__': from http.server import HTTPServer #from BaseHTTPServer import HTTPServer - server = HTTPServer(("", 10000), GetHandler) - print('Starting server at http://localhost:10000') + server = HTTPServer(("", 10001), GetHandler) + print('Starting server at http://localhost:10001') server.serve_forever() diff --git a/miss_htbt_service/config/config.yaml b/miss_htbt_service/config/config.yaml index bccf034..0dcc8bf 100644 --- a/miss_htbt_service/config/config.yaml +++ b/miss_htbt_service/config/config.yaml @@ -13,16 +13,4 @@ vnfs: - VESCOLL-VNFNJ-SECHEARTBEAT-OUTPUT - DCAE-POLICY-HILOTCA-EVENT-OUTPUT - ControlLoopEvent1 - vnfb: - - 3 - - 30 - - intopic1 - - outtopic1 - - ControlLoopEvent2 - vnfc: - - 3 - - 30 - - intopic2 - - outtopic2 - - ControlLoopEvent3 -- cgit 1.2.3-korg