class DMaaPRestClient extends RestClient {

    @Override
    protected void initializeHeaderMap(Map<String, String> headerMap) {
        if (auth != null && !auth.isEmpty() && key != null && !key.isEmpty()) {
            addBasicAuthHeader(auth, key);
        }
        String onapRequestId = UUID.randomUUID().toString();
        headerMap.put(ONAPLogConstants.Headers.REQUEST_ID, onapRequestId);
        if (MDC.get(ONAPLogConstants.MDCs.REQUEST_ID) != null) {
            headerMap.put(ONAPLogConstants.Headers.INVOCATION_ID, MDC.get(ONAPLogConstants.MDCs.REQUEST_ID));
        }
    }

    public  DMaaPRestClient(URL url, String contentType, String auth, String key);

}