1 package org.onap.simulator.presetGenerator.presets.aaf;
3 import com.google.common.collect.ImmutableMap;
4 import org.onap.simulator.presetGenerator.presets.BasePresets.BasePreset;
5 import org.springframework.http.HttpMethod;
9 public class AAFGetBasicAuthPreset extends BasePreset {
10 public static final String VALID_AUTH_VALUE = "bTEyMzRAYXR0LmNvbTphYWFh";
13 public HttpMethod getReqMethod() {
14 return HttpMethod.GET;
18 public String getReqPath() {
19 return "/authn/basicAuth";
23 protected String getRootPath() {
28 public Map<String, String> getRequestHeaders() {
29 return ImmutableMap.of("Authorization", "Basic " + VALID_AUTH_VALUE);