Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

BBS portal listener registration in ExternalAPI

Test Case IDA4
Test Case NameBBS portal listener registration in ExternalAPI
Description

This test covers the registration of an external listener (BBS portal backend) in External API in order to receive notifications on service state change updates and service instance order status tracking

Interface BSS ↔ ExternalAPI (BBS Broadband Service Use Case (Dublin)#FullSystemContextbbs-system-context)

ReleaseDublin
Preconditions

The NBI component to run

Testing Steps
  • Specify the events to be listening for, along with the endpoint to receive the updates, in a file e.g.
cat register-listeners-nbi 
{
"callback": "http://172.30.0.126:5000/serviceOrderStateListener/listener/v1/",
"query":"eventType = ServiceOrderStateChangeNotification,ServiceOrderCreationNotification,ServiceOrderItemStateChangeNotification,ServiceCreationNotification,ServiceAttributeValueChangeNotification,ServiceRemoveNotification"
}
  • POST the configuration to NBI

curl -v --header "Content-Type: application/json" -X POST -d @register-listeners-nbi http://nbi.api.simpledemo.onap.org:30274/nbi/api/v3/hub

Expected Results

Check the output of CURL and make sure it's 200

Check via CURL if listeneres are registered

Actual Results
curl --header "Content-Type: application/json" http://nbi.api.simpledemo.onap.org:30274/nbi/api/v3/hub

[{"id":"5c95cfd8e3caf4000173cb4b","callback":"http://172.30.0.126:5000/serviceOrderStateListener/listener/v1/","query":"eventType=ServiceOrderStateChangeNotification ServiceOrderCreationNotification ServiceOrderItemStateChangeNotification ServiceCreationNotification ServiceAttributeValueChangeNotification ServiceRemoveNotification"}]
Conclusion (Pass/Fail)

PASS

Testing LabSwisscom Lab
Testing Date13/05/2019
Tester Namemichail salichos
  • No labels