From 40c1ddcef93d169922cdb2b95a817e2ff50a25ce Mon Sep 17 00:00:00 2001 From: Stavros Kanarakis Date: Wed, 27 Mar 2019 19:11:43 +0200 Subject: CSIT tests for bbs-event-processor Change-Id: Iaf4d5f47754489b111a0af90bf3cdf819d4e62f7 Issue-ID: DCAEGEN2-1355 Signed-off-by: Stavros Kanarakis --- .../bbs-testcases/assets/aai_records/aai_pnfs.json | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 tests/dcaegen2/bbs-testcases/assets/aai_records/aai_pnfs.json (limited to 'tests/dcaegen2/bbs-testcases/assets/aai_records/aai_pnfs.json') diff --git a/tests/dcaegen2/bbs-testcases/assets/aai_records/aai_pnfs.json b/tests/dcaegen2/bbs-testcases/assets/aai_records/aai_pnfs.json new file mode 100644 index 00000000..4ea7827f --- /dev/null +++ b/tests/dcaegen2/bbs-testcases/assets/aai_records/aai_pnfs.json @@ -0,0 +1,46 @@ +[ +{ + "pnf-name": "NVendor-Equip_Model-SN1234", + "in-maint": true, + "resource-version": "1551889263181", + "relationship-list": { + "relationship": [ + { + "related-to": "service-instance", + "relationship-label": "org.onap.relationships.inventory.ComposedOf", + "related-link": "/aai/v14/business/customers/customer/766162a3-53a9-42b8-8fe2-ebaa2213a6dd/service-subscriptions/service-subscription/BBS-CFS11/service-instances/service-instance/1923eaa8-8ab7-49ef-b4c2-e185efbbe832", + "relationship-data": [ + { + "relationship-key": "customer.global-customer-id", + "relationship-value": "766162a3-53a9-42b8-8fe2-ebaa2213a6dd" + }, + { + "relationship-key": "service-subscription.service-type", + "relationship-value": "BBS-CFS11" + }, + { + "relationship-key": "service-instance.service-instance-id", + "relationship-value": "1923eaa8-8ab7-49ef-b4c2-e185efbbe832" + } + ], + "related-to-property": [ + { + "property-key": "service-instance.service-instance-name" + } + ] + }, + { + "related-to": "logical-link", + "relationship-label": "org.onap.relationships.inventory.BridgedTo", + "related-link": "/aai/v14/network/logical-links/logical-link/olt11-11-11", + "relationship-data": [ + { + "relationship-key": "logical-link.link-name", + "relationship-value": "olt11-11-11" + } + ] + } + ] + } +} +] -- cgit 1.2.3-korg