summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2018-11-15 15:21:25 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-15 15:21:25 +0000
commit1c47acb0e6f8b9624fd8e71ed09491f57dd1a3e0 (patch)
tree2677621a0b4cb37ed40ec79c93d9d10ea7c6dcf7 /common
parentcc4ce80333d6258d4755f812c7933519af61476b (diff)
parent70c584bb6b6bb1bb1406c327bb8910e867bc0cab (diff)
Merge "Fix auth for catalog db" into casablanca
Diffstat (limited to 'common')
-rw-r--r--common/src/main/java/org/onap/so/client/HttpClient.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/src/main/java/org/onap/so/client/HttpClient.java b/common/src/main/java/org/onap/so/client/HttpClient.java
index ad13745919..9c4b5731fb 100644
--- a/common/src/main/java/org/onap/so/client/HttpClient.java
+++ b/common/src/main/java/org/onap/so/client/HttpClient.java
@@ -42,7 +42,8 @@ public class HttpClient extends RestClient {
@Override
protected void initializeHeaderMap(Map<String, String> headerMap) {
-
+ headerMap.put("Authorization", "Basic YnBlbDpwYXNzd29yZDEk");
+ headerMap.put("content-type", "application/json");
}
@Override