Setting up test environment


Test cases

Test caseDescriptiontest scenarioresponse coderesponse body

NBI Healthcheck

check if NBI is startedGET /Status200 body status : "ok"
NBI ServiceCatalog : Retrieve a ServiceSpecification

Retrieve a ServiceSpecification

(NBI calls SDC module)

GET /ServiceSpecification/{serviceSpecId} 200the serviceSpecification
NBI ServiceCatalog : Retrieve the ServiceSpecifications

Retrieve the ServiceSpecifications

(NBI calls SDC module)
GET /ServiceSpecification200 the serviceSpecifications
NBI ServiceInventory : Retrieve a service instance

Retrieve a service instance

(NBI calls AAI module)
GET /service/{serviceInstanceId}200the service instance
NBI ServiceInventory : Retrieve the service instances

Retrieve the service instances

(NBI calls AAI module)
GET /service200the service instances
NBI ServiceOrder : instanciate a new Service

POST  a serviceOrder to instanciate. NBI calls the serviceCatalog and ServiceInventory modules to check the order, and calls SO module.

POST /serviceOrder with a test serviceOrder201order status : "acknowledged"

PUT /test/serviceOrder/{serviceOrderId}

(to check the serviceOrder manually)

200order and order items status : "acknowledged"
GET /serviceOrder/{serviceOrderId}200order and order items status : "completed"
NBI Hub module : subscribe to NBI notificationsPOST /hub with a test hub201