aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.test.js
diff options
context:
space:
mode:
authorPATTANAYAK, SAUMYA SWARUP (sp931a) <sp931a@att.com>2021-09-22 10:22:53 -0400
committerPATTANAYAK, SAUMYA SWARUP (sp931a) <sp931a@att.com>2021-09-29 10:28:22 -0400
commitf78df9f30d5b7bda1b291bff34dd85bdd9411c12 (patch)
tree3bdcae2f31ebdbb6bb2ff21e13a26d83f2e74a00 /vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.test.js
parenta1d209deac01bc0f8f7be96a585bdbef9cc0cdb9 (diff)
AAI Query optimization for VID
Issue-ID: VID-986 Change-Id: Ia3e012c41df4e9049ce9a1ae56ec83b276e11611 Signed-off-by: PATTANAYAK, SAUMYA SWARUP (sp931a) <sp931a@att.com>
Diffstat (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.test.js')
-rw-r--r--vid-app-common/src/main/webapp/app/vid/scripts/controller/aaiSubscriberController.test.js8
1 files changed, 8 insertions, 0 deletions
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"];
};