aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/java/org/onap/simulator/presetGenerator/presets/BasePresets/BaseSDCPreset.java
blob: 1179bf46c78fb3b0c481b2a309f63ff389e26668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.onap.simulator.presetGenerator.presets.BasePresets;

import java.util.Map;

public abstract class BaseSDCPreset extends BasePreset {

    public static final String SDC_ROOT_PATH = "/sdc/v1/catalog/services";

    @Override
    protected String getRootPath() {
        return SDC_ROOT_PATH;
    }

    @Override
    public Map<String, String> getRequestHeaders() {
        Map<String, String> map = super.getRequestHeaders();
        map.put("X-ONAP-PartnerName", "VID.VID");
        map.put("X-InvocationID", UUID_REGEX);
        map.put("X-ONAP-RequestID", UUID_REGEX);
        return map;
    }

}