aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetMultipleVersion.java
diff options
context:
space:
mode:
authorAmichai Hemli <ah0398@intl.att.com>2019-03-18 10:07:02 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-18 10:07:02 +0000
commita036637a4d466662128cde1823816578e76c69e0 (patch)
treed58add45a75701717e67de676463fc6b15068f9d /vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetMultipleVersion.java
parent756a9c041981e05a3f5bd740ebc0d3fc22579003 (diff)
parent66af8b9b391879be78660d6ccb0a1f1f9340b423 (diff)
Merge "Merge automation from ECOMP's repository"
Diffstat (limited to 'vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetMultipleVersion.java')
-rw-r--r--vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetMultipleVersion.java59
1 files changed, 0 insertions, 59 deletions
diff --git a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetMultipleVersion.java b/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetMultipleVersion.java
deleted file mode 100644
index a9c63196a..000000000
--- a/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/aai/PresetAAIGetMultipleVersion.java
+++ /dev/null
@@ -1,59 +0,0 @@
-package org.onap.simulator.presetGenerator.presets.aai;
-
-public class PresetAAIGetMultipleVersion extends BasePresetAAIGetVersion {
- public String modelVersionId2;
- public String modelVersionId3;
- public PresetAAIGetMultipleVersion(String modelVersionId1,
- String modelVersionId2,
- String modelVersionId3,
- String modelInvariantId) {
- super( modelVersionId1, modelInvariantId);
- this.modelVersionId2 = modelVersionId2;
- this.modelVersionId3 = modelVersionId3;
- }
- public String getModelVersionId2() {
- return modelVersionId2;
- }
- public String getModelVersionId3() {
- return modelVersionId3;
- }
-
- @Override
- public Object getResponseBody() {
- return "{\"results\": [" +
- " {" +
- " \"model\": {" +
- " \"model-invariant-id\": \"" + getModelInvariantId() + "\"," +
- " \"model-type\": \"resource\"," +
- " \"resource-version\": \"1500138206526\"," +
- " \"model-vers\": {" +
- " \"model-ver\": [" +
- " {" +
- " \"model-version-id\": \"" + getModelVersionId1() + "\"," +
- " \"model-name\": \"action-data\"," +
- " \"model-version\": \"1.0\"," +
- " \"model-description\": \"decontamination arm circus ammonia hump edge\"," +
- " \"resource-version\": \"1500137463984\"" +
- " }," +
- " {" +
- " \"model-version-id\": \"" + getModelVersionId3() + "\"," +
- " \"model-name\": \"action-data\"," +
- " \"model-version\": \"3.0\"," +
- " \"model-description\": \"Non decontamination arm circus ammonia hump edge\"," +
- " \"resource-version\": \"1500137463986\"" +
- " }," +
- " {" +
- " \"model-version-id\": \"" + getModelVersionId2() + "\"," +
- " \"model-name\": \"action-data\"," +
- " \"model-version\": \"2.0\"," +
- " \"model-description\": \"The oldest one\"," +
- " \"resource-version\": \"1500137463980\"" +
- " }" +
- " ]" +
- " }" +
- " }" +
- " }" +
- " ]}";
- }
-
- } \ No newline at end of file