Commit b9d67ca8 authored by Aalekh Jain's avatar Aalekh Jain
Browse files

Refactoring

parent 2c0d2d05
......@@ -3,17 +3,8 @@ package org.opengroup.osdu.azure.workflow.framework.util;
import lombok.ToString;
import lombok.extern.java.Log;
import java.util.HashMap;
import java.util.Map;
import static org.opengroup.osdu.workflow.consts.TestConstants.HEADER_DATA_PARTITION_ID;
@Log
@ToString
public abstract class HTTPClient extends org.opengroup.osdu.workflow.util.HTTPClient {
public Map<String, String> getCommonHeaderWithoutPartition() {
Map<String, String> headers = new HashMap<>();
headers.put(HEADER_DATA_PARTITION_ID, "");
return headers;
}
}
......@@ -57,4 +57,10 @@ public class HTTPClientAzure extends HTTPClient {
headers.put(HEADER_DATA_PARTITION_ID, getEnvironmentVariableOrDefaultKey(DEFAULT_DATA_PARTITION_ID_TENANT1));
return headers;
}
public Map<String, String> getCommonHeaderWithoutPartition() {
Map<String, String> headers = new HashMap<>();
headers.put(HEADER_DATA_PARTITION_ID, "");
return headers;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment