aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorromaingimbert <romain.gimbert@orange.com>2018-07-06 11:54:49 +0200
committerromaingimbert <romain.gimbert@orange.com>2018-07-06 12:26:03 +0200
commit7f3ac1ec967c0768c3807c1d980e4b6b658d7ec0 (patch)
tree6c876ff62b462eecac5ed989198c49fe164e90ef /src/test/resources
parent41c7f9dab184a49808104b308a57409f4ee8a1b1 (diff)
adapt NBI to Beijing
-change SO Url to "v6" -add xtransactionid in AAI request header -add fields Project and OwningEntity in SO request -fix tests Change-Id: I61f3ef9f99f4d200cc8f04e7f4929dc1fddf130a Issue-ID: EXTAPI-117 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/application.properties4
-rw-r--r--src/test/resources/mappings/so_delete_service_instance.json2
-rw-r--r--src/test/resources/mappings/so_get_.json2
-rw-r--r--src/test/resources/mappings/so_post_create_service_instance.json2
4 files changed, 7 insertions, 3 deletions
diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties
index f6df654..1361d42 100644
--- a/src/test/resources/application.properties
+++ b/src/test/resources/application.properties
@@ -39,11 +39,15 @@ sdc.header.authorization=Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2Y
aai.host=http://127.0.0.1:8091
aai.header.authorization=Basic QUFJOkFBSQ==
aai.api.id=AAI
+aai.header.transaction.id=808b54e3-e563-4144-a1b9-e24e2ed93d4f
# SO
so.host=http://127.0.0.1:8091
so.header.authorization=
so.api.id=SO
+so.owning.entity.id=6b5b6b70-4e9a-4f6f-8b7b-cbd7cf990c6e
+so.owning.entity.name=OE-generic
+so.project.name=Project-generic
# H2
spring.datasource.url=jdbc:h2:mem:~/db;DB_CLOSE_ON_EXIT=false
diff --git a/src/test/resources/mappings/so_delete_service_instance.json b/src/test/resources/mappings/so_delete_service_instance.json
index b294d0b..141b877 100644
--- a/src/test/resources/mappings/so_delete_service_instance.json
+++ b/src/test/resources/mappings/so_delete_service_instance.json
@@ -1,7 +1,7 @@
{
"request": {
"method": "DELETE",
- "url": "/ecomp/mso/infra/serviceInstances/v4/e4688e5f-61a0-4f8b-ae02-a2fbde623bcb"
+ "url": "/ecomp/mso/infra/serviceInstances/v6/e4688e5f-61a0-4f8b-ae02-a2fbde623bcb"
},
"response": {
"status": 202,
diff --git a/src/test/resources/mappings/so_get_.json b/src/test/resources/mappings/so_get_.json
index 5d4148f..6fc9c9c 100644
--- a/src/test/resources/mappings/so_get_.json
+++ b/src/test/resources/mappings/so_get_.json
@@ -1,7 +1,7 @@
{
"request": {
"method": "GET",
- "url": "/ecomp/mso/infra/orchestrationRequests/v4/requestId"
+ "url": "/ecomp/mso/infra/orchestrationRequests/v6/requestId"
},
"response": {
"status": 200,
diff --git a/src/test/resources/mappings/so_post_create_service_instance.json b/src/test/resources/mappings/so_post_create_service_instance.json
index f5aaa90..7724860 100644
--- a/src/test/resources/mappings/so_post_create_service_instance.json
+++ b/src/test/resources/mappings/so_post_create_service_instance.json
@@ -1,7 +1,7 @@
{
"request": {
"method": "POST",
- "url": "/ecomp/mso/infra/serviceInstances/v4"
+ "url": "/ecomp/mso/infra/serviceInstances/v6"
},
"response": {
"status": 201,