diff options
author | ilanap <ilanap@amdocs.com> | 2018-04-25 13:39:19 +0300 |
---|---|---|
committer | ilanap <ilanap@amdocs.com> | 2018-04-25 13:39:19 +0300 |
commit | ad3c41b5693b4f0b2a151e9c3221551e24f8264d (patch) | |
tree | 61eb7da7c28eb49c79a7df3991cf0e41c67dcf42 /openecomp-bdd/stepDefinitions/Utils.js | |
parent | c3c481660d3494fccfafcd3bacd3f5b8cd3ecd8e (diff) |
Fix for BDD multiple servers
Change-Id: Ibfc9813e471d4ac2509ee5e62828a07661cc704e
Issue-ID: SDC-1262
Signed-off-by: ilanap <ilanap@amdocs.com>
Diffstat (limited to 'openecomp-bdd/stepDefinitions/Utils.js')
-rw-r--r-- | openecomp-bdd/stepDefinitions/Utils.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); |