blob: e30bdefeb619596726e69f46a3070f3169365a50 (
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.BasePresets;
import vid.automation.test.infra.Features;
/**
* Created by itzikliderman on 27/12/2017.
*/
public abstract class BaseMSOPreset extends BasePreset {
public static String getRequestBodyWithTestApiOnly() {
if (Features.FLAG_ADD_MSO_TESTAPI_FIELD.isActive()) {
return "" +
"{" +
" \"requestDetails\": { " +
" \"requestParameters\": { " +
" \"testApi\": \"GR_API\" " +
" } " +
" } " +
"} " +
"";
} else {
return null;
}
}
@Override
protected String getRootPath() {
return "/mso";
}
}
|