1ccf8b9eae70f6d725e2e822aa92b9c95955797f
[sandbox-vid.git] /
1 package org.opencomp.simulator.presetGenerator.presets.aai;
2
3 public class PresetAAIGetOneVersion extends BasePresetAAIGetVersion {
4
5     public PresetAAIGetOneVersion(String modelVersionId1,
6                                        String modelInvariantId) {
7         super(modelVersionId1, modelInvariantId);
8     }
9
10     @Override
11     public Object getResponseBody() {
12         return "{\"results\": [" +
13                 "        {" +
14                 "          \"model\": {" +
15                 "            \"model-invariant-id\": \"" + getModelInvariantId() + "\"," +
16                 "            \"model-type\": \"resource\"," +
17                 "            \"resource-version\": \"1500138206526\"," +
18                 "            \"model-vers\": {" +
19                 "              \"model-ver\": [" +
20                 "                {" +
21                 "                  \"model-version-id\": \"" + getModelVersionId1() + "\"," +
22                 "                  \"model-name\": \"action-data\"," +
23                 "                  \"model-version\": \"1.0\"," +
24                 "                  \"model-description\": \"decontamination arm circus ammonia hump edge\"," +
25                 "                  \"resource-version\": \"1500137463984\"" +
26                 "                }" +
27                 "              ]" +
28                 "            }" +
29                 "          }" +
30                 "        }" +
31                 "     ]}";
32     }
33 }