diff options
author | kurczews <krzysztof.kurczewski@nokia.com> | 2018-08-13 12:51:39 +0200 |
---|---|---|
committer | kurczews <krzysztof.kurczewski@nokia.com> | 2018-08-13 12:51:39 +0200 |
commit | 9b45c01d9bb3a4565ed64c20e72511edc0854636 (patch) | |
tree | 3ae448fc167d820f8f1beaba501b30e05c5847d7 /vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestGetErrorResponse.java | |
parent | 5015d4aa2a7ba17d5e7024bf9ef344e7b320b9ab (diff) |
Renaming vid-automation #3
Change-Id: I5eabdb9d06ca9887808bb623dde09d038cf2de53
Issue-ID: VID-205
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestGetErrorResponse.java')
-rw-r--r-- | vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestGetErrorResponse.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestGetErrorResponse.java b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestGetErrorResponse.java new file mode 100644 index 00000000..dfd2c55d --- /dev/null +++ b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/mso/PresetMSOOrchestrationRequestGetErrorResponse.java @@ -0,0 +1,24 @@ +package org.onap.simulator.presetGenerator.presets.mso; + +public class PresetMSOOrchestrationRequestGetErrorResponse extends PresetMSOOrchestrationRequestGet { + private final int responseCode; + + public PresetMSOOrchestrationRequestGetErrorResponse(int responseCode) { + this.responseCode = responseCode; + } + + @Override + public int getResponseCode() { + return responseCode; + } + + @Override + public Object getResponseBody() { + return "{" + + " \"serviceException\": {" + + " \"messageId\": \"SVC0002\"," + + " \"text\": \"JSON Object Mapping Request\"" + + " }" + + "}"; + } +} |