summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/testcase/authroa/addauthinfosuccess.json
diff options
context:
space:
mode:
Diffstat (limited to 'huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/testcase/authroa/addauthinfosuccess.json')
-rw-r--r--huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/testcase/authroa/addauthinfosuccess.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/testcase/authroa/addauthinfosuccess.json b/huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/testcase/authroa/addauthinfosuccess.json
new file mode 100644
index 00000000..cd4398bd
--- /dev/null
+++ b/huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/testcase/authroa/addauthinfosuccess.json
@@ -0,0 +1,36 @@
+{
+ "request": {
+ "uri": "/rest/vnfmmed/v2/auth/tokens",
+ "method": "post",
+ "headers": {
+ "Content-Type": "application/json;charset=UTF-8"
+ },
+ "json": {
+ "auth": {
+ "identity": {
+ "methods": ["password"],
+ "password": {
+ "user": {
+ "name": "admin",
+ "password": "User@123"
+ }
+ }
+ }
+ }
+ }
+ },
+ "response": {
+ "status": 201,
+ "json": {
+ "token": {
+ "methods": ["password"],
+ "expires_at": "",
+ "user": {
+ "id": "admin",
+ "name": "admin"
+ },
+ "roa_rand": "RoaRand"
+ }
+ }
+ }
+} \ No newline at end of file