summaryrefslogtreecommitdiffstats
path: root/prh-app-server
diff options
context:
space:
mode:
authorpwielebs <piotr.wielebski@nokia.com>2018-06-05 12:19:28 +0200
committerLusheng Ji <lji@research.att.com>2018-06-05 14:35:53 +0000
commit07ebdbb579bc2b9ef1f0e26d0c98d2c0fdcd353d (patch)
tree759f4ad513f7cdd18a0c6529046817548f88607a /prh-app-server
parente30c7d54b34daf855303f32035827ee19555b536 (diff)
basic authentication for AAI Producer Client2.0.0-ONAPbeijing2.0.0-ONAP
Change-Id: I087db36dc3c60015f91de5fde49358b18564ab9e Issue-ID: DCAEGEN2-451 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Diffstat (limited to 'prh-app-server')
-rw-r--r--prh-app-server/config/prh_endpoints.json7
-rw-r--r--prh-app-server/src/test/resources/prh_endpoints.json7
2 files changed, 6 insertions, 8 deletions
diff --git a/prh-app-server/config/prh_endpoints.json b/prh-app-server/config/prh_endpoints.json
index 8aed235f..f5f79590 100644
--- a/prh-app-server/config/prh_endpoints.json
+++ b/prh-app-server/config/prh_endpoints.json
@@ -29,8 +29,8 @@
"aaiHost": "localhost",
"aaiHostPortNumber": 8080,
"aaiProtocol": "https",
- "aaiUserName": "admin",
- "aaiUserPassword": "admin",
+ "aaiUserName": "AAI",
+ "aaiUserPassword": "AAI",
"aaiIgnoreSSLCertificateErrors": true,
"aaiBasePath": "/aai/v12",
"aaiPnfPath": "/network/pnfs/pnf",
@@ -38,8 +38,7 @@
"X-FromAppId": "prh",
"X-TransactionId": "9999",
"Accept": "application/json",
- "Real-Time": "true",
- "Authorization": "Basic QUFJOkFBSQ=="
+ "Real-Time": "true"
}
}
}
diff --git a/prh-app-server/src/test/resources/prh_endpoints.json b/prh-app-server/src/test/resources/prh_endpoints.json
index 0fe4b276..b45ce485 100644
--- a/prh-app-server/src/test/resources/prh_endpoints.json
+++ b/prh-app-server/src/test/resources/prh_endpoints.json
@@ -6,16 +6,15 @@
"aaiHostPortNumber": 8080,
"aaiIgnoreSSLCertificateErrors": true,
"aaiProtocol": "https",
- "aaiUserName": "admin",
- "aaiUserPassword": "admin",
+ "aaiUserName": "AAI",
+ "aaiUserPassword": "AAI",
"aaiBasePath": "/aai/v11",
"aaiPnfPath": "/network/pnfs/pnf",
"aaiHeaders": {
"X-FromAppId": "prh",
"X-TransactionId": "9999",
"Accept": "application/json",
- "Real-Time": "true",
- "Authorization": "Basic QUFJOkFBSQ=="
+ "Real-Time": "true"
}
}
},