Fix the format of supplementary file and user params for aLaCarte requests
[vid.git] / vid-automation / src / main / java / org / onap / simulator / presetGenerator / presets / mso / PresetMSOCreateVfModuleALaCarteE2E.java
index 89744a7..e09f973 100644 (file)
@@ -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\""