diff options
Diffstat (limited to 'ResmanagementService/service/src/integration-test/resources/testcase/limitsroa')
2 files changed, 44 insertions, 0 deletions
diff --git a/ResmanagementService/service/src/integration-test/resources/testcase/limitsroa/querycpulimitssuccess1.json b/ResmanagementService/service/src/integration-test/resources/testcase/limitsroa/querycpulimitssuccess1.json new file mode 100644 index 0000000..8b24164 --- /dev/null +++ b/ResmanagementService/service/src/integration-test/resources/testcase/limitsroa/querycpulimitssuccess1.json @@ -0,0 +1,23 @@ +{ + "request": { + "uri": "/openoapi/resmgr/v1/limits/1234/cpu?vimId=123", + "method": "get", + "headers": { + "Content-Type": "application/json;charset=UTF-8" + } + }, + "response": { + "status": 200, + "json": { + "limits": { + "rate": [], + "absolute": { + "maxTotalVolumes": 1000, + "totalVolumesUsed": 14, + "maxTotalVolumeGigabytes": 42000, + "totalGigabytesUsed":1054 + } + } + } + } +}
\ No newline at end of file diff --git a/ResmanagementService/service/src/integration-test/resources/testcase/limitsroa/querydisklimitssuccess1.json b/ResmanagementService/service/src/integration-test/resources/testcase/limitsroa/querydisklimitssuccess1.json new file mode 100644 index 0000000..7da9cdb --- /dev/null +++ b/ResmanagementService/service/src/integration-test/resources/testcase/limitsroa/querydisklimitssuccess1.json @@ -0,0 +1,21 @@ +{ + "request": { + "uri": "/openoapi/resmgr/v1/limits/1234/disk?vimId=123", + "method": "get", + "headers": { + "Content-Type": "application/json;charset=UTF-8" + } + }, + "response": { + "status": 200, + "json": { + "vimId": "123", + "vimName": "vim1", + "limits": { + "volumes": 1000, + "gigabytes": 42000, + "snapshots": 100 + } + } + } +}
\ No newline at end of file |