blob: cb2276829f3e356f798fe4084b7c4b0b61fccacc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
package org.opencomp.simulator.presetGenerator.presets.sdc;
import org.springframework.http.HttpMethod;
/**
* Created by itzikliderman on 21/12/2017.
*/
public class PresetSDCGetServiceToscaModelGet extends SdcPresetWithModelVersionId {
private String file;
public PresetSDCGetServiceToscaModelGet(String modelVersionId, String file) {
super(modelVersionId);
this.file = file;
}
public HttpMethod getReqMethod() {
return HttpMethod.GET;
}
@Override
public String getReqPath() {
return super.getReqPath()+"/toscaModel";
}
@Override
public String getFile() {
return file;
}
}
|