From 8f848c65ee0000bb4211b228cf66ace774a8d9c6 Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Sun, 12 Aug 2018 15:23:14 +0300 Subject: vid-simulator dev and test tool Change-Id: I38e7eead042bde3beeebbdf4e05a7f62f174fd1e Issue-ID: VID-281 Signed-off-by: Sonsino, Ofir (os0695) --- .../post_mso_create_service_instance.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 vid-ext-services-simulator/src/main/resources/preset_registration/post_mso_create_service_instance.json (limited to 'vid-ext-services-simulator/src/main/resources/preset_registration/post_mso_create_service_instance.json') diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/post_mso_create_service_instance.json b/vid-ext-services-simulator/src/main/resources/preset_registration/post_mso_create_service_instance.json new file mode 100644 index 000000000..43248da2d --- /dev/null +++ b/vid-ext-services-simulator/src/main/resources/preset_registration/post_mso_create_service_instance.json @@ -0,0 +1,22 @@ +[ + { + "simulatorRequest": { + "method": "POST", + "path": "/mso/serviceInstances/v6" + }, + "simulatorResponse": { + "responseCode": 202, + "body": {"requestReferences":{"instanceId":"f8791436-8d55-4fde-b4d5-72dd2cf13cfb","requestId":"c0011670-0e1a-4b74-945d-8bf5aede1d9c"}} + } + }, + { + "simulatorRequest": { + "method": "GET", + "path": "/mso/orchestrationRequests/v5/c0011670-0e1a-4b74-945d-8bf5aede1d9c" + }, + "simulatorResponse": { + "responseCode": 200, + "body": {"request":{"requestId":"c0011670-0e1a-4b74-945d-8bf5aede1d9c","startTime":"Mon, 11 Dec 2017 07:27:49 GMT","requestScope":"service","requestType":"createInstance","instanceReferences":{"serviceInstanceId":"f8791436-8d55-4fde-b4d5-72dd2cf13cfb","serviceInstanceName":"asdfasdf234234asdf","requestorId":"il883e"},"requestStatus":{"requestState":"COMPLETE","statusMessage":"Service Instance was created successfully.","percentProgress":100,"finishTime":"Mon, 11 Dec 2017 07:27:53 GMT"}}} + } + } +] \ No newline at end of file -- cgit 1.2.3-korg