summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/mocoserver/grantvnfresource.json
diff options
context:
space:
mode:
Diffstat (limited to 'huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/mocoserver/grantvnfresource.json')
-rw-r--r--huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/mocoserver/grantvnfresource.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/mocoserver/grantvnfresource.json b/huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/mocoserver/grantvnfresource.json
new file mode 100644
index 00000000..0d729e2a
--- /dev/null
+++ b/huawei/vnfmadapter/VnfmadapterService/service/src/integration-test/resources/vnfmadapter/mocoserver/grantvnfresource.json
@@ -0,0 +1,31 @@
+{
+ "request": {
+ "uri": "/rest/v1/resmanage/vappvm",
+ "method": "post",
+ "headers": {
+ "Content-Type": "application/json;charset=UTF-8"
+ },
+ "json": {
+ "vapp": {
+ "id": "",
+ "name": "",
+ "action": "",
+ "used": {
+ "vcpus": "",
+ "memory": "",
+ "disk": ""
+ },
+ "drTotal": {
+ "vcpus": "0",
+ "memory": "0",
+ "disk": "0"
+ }
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "json": {
+ }
+ }
+} \ No newline at end of file