diff options
Diffstat (limited to 'vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/mso/PresetMSOServiceInstanceGen2ErrorResponse.java')
-rw-r--r-- | vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/mso/PresetMSOServiceInstanceGen2ErrorResponse.java | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/mso/PresetMSOServiceInstanceGen2ErrorResponse.java b/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/mso/PresetMSOServiceInstanceGen2ErrorResponse.java deleted file mode 100644 index 0bf60caf..00000000 --- a/vid-automation/src/main/java/org/opencomp/simulator/presetGenerator/presets/mso/PresetMSOServiceInstanceGen2ErrorResponse.java +++ /dev/null @@ -1,30 +0,0 @@ -package org.opencomp.simulator.presetGenerator.presets.mso; - -public class PresetMSOServiceInstanceGen2ErrorResponse extends PresetMSOBaseCreateServiceInstancePost { - - private final int responseCode; - - public PresetMSOServiceInstanceGen2ErrorResponse(int responseCode) { - this.responseCode = responseCode; - } - - @Override - public int getResponseCode() { - return responseCode; - } - - @Override - public String getReqPath() { - return getRootPath() + "/serviceInstantiation/v7/serviceInstances/assign"; - } - - @Override - public Object getResponseBody() { - return "{" + - " \"serviceException\": {" + - " \"messageId\": \"SVC0002\"," + - " \"text\": \"JSON Object Mapping Request\"" + - " }" + - "}"; - } -} |