summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src/integration-test/resources/testcase/portroa/queryportsbyidsuccess1.json
diff options
context:
space:
mode:
Diffstat (limited to 'ResmanagementService/service/src/integration-test/resources/testcase/portroa/queryportsbyidsuccess1.json')
-rw-r--r--ResmanagementService/service/src/integration-test/resources/testcase/portroa/queryportsbyidsuccess1.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/ResmanagementService/service/src/integration-test/resources/testcase/portroa/queryportsbyidsuccess1.json b/ResmanagementService/service/src/integration-test/resources/testcase/portroa/queryportsbyidsuccess1.json
new file mode 100644
index 0000000..4fe360f
--- /dev/null
+++ b/ResmanagementService/service/src/integration-test/resources/testcase/portroa/queryportsbyidsuccess1.json
@@ -0,0 +1,23 @@
+{
+ "request": {
+ "uri": "/openoapi/resmgr/v1/ports/12345678",
+ "method": "get",
+ "headers": {
+ "Content-Type": "application/json;charset=UTF-8"
+ }
+ },
+ "response": {
+ "status": 200,
+ "json": {
+ "ports": [{
+ "id": "12345678",
+ "name": "portName",
+ "networkId": "1111",
+ "status": "ACTIVE",
+ "tenantId": "123456",
+ "vimId": "11",
+ "vimName": "22"
+ }]
+ }
+ }
+} \ No newline at end of file