aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/mappings
diff options
context:
space:
mode:
authorMatthieuGeerebaert <matthieu.geerebaert@orange.com>2018-03-29 00:42:08 +0200
committerMatthieuGeerebaert <matthieu.geerebaert@orange.com>2018-04-03 23:48:32 +0200
commit7d695d108ce9f5fd5ee977fe12e47b704f507623 (patch)
tree42b4d6e72ef5546c2c9c100323b2db1b33c4ab84 /src/test/resources/mappings
parent9ac6c3cc7e3f4aec9ba69e7a5bb0800471c4e8dc (diff)
Add serviceOrder rest services
- Add create, get, find serviceOrder operations - Add tests - Add Mongo / Mysql / H2 datasource management ( H2 test ) - Add VSCode restclient samples with .settings to play with serviceOrder operations - Resolve conflict 40291, with cherry pick Change-Id: I81a76a211fe5526a3a31deb945770f0a5e2c195f Issue-ID: EXTAPI-42 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
Diffstat (limited to 'src/test/resources/mappings')
-rw-r--r--src/test/resources/mappings/sdc_find.json2
-rw-r--r--src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439.json2
-rw-r--r--src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439_tosca.json2
-rw-r--r--src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439_withoutTosca.json2
-rw-r--r--src/test/resources/mappings/so_delete_service_instance.json18
-rw-r--r--src/test/resources/mappings/so_get_.json20
-rw-r--r--src/test/resources/mappings/so_post_create_service_instance.json18
7 files changed, 60 insertions, 4 deletions
diff --git a/src/test/resources/mappings/sdc_find.json b/src/test/resources/mappings/sdc_find.json
index e992f2b..6aa4dc5 100644
--- a/src/test/resources/mappings/sdc_find.json
+++ b/src/test/resources/mappings/sdc_find.json
@@ -1,7 +1,7 @@
{
"request": {
"method": "GET",
- "urlPath": "/sdc/v1/catalog/services/"
+ "url": "/sdc/v1/catalog/services/"
},
"response": {
"status": 200,
diff --git a/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439.json b/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439.json
index 3aeff82..4956be7 100644
--- a/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439.json
+++ b/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439.json
@@ -1,7 +1,7 @@
{
"request": {
"method": "GET",
- "urlPath": "/sdc/v1/catalog/services/1e3feeb0-8e36-46c6-862c-236d9c626439/metadata"
+ "url": "/sdc/v1/catalog/services/1e3feeb0-8e36-46c6-862c-236d9c626439/metadata"
},
"response": {
"status": 200,
diff --git a/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439_tosca.json b/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439_tosca.json
index 2090397..ebf72bb 100644
--- a/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439_tosca.json
+++ b/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439_tosca.json
@@ -1,7 +1,7 @@
{
"request": {
"method": "GET",
- "urlPath": "/sdc/v1/catalog/services/1e3feeb0-8e36-46c6-862c-236d9c626439/toscaModel"
+ "url": "/sdc/v1/catalog/services/1e3feeb0-8e36-46c6-862c-236d9c626439/toscaModel"
},
"response": {
"status": 200,
diff --git a/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439_withoutTosca.json b/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439_withoutTosca.json
index 567503a..55edc99 100644
--- a/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439_withoutTosca.json
+++ b/src/test/resources/mappings/sdc_get_1e3feeb0-8e36-46c6-862c-236d9c626439_withoutTosca.json
@@ -1,7 +1,7 @@
{
"request": {
"method": "GET",
- "urlPath": "/sdc/v1/catalog/services/1e3feeb0-8e36-46c6-862c-236d9c626439_withoutTosca/metadata"
+ "url": "/sdc/v1/catalog/services/1e3feeb0-8e36-46c6-862c-236d9c626439_withoutTosca/metadata"
},
"response": {
"status": 200,
diff --git a/src/test/resources/mappings/so_delete_service_instance.json b/src/test/resources/mappings/so_delete_service_instance.json
new file mode 100644
index 0000000..a2e854e
--- /dev/null
+++ b/src/test/resources/mappings/so_delete_service_instance.json
@@ -0,0 +1,18 @@
+{
+ "request": {
+ "method": "DELETE",
+ "url": "/ecomp/mso/infra/serviceInstances/e4688e5f-61a0-4f8b-ae02-a2fbde623bcb"
+ },
+ "response": {
+ "status": 201,
+ "headers": {
+ "Content-Type": "application/json"
+ },
+ "jsonBody": {
+ "requestReference": {
+ "instanceId": "instanceId",
+ "requestId": "requestId"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/mappings/so_get_.json b/src/test/resources/mappings/so_get_.json
new file mode 100644
index 0000000..5d4148f
--- /dev/null
+++ b/src/test/resources/mappings/so_get_.json
@@ -0,0 +1,20 @@
+{
+ "request": {
+ "method": "GET",
+ "url": "/ecomp/mso/infra/orchestrationRequests/v4/requestId"
+ },
+ "response": {
+ "status": 200,
+ "headers": {
+ "Content-Type": "application/json"
+ },
+ "jsonBody": {
+ "request": {
+ "requestStatus": {
+ "requestState": "COMPLETE",
+ "percentProgress": 100
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/mappings/so_post_create_service_instance.json b/src/test/resources/mappings/so_post_create_service_instance.json
new file mode 100644
index 0000000..4b61b2c
--- /dev/null
+++ b/src/test/resources/mappings/so_post_create_service_instance.json
@@ -0,0 +1,18 @@
+{
+ "request": {
+ "method": "POST",
+ "url": "/ecomp/mso/infra/serviceInstance/v4"
+ },
+ "response": {
+ "status": 201,
+ "headers": {
+ "Content-Type": "application/json"
+ },
+ "jsonBody": {
+ "requestReference": {
+ "instanceId": "instanceId",
+ "requestId": "requestId"
+ }
+ }
+ }
+} \ No newline at end of file