summaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorromaingimbert <romain.gimbert@orange.com>2018-04-23 15:44:32 +0200
committerromaingimbert <romain.gimbert@orange.com>2018-04-23 15:46:03 +0200
commit3e79da4249c0c76ddf25af5c0447fa41f2eceeed (patch)
tree8d643b21c98ef14be670cf8a2690b2a9acb5d8f5 /src/test/resources
parent8252e55861286bfea1aa910b6a543cdbdde15808 (diff)
fix NPE on NBI serviceInventory
- test with service without vnf Change-Id: If92057a04e2d3263876d87a54588b4b8ca53a8d0 Issue-ID: EXTAPI-69 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/mappings/aai_get_service-subscriptionWithoutList.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/resources/mappings/aai_get_service-subscriptionWithoutList.json b/src/test/resources/mappings/aai_get_service-subscriptionWithoutList.json
new file mode 100644
index 0000000..2765c77
--- /dev/null
+++ b/src/test/resources/mappings/aai_get_service-subscriptionWithoutList.json
@@ -0,0 +1,19 @@
+{
+ "request": {
+ "method": "GET",
+ "url": "/aai/v11/business/customers/customer/6490/service-subscriptions/service-subscription/vFW/service-instances/service-instance/e4688e5f-61a0-4f8b-ae02-a2fbde623bcbWithoutList"
+ },
+ "response": {
+ "status": 200,
+ "jsonBody": {
+ "service-instance-id": "e4688e5f-61a0-4f8b-ae02-a2fbde623bcb",
+ "service-instance-name": "NewFreeRadius-service-instance-01",
+ "model-invariant-id": "709d157b-52fb-4250-976e-7133dff5c347",
+ "model-version-id": "98d95267-5e0f-4531-abf8-f14b90031dc5",
+ "resource-version": "1518508381261"
+ },
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+} \ No newline at end of file