The installation has been tested on ubuntu Ubuntu Ubuntu 18.04.2 LTS
Make sure /etc/hosts is properly configured with ONAP FQDNs e.g.
...
Install python3, curl, python3-pip, nginxgit clone
Code Block | ||||
---|---|---|---|---|
| ||||
apt-get install python3 curl python3-pip nginx |
Clone both fe and be (credentials are needed, contact michail salichos )
Code Block | ||||
---|---|---|---|---|
| ||||
git clone https://gitlab.com/onap-bbs/bss-fe.git git clone https://gitlab.com/onap-bbs/bss-be.git |
Create NBI listeners, mind the IP of the endpoint which will be listening for NBI status updates
Code Block | ||||
---|---|---|---|---|
| ||||
curl --header "Content-Type: application/json" -X POST -d @register-nbi-listeners http://nbi.api.simpledemo.onap.org:30274/nbi/api/v3/hub e.g. cat register-nbi-listeners { "callback": "http://172.30.0.130:5000/serviceOrderStateListener/listener/v1/", "query":"eventType = ServiceOrderStateChangeNotification,ServiceOrderCreationNotification,ServiceOrderItemStateChangeNotification,ServiceCreationNotification,ServiceAttributeValueChangeNotification,ServiceRemoveNotification" } Right after posting your endpoint to NBI make sure it's configured properly by running curl --header "Content-Type: application/json" http://nbi.api.simpledemo.onap.org:30274/nbi/api/v3/hub |
...