summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src/integration-test/resources/testcase/hostroa/createhostsfail1.json
diff options
context:
space:
mode:
Diffstat (limited to 'ResmanagementService/service/src/integration-test/resources/testcase/hostroa/createhostsfail1.json')
-rw-r--r--ResmanagementService/service/src/integration-test/resources/testcase/hostroa/createhostsfail1.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/ResmanagementService/service/src/integration-test/resources/testcase/hostroa/createhostsfail1.json b/ResmanagementService/service/src/integration-test/resources/testcase/hostroa/createhostsfail1.json
new file mode 100644
index 0000000..2966f48
--- /dev/null
+++ b/ResmanagementService/service/src/integration-test/resources/testcase/hostroa/createhostsfail1.json
@@ -0,0 +1,24 @@
+{
+ "request": {
+ "uri": "/openoapi/resmgr/v1/hosts",
+ "method": "post",
+ "headers": {
+ "Content-Type": "application/json;charset=UTF-8"
+ },
+ "json": {
+ "id":"12345678",
+ "name": "hostName",
+ "cpu": "20",
+ "memory": "8",
+ "disk": "100",
+ "vimId": "123",
+ "vimName": "456"
+ }
+ },
+ "response": {
+ "status": 200,
+ "json": {
+ "msg": "org.openo.nfvo.resmanage.service.host.add.id.check"
+ }
+ }
+} \ No newline at end of file