This patch will remove one vulnerability scaned by sonar
Change-Id: Ib7da230f262bd77ee839c4dcec7c9580eb97bbad
Issue-ID: MULTICLOUD-198
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
import os
# [MSB]
-MSB_SERVICE_IP = '127.0.0.1'
+MSB_SERVICE_IP = 'msb.onap.org'
MSB_SERVICE_PORT = '10080'
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)