summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Lynn <ethanlynnl@vmware.com>2018-03-26 12:30:08 -0700
committerEthan Lynn <ethanlynnl@vmware.com>2018-03-26 12:31:12 -0700
commitffb081ac0880987d1ab8ea11c90e52eb8a8d1db5 (patch)
tree25d7e8114617c3ed3445053a540729d44740f87f
parent3566b3cb03fd2c6d255a0a3783834154cc5e4484 (diff)
Use msb.onap.org as msb address
This patch will remove one vulnerability scaned by sonar Change-Id: Ib7da230f262bd77ee839c4dcec7c9580eb97bbad Issue-ID: MULTICLOUD-198 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
-rw-r--r--multivimbroker/multivimbroker/pub/config/config.py2
-rw-r--r--multivimbroker/multivimbroker/tests/test_restcall.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/multivimbroker/multivimbroker/pub/config/config.py b/multivimbroker/multivimbroker/pub/config/config.py
index 192c743..f814528 100644
--- a/multivimbroker/multivimbroker/pub/config/config.py
+++ b/multivimbroker/multivimbroker/pub/config/config.py
@@ -13,7 +13,7 @@
import os
# [MSB]
-MSB_SERVICE_IP = '127.0.0.1'
+MSB_SERVICE_IP = 'msb.onap.org'
MSB_SERVICE_PORT = '10080'
diff --git a/multivimbroker/multivimbroker/tests/test_restcall.py b/multivimbroker/multivimbroker/tests/test_restcall.py
index 8ac1948..ea70dff 100644
--- a/multivimbroker/multivimbroker/tests/test_restcall.py
+++ b/multivimbroker/multivimbroker/tests/test_restcall.py
@@ -49,7 +49,7 @@ class TestRestCall(unittest.TestCase):
content = "no content"
headers = None
restcall.req_by_msb(res, method, content=content, headers=headers)
- expect_url = "http://127.0.0.1:10080/"
+ expect_url = "http://msb.onap.org:10080/"
mock_call.assert_called_once_with(
expect_url, "", "", restcall.rest_no_auth, res, method,
content, headers)