Renaming vid-automation #1
[vid.git] / vid-automation / src / main / java / org / onap / simulator / presetGenerator / presets / aai / PresetAAIGetTenants.java
1 package org.onap.simulator.presetGenerator.presets.aai;
2
3 import org.onap.simulator.presetGenerator.presets.BasePresets.BaseAAIPreset;
4 import org.springframework.http.HttpMethod;
5
6 import static vid.automation.test.utils.ReadFile.loadResourceAsString;
7
8 public class PresetAAIGetTenants extends BaseAAIPreset {
9
10     @Override
11     public Object getResponseBody() {
12         return responseBody;
13     }
14
15     @Override
16     public HttpMethod getReqMethod() {
17         return HttpMethod.GET;
18     }
19
20     @Override
21     public String getReqPath() {
22         return getRootPath() + "/business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/VIRTUAL USP";
23     }
24
25     private String responseBody = loadResourceAsString("presets_templates/PresetAAIGetTenants.json");
26
27 }