ID | Test Case Name | Status |
---|---|---|
A1 | 81397865 |
BBS portal listener registration in ExternalAPI
Test Case ID | A1 |
---|---|
Test Case Name | BBS 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 |
Release | Frankfurt |
Preconditions | The NBI component to run |
Testing Steps |
cat register-listeners-nbi { "callback": "http://172.30.0.122:5000/serviceOrderStateListener/listener/v1/", "query":"eventType = ServiceOrderStateChangeNotification,ServiceOrderCreationNotification,ServiceOrderItemStateChangeNotification,ServiceCreationNotification,ServiceAttributeValueChangeNotification,ServiceRemoveNotification" }
curl -k --header "Content-Type: application/json" https://nbi.api.simpledemo.onap.org:30274/nbi/api/v4/hub |
Expected Results | Check the output of CURL and make sure it's 200 Check via CURL if listeneres are registered |
Actual Results | # curl -k --header "Content-Type: application/json" https://nbi.api.simpledemo.onap.org:30274/nbi/api/v4/hub [{"id":"5ea1a8d666049f1c71618bc7","callback":"http://172.30.0.122:5000/serviceOrderStateListener/listener/v1/","query":"eventType=ServiceOrderStateChangeNotification ServiceOrderCreationNotification ServiceOrderItemStateChangeNotification ServiceCreationNotification ServiceAttributeValueChangeNotification ServiceRemoveNotification","ewId":null,"ewHost":null}] |
Conclusion (Pass/Fail) | PASS |
Testing Lab | Swisscom Lab |
Testing Date | 2020.04.28 |
Tester Name | David Perez Caparros |