aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/stepDefinitions/VSP_steps.js
diff options
context:
space:
mode:
authorshrikantawachar <shrikant.awachar@amdocs.com>2018-07-14 00:18:09 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-07-15 05:30:15 +0000
commit3f55e8e7cff615f2f97d3e0d5def0c2f0d80cea5 (patch)
tree35f088ff634239ab6df01922bc3ff753344e833f /openecomp-bdd/stepDefinitions/VSP_steps.js
parente8a916c229e23ce406cae7d480a201eb505e9261 (diff)
Enhancement in md5 field of Image
Implementation and Flow tests Change-Id: I4c7e3dfe077ba43317cf0b06b0ea4d85bfb50da8 Issue-ID: SDC-1502 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
Diffstat (limited to 'openecomp-bdd/stepDefinitions/VSP_steps.js')
-rw-r--r--openecomp-bdd/stepDefinitions/VSP_steps.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/openecomp-bdd/stepDefinitions/VSP_steps.js b/openecomp-bdd/stepDefinitions/VSP_steps.js
index 1f753fef5e..b9b928a7f6 100644
--- a/openecomp-bdd/stepDefinitions/VSP_steps.js
+++ b/openecomp-bdd/stepDefinitions/VSP_steps.js
@@ -48,11 +48,14 @@ When('I want to create a VSP with onboarding type {string}', function(string) {
* @exampleFile Example_VSP.feature
* @step I want to create a VSP with onboarding type {string}
**/
-When('I want to create a VSP', function() {
- let inputData = util.getJSONFromFile('resources/json/createVSP.json');
+When('I want to create a VSP with onboarding type Manual', function() {
+ let inputData = util.getJSONFromFile('resources/json/createManualVSP.json');
inputData.vendorName = this.context.vlm.name;
inputData.vendorId = this.context.vlm.id;
inputData.name = util.random();
+ inputData.licensingVersion = this.context.licensingVersion;
+ inputData.licensingData.licenseAgreement = this.context.licenseAgreement;
+ inputData.licensingData.featureGroups[0] = this.context.featureGroupId;
let path = '/vendor-software-products';
return util.request(this.context, 'POST', path, inputData).then(result => {
this.context.item = {id : result.data.itemId, versionId: result.data.version.id};