summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src/integration-test/resources/mocoserver/gethosts.json
diff options
context:
space:
mode:
Diffstat (limited to 'ResmanagementService/service/src/integration-test/resources/mocoserver/gethosts.json')
-rw-r--r--ResmanagementService/service/src/integration-test/resources/mocoserver/gethosts.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/ResmanagementService/service/src/integration-test/resources/mocoserver/gethosts.json b/ResmanagementService/service/src/integration-test/resources/mocoserver/gethosts.json
new file mode 100644
index 0000000..58d315b
--- /dev/null
+++ b/ResmanagementService/service/src/integration-test/resources/mocoserver/gethosts.json
@@ -0,0 +1,26 @@
+{
+ "request": {
+ "uri": "/openoapi/vimdriver/v1/[a-zA-Z0-9\\-\\_]{1,36}/hosts",
+ "method": "get",
+ "headers": {
+ "Content-Type": "application/json;charset=UTF-8"
+ },
+ "query": {
+ "vimId": "123",
+ "tenantId": "1234"
+ }
+ },
+ "response": {
+ "status": 200,
+ "json": {
+ "hosts": [
+ {
+ "host_name": "09c025b0efc64211bd23fc50fa974cdf",
+ "service": "compute",
+ "zone": "nova",
+ "vimId": "123",
+ "vimName": "vim"
+ }]
+ }
+ }
+} \ No newline at end of file