Fix for adding BDD config changes
Change-Id: I62f79a56a73ff8a546ecef407c3966b93de23a2e
Issue-ID: SDC-990
Signed-off-by: ilanap <ilanap@amdocs.com>
diff --git a/openecomp-bdd/stepDefinitions/Utils.js b/openecomp-bdd/stepDefinitions/Utils.js
index 4a54ebe..4653407 100644
--- a/openecomp-bdd/stepDefinitions/Utils.js
+++ b/openecomp-bdd/stepDefinitions/Utils.js
@@ -25,6 +25,8 @@
url: server + path,
headers: context.headers
};
+ console.log('--> Calling REST ' + options.method +' url: ' + options.url);
+
return new Promise(function (resolve, reject) {
if (method === 'POST' || method === 'PUT') {
if (isBinary) {
@@ -106,6 +108,8 @@
url: server + path,
headers: context.headers
};
+ console.log('--> Calling REST download url: ' + options.url);
+
var file = fs.createWriteStream(filePath);
var r = request(options).pipe(file);
r.on('error', function (err) {