summaryrefslogtreecommitdiffstats
path: root/common/src
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2018-11-15 17:35:55 +0530
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2018-11-15 17:35:55 +0530
commit70c584bb6b6bb1bb1406c327bb8910e867bc0cab (patch)
tree40af582de3c60a46dab2cec3e5176c47d3dd3ac0 /common/src
parent0578fc4948e8e98e5fe92e63832336f0b7e17e85 (diff)
Fix auth for catalog db
Fix auth for catalog db. Change-Id: Ic787993f608b7ddf74167f7859a519ca02b794ed Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'common/src')
-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