summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitessuccess1.json
diff options
context:
space:
mode:
Diffstat (limited to 'ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitessuccess1.json')
-rw-r--r--ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitessuccess1.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitessuccess1.json b/ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitessuccess1.json
new file mode 100644
index 0000000..da19356
--- /dev/null
+++ b/ResmanagementService/service/src/integration-test/resources/testcase/siteroa/modsitessuccess1.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": "12345678",
+ "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.success"
+ }
+ }
+} \ No newline at end of file