From 056dcab91efc64b5f9fc39825f9242e7fa0b9d05 Mon Sep 17 00:00:00 2001 From: luxin Date: Mon, 3 Jul 2017 10:19:19 +0800 Subject: Upload nfvo resmanagement code Change-Id: Ibe023d4b09e1105b84eb43153b4d4037cae691db Signed-off-by: luxin --- .../resources/testcase/siteroa/modsitesfail1.json | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitesfail1.json (limited to 'ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitesfail1.json') diff --git a/ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitesfail1.json b/ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitesfail1.json new file mode 100644 index 0000000..2c1be4e --- /dev/null +++ b/ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitesfail1.json @@ -0,0 +1,30 @@ +{ + "request": { + "uri": "/openoapi/resmgr/v1/datacenters", + "method": "put", + "headers": { + "Content-Type": "application/json;charset=UTF-8" + }, + "json": { + "country": "china", + "id": "aaaa", + "location": "shanghai", + "name": "newName", + "status": "active", + "totalCPU": "100", + "totalDisk": "100", + "totalMemory": "100", + "usedCPU": "0", + "usedDisk": "0", + "usedMemory": "0", + "vimId": "123", + "vimName": "vimName" + } + }, + "response": { + "status": 200, + "json": { + "msg": "org.openo.nfvo.resmanage.common.update.error" + } + } +} \ No newline at end of file -- cgit 1.2.3-korg