diff options
Diffstat (limited to 'vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleInstancePost.java')
-rw-r--r-- | vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleInstancePost.java | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleInstancePost.java b/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleInstancePost.java deleted file mode 100644 index 29452f4d2..000000000 --- a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/mso/PresetMSOCreateVfModuleInstancePost.java +++ /dev/null @@ -1,62 +0,0 @@ -package org.opencomp.simulator.presetGenerator.presets.mso; - -public class PresetMSOCreateVfModuleInstancePost extends PresetMSOBaseCreateServiceInstancePost{ - private String serviceInstanceId; - private String vnfInstanceId; - - public PresetMSOCreateVfModuleInstancePost(String serviceInstanceId, String vnfInstanceId) { - this.serviceInstanceId = serviceInstanceId; - this.vnfInstanceId = vnfInstanceId; - } - - @Override - public String getReqPath() { - return getRootPath() + "/serviceInstances/v./" + serviceInstanceId + "/vnfs/"+vnfInstanceId+"/vfModules"; - } - - @Override - public Object getRequestBody() { - return "{" + - "\"requestDetails\":{" + - "\"requestInfo\":{" + - "\"instanceName\":\"aa\"," + - "\"source\":\"VID\"," + - "\"suppressRollback\":false," + - "\"requestorId\":\"us16807000\"" + - "}," + - "\"modelInfo\":{" + - "\"modelType\":\"vfModule\"," + - "\"modelInvariantId\":\"\"," + - "\"modelVersionId\":\"\"," + - "\"modelName\":\"\"," + - "\"modelVersion\":\"\"," + - "\"modelCustomizationId\":\"\"," + - "\"modelCustomizationName\":\"\"" + - "}," + - "\"requestParameters\":{" + - "\"userParams\":[" + - "]," + - "\"usePreload\":false" + - "}," + - "\"cloudConfiguration\":{" + - "\"lcpCloudRegionId\":\"mdt1\"," + - "\"tenantId\":\"092eb9e8e4b7412e8787dd091bc58e86\"" + - "}," + - "\"relatedInstanceList\":[" + - "{" + - "\"relatedInstance\":{" + - "\"instanceId\":\"" + serviceInstanceId + "\","+ - "\"modelInfo\":{" + - "\"modelType\":\"service\"," + - "\"modelName\":\"Demo Service 1\"," + - "\"modelInvariantId\":\"709d1be4-9a3f-4a29-8c4d-a20465e808a3\"," + - "\"modelVersion\":\"1.0\"," + - "\"modelVersionId\":\"240376de-870e-48df-915a-31f140eedd2c\"" + - "}" + - "}" + - "}" + - "]" + - "}" + - "}"; - } -} |