aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGokul Singaraju <gs244f@att.com>2018-05-02 14:56:44 -0400
committerGokul Singaraju <gs244f@att.com>2018-05-02 15:03:49 -0400
commit4571d99c799412d22e140ea8396ba9ad105626a8 (patch)
tree233f56fef309633d696f7aa5c888ee4d4d162f87
parent347c2965489f9b1ab7525ffb10f31792356d9def (diff)
Fix heartbeat port
Issue-ID: DCAEGEN2-485 Change-Id: Ib0fa11fc5a7f242f54052f3c198a42920b3f79a8 Signed-off-by: Gokul Singaraju <gs244f@att.com>
-rw-r--r--Dockerfile2
-rwxr-xr-xbin/check_health.py4
-rw-r--r--miss_htbt_service/config/config.yaml12
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