Setting up test environment
- ...
- TO COMPLETE
- ...
- Start NBI, SDC, AAI & SO modules
- Populate SDC & AAI with test datas
Test cases
NBI Healthcheck
- GET /Status : check response code 200 and body status : "ok"
NBI ServiceCatalog module
- GET /ServiceSpecification/{serviceSpecId} : check response code 200 and the serviceSpecification is in the response body
- GET /ServiceSpecification : check response code 200 and the response contains some ServiceSpecifications
NBI ServiceInventory module
- GET /service/{serviceInstanceId} : check response code 200 and the service is in the response body
- GET /service: check response code 200 and the response contains some service instances
NBI ServiceOrder module
- POST /serviceOrder with a test serviceOrder: check response code 201 with order status : "acknowledged"
- PUT /test/serviceOrder/{serviceOrderId} to check the serviceOrder : check response code 200 with order status : "acknowledged"
- Wait some seconds to let the scheduler be triggered
- GET /serviceOrder/{serviceOrderId} : check response code 200 with order status : "completed"
NBI Hub module
- POST /hub with a test hub: check response code 201