From ad3c41b5693b4f0b2a151e9c3221551e24f8264d Mon Sep 17 00:00:00 2001 From: ilanap Date: Wed, 25 Apr 2018 13:39:19 +0300 Subject: Fix for BDD multiple servers Change-Id: Ibfc9813e471d4ac2509ee5e62828a07661cc704e Issue-ID: SDC-1262 Signed-off-by: ilanap --- openecomp-bdd/stepDefinitions/Utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openecomp-bdd/stepDefinitions/Utils.js') diff --git a/openecomp-bdd/stepDefinitions/Utils.js b/openecomp-bdd/stepDefinitions/Utils.js index 46534072f2..66e959f6e5 100644 --- a/openecomp-bdd/stepDefinitions/Utils.js +++ b/openecomp-bdd/stepDefinitions/Utils.js @@ -23,7 +23,7 @@ function _request(context, method, path, data, isBinary=false, type='onboarding' let options = { method: method, url: server + path, - headers: context.headers + headers: context.headers[type] }; console.log('--> Calling REST ' + options.method +' url: ' + options.url); @@ -106,7 +106,7 @@ function download(context, path, filePath, callback, type='onboarding') { let options = { method: 'GET', url: server + path, - headers: context.headers + headers: context.headers[type] }; console.log('--> Calling REST download url: ' + options.url); -- cgit 1.2.3-korg