summaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorromaingimbert <romain.gimbert@orange.com>2018-04-26 10:56:56 +0200
committerromaingimbert <romain.gimbert@orange.com>2018-04-26 10:58:04 +0200
commit29d157e1fa499b2f9ab134a627bf7543e7dd3409 (patch)
treecb36017a91824712ddb13071516f1ead7fcb3ff3 /src/test/resources
parent2aff8bb6713a6975af2b232dd5bc92175e3ab0f6 (diff)
service inventory empty when no service
- fix code when a service type has no service-instance Change-Id: I6035a459bdf90b724377acb76bb99be747bf03fb Issue-ID: EXTAPI-78 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/mappings/aai_get_6490_service-subscriptions.json14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/test/resources/mappings/aai_get_6490_service-subscriptions.json b/src/test/resources/mappings/aai_get_6490_service-subscriptions.json
index 5582990..4995025 100644
--- a/src/test/resources/mappings/aai_get_6490_service-subscriptions.json
+++ b/src/test/resources/mappings/aai_get_6490_service-subscriptions.json
@@ -13,7 +13,19 @@
},
{
"service-type": "vFW",
- "resource-version": "1519660513613"
+ "resource-version": "1519660513613",
+ "service-instances": {
+ "service-instance": [
+ {
+ "service-instance-id": "39ff3f9d-f210-4566-9d19-fa37edf1697d",
+ "service-instance-name": "vPCRF",
+ "model-invariant-id": "a09e799f-58eb-4c00-bfcc-4fa371a557e3",
+ "model-version-id": "4c393977-09ea-42c2-bcd9-f50302ebba48",
+ "resource-version": "1524672125232"
+ }
+ ]
+ }
+
}
]
},