diff options
author | talig <talig@amdocs.com> | 2018-08-09 13:13:23 +0300 |
---|---|---|
committer | talig <talig@amdocs.com> | 2018-08-09 13:13:23 +0300 |
commit | ff78ef472f8e481afb39f24a1d37737ef8dfab60 (patch) | |
tree | 2116f2cbc63de2bf82dbf358dbf16268a900a2d0 /workflow-bdd/stepDefinitions/Utils.js | |
parent | 923910109f7796aca1263df1a7fa13f7d6bc072c (diff) |
Add activity spec code
Move code from sdc repository and:
1. place according to this project structure
2. refactor DTOs and use mapstruct
3. change errorResponse to be a json instead of a string (for all workflow code)
Change-Id: Ia85590b53ab59ff7600e05b8a6d52e06b1773220
Issue-ID: SDC-1606
Signed-off-by: talig <talig@amdocs.com>
Diffstat (limited to 'workflow-bdd/stepDefinitions/Utils.js')
-rw-r--r-- | workflow-bdd/stepDefinitions/Utils.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/workflow-bdd/stepDefinitions/Utils.js b/workflow-bdd/stepDefinitions/Utils.js index 6f8a7a5c..9f398169 100644 --- a/workflow-bdd/stepDefinitions/Utils.js +++ b/workflow-bdd/stepDefinitions/Utils.js @@ -17,7 +17,7 @@ const request = require('request'); const fs = require('fs'); require('node-zip'); -function _request(context, method, path, data, isBinary=false, type='onboarding') { +function _request(context, method, path, data, isBinary=false, type='workflow') { let server = context.getUrlForType(type); let options = { @@ -106,7 +106,7 @@ function _request(context, method, path, data, isBinary=false, type='onboarding' }); } -function download(context, path, filePath, callback, type='onboarding') { +function download(context, path, filePath, callback, type='workflow') { let server = context.getUrlForType(type); let options = { method: 'GET', |