Merge "Use msb.onap.org as msb address"
authorLiang Ke <lokyse@163.com>
Tue, 27 Mar 2018 02:25:44 +0000 (02:25 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 27 Mar 2018 02:25:44 +0000 (02:25 +0000)
multivimbroker/multivimbroker/pub/config/config.py
multivimbroker/multivimbroker/tests/test_restcall.py

index 192c743..f814528 100644 (file)
@@ -13,7 +13,7 @@
 import os
 
 # [MSB]
-MSB_SERVICE_IP = '127.0.0.1'
+MSB_SERVICE_IP = 'msb.onap.org'
 MSB_SERVICE_PORT = '10080'
 
 
index 8ac1948..ea70dff 100644 (file)
@@ -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)