aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/mappings
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/mappings')
-rw-r--r--src/test/resources/mappings/so_e2e_delete_service_instance.json15
-rw-r--r--src/test/resources/mappings/so_get_e2e.json25
-rw-r--r--src/test/resources/mappings/so_get_e2e_delete.json25
-rw-r--r--src/test/resources/mappings/so_post_e2e_create_service_instance.json18
4 files changed, 83 insertions, 0 deletions
diff --git a/src/test/resources/mappings/so_e2e_delete_service_instance.json b/src/test/resources/mappings/so_e2e_delete_service_instance.json
new file mode 100644
index 0000000..0b0615c
--- /dev/null
+++ b/src/test/resources/mappings/so_e2e_delete_service_instance.json
@@ -0,0 +1,15 @@
+{
+ "request": {
+ "method": "DELETE",
+ "url": "/ecomp/mso/infra/e2eServiceInstances/v3/e4688e5f-61a0-4f8b-ae02-a2fbde623bcb"
+ },
+ "response": {
+ "status": 202,
+ "headers": {
+ "Content-Type": "application/json"
+ },
+ "jsonBody": {
+ "operationId": "operationId"
+ }
+ }
+}
diff --git a/src/test/resources/mappings/so_get_e2e.json b/src/test/resources/mappings/so_get_e2e.json
new file mode 100644
index 0000000..e3bb36e
--- /dev/null
+++ b/src/test/resources/mappings/so_get_e2e.json
@@ -0,0 +1,25 @@
+{
+"request": {
+ "method": "GET",
+ "url": "/ecomp/mso/infra/e2eServiceInstances/v3/serviceId/operations/operationId"
+ },
+ "response": {
+ "status": 200,
+ "headers": {
+ "Content-Type": "application/json"
+ },
+ "jsonBody": {
+ "operation": {
+ "operationId": "operationid",
+ "operation": "create",
+ "result": "finished",
+ "reason": "",
+ "userid": "",
+ "operationContent": "Creating E2E SOTN Service",
+ "progress": 100,
+ "operateAt": "",
+ "finishedAt": ""
+ }
+ }
+ }
+}
diff --git a/src/test/resources/mappings/so_get_e2e_delete.json b/src/test/resources/mappings/so_get_e2e_delete.json
new file mode 100644
index 0000000..f6bc117
--- /dev/null
+++ b/src/test/resources/mappings/so_get_e2e_delete.json
@@ -0,0 +1,25 @@
+{
+ "request": {
+ "method": "GET",
+ "url": "/ecomp/mso/infra/e2eServiceInstances/v3/e4688e5f-61a0-4f8b-ae02-a2fbde623bcb/operations/operationId"
+ },
+ "response": {
+ "status": 200,
+ "headers": {
+ "Content-Type": "application/json"
+ },
+ "jsonBody": {
+ "operation": {
+ "operationId": "operationid",
+ "operation": "create",
+ "result": "finished",
+ "reason": "",
+ "userid": "",
+ "operationContent": "Creating E2E SOTN Service",
+ "progress": 100,
+ "operateAt": "",
+ "finishedAt": ""
+ }
+ }
+ }
+}
diff --git a/src/test/resources/mappings/so_post_e2e_create_service_instance.json b/src/test/resources/mappings/so_post_e2e_create_service_instance.json
new file mode 100644
index 0000000..a5b7cce
--- /dev/null
+++ b/src/test/resources/mappings/so_post_e2e_create_service_instance.json
@@ -0,0 +1,18 @@
+{
+ "request": {
+ "method": "POST",
+ "url": "/ecomp/mso/infra/e2eServiceInstances/v3"
+ },
+ "response": {
+ "status": 201,
+ "headers": {
+ "Content-Type": "application/json"
+ },
+ "jsonBody": {
+ "service": {
+ "serviceId": "serviceId",
+ "operationId": "operationId"
+ }
+ }
+ }
+}