From f78df9f30d5b7bda1b291bff34dd85bdd9411c12 Mon Sep 17 00:00:00 2001 From: "PATTANAYAK, SAUMYA SWARUP (sp931a)" Date: Wed, 22 Sep 2021 10:22:53 -0400 Subject: AAI Query optimization for VID Issue-ID: VID-986 Change-Id: Ia3e012c41df4e9049ce9a1ae56ec83b276e11611 Signed-off-by: PATTANAYAK, SAUMYA SWARUP (sp931a) --- .../app/vid/scripts/controller/aaiSubscriberController.test.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.test.js') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.test.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.test.js index 03a299877..2478797fb 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.test.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.test.js @@ -691,6 +691,14 @@ describe('aaiSubscriberController testing', () => { }); }; + mockAaiService.getSubscriberNameAndServiceInstanceInfo = (customerId, serviceInstanceId, serviceIdentifierType, subscriberName, successFunction) => { + successFunction({"serviceInstanceId":"5d942bc7-3acf-4e35-836a-393619ebde66", + "serviceInstanceName":"dpa2actsf5001v_Port_Mirroring_dpa2a_SVC", + "modelVersionId":"a9088517-efe8-4bed-9c54-534462cb08c2", + "modelInvariantId":"0757d856-a9c6-450d-b494-e1c0a4aab76f", + "orchestrationStatus":"Active","subscriberName":"Mobility"}); + }; + mock_.map = (serviceNetworkVlans, networkId) => { return ["aaiNetworkId1","aaiNetworkId2"]; }; -- cgit 1.2.3-korg