diff options
Diffstat (limited to 'vid-automation')
3 files changed, 33 insertions, 15 deletions
diff --git a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleALaCarteE2E.java b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleALaCarteE2E.java index 89744a723..e09f973d6 100644 --- a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleALaCarteE2E.java +++ b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleALaCarteE2E.java @@ -67,9 +67,12 @@ public class PresetMSOCreateVfModuleALaCarteE2E extends PresetMSOCreateVfModuleB + " }" + addRelatedInstance() + " ]," + " \"requestParameters\": {" - + " \"userParams\": [{" - + " \"param\": \"ABCD\"," - + " \"vnf_instance_name\": \"sample\"" + + " \"userParams\": [{" + + " \"name\": \"param\"," + + " \"value\": \"ABCD\"" + + " }, {" + + " \"name\": \"vnf_instance_name\"," + + " \"value\": \"sample\"" + " }" + " ]," + " \"testApi\": \"VNF_API\"" diff --git a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleWithVolumeGroupALaCarteCypress.java b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleWithVolumeGroupALaCarteCypress.java index 5a0b7525f..9d9984a22 100644 --- a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleWithVolumeGroupALaCarteCypress.java +++ b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleWithVolumeGroupALaCarteCypress.java @@ -93,14 +93,23 @@ public class PresetMSOCreateVfModuleWithVolumeGroupALaCarteCypress extends Prese " ]," + " \"requestParameters\":{" + addTestApi()+ - " \"userParams\":[{" + - " \"2017488_pasqualevpe0_vnf_instance_name\":\"mtnj309me6\"," + - " \"2017488_pasqualevpe0_vnf_config_template_version\":\"17.2\"," + - " \"pasqualevpe0_bandwidth\":\"10\"," + - " \"2017488_pasqualevpe0_AIC_CLLI\":\"ATLMY8GA\"," + - " \"pasqualevpe0_bandwidth_units\":\"Gbps\"" + - " }" + - " ]," + + "\"userParams\": [{" + + " \"name\": \"pasqualevpe0_bandwidth\"," + + " \"value\": \"10\"" + + " }, {" + + " \"name\": \"2017488_pasqualevpe0_vnf_instance_name\"," + + " \"value\": \"mtnj309me6\"" + + " }, {" + + " \"name\": \"2017488_pasqualevpe0_vnf_config_template_version\"," + + " \"value\": \"17.2\"" + + " }, {" + + " \"name\": \"2017488_pasqualevpe0_AIC_CLLI\"," + + " \"value\": \"ATLMY8GA\"" + + " }, {" + + " \"name\": \"pasqualevpe0_bandwidth_units\"," + + " \"value\": \"Gbps\"" + + " }" + + " ]," + " \"usePreload\":true" + " }" + " }" + diff --git a/vid-automation/src/main/resources/supplementaryFiles/sample.json b/vid-automation/src/main/resources/supplementaryFiles/sample.json index c7d245f43..68ad69ccf 100644 --- a/vid-automation/src/main/resources/supplementaryFiles/sample.json +++ b/vid-automation/src/main/resources/supplementaryFiles/sample.json @@ -1,4 +1,10 @@ -{ - "param": "ABCD", - "vnf_instance_name": "sample" -}
\ No newline at end of file +[ + { + "name": "param", + "value": "ABCD" + }, + { + "name": "vnf_instance_name", + "value": "sample" + } +] |