...
3. Mock SO SOL003/SOL005 Mocker Adapter
callbackUri: https://192.168.235.77:5000/vnf/create/callback
Function Test Status
Catalog Management API
...
Test case | Description | Test scenario | Expected result | Status |
---|---|---|---|---|
T200 | Create a VNF | POST /api/vnfpkgm/v1/vnf_packages { | Response code:201 | OK |
T201 | Search VNF packages | GET /api/vnfpkgm/v1/vnf_packages | Response code:200 Body: VNF package list | OK |
T202 | Search a VNF package according to vnfPkgId | GET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}} | Response code:200 Body: VNF package | OK |
T203 | Update the content of VNF package for given vnfPkgId | PUT /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/package_content | Response code:202 | OK |
T204 | Get the content of VNF package for given vnfPkgId | GET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/package_content | Response code:200 Body: content of VNF package | OK |
T205 | Get the vnfd of VNF package for given vnfPkgId | GET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}1/vnfd | Response code:200 Body: vnfd of VNF package | OK |
T206 | Get the artifact from VNF package for given vnfPkgId & artifactPath | GET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/artifacts/{{artifactPath}} | Response code:200 Body: artifact | Need test again |
T207 | Delete VNF packages according to vnfPkgId | DELETE /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}} | Response code:204 | OK |
T208 | Subscribe the notification related VNF package | POST /api/vnfpkgm/v1/subscriptions { | Response code:201 | Ok |
T209 | Get the subscriptions of VNF package | GET /api/vnfpkgm/v1/subscriptions | Response code:200 Body: subscription list | OK |
T210 | Get a subscription of VNF package according to subscriptionId | GET /api/vnfpkgm/v1/subscriptions/{{subscriptionId}} | Response code:200 Body: subscription | OK |
T211 | Delete a subscription of VNF package according to subscriptionId | DELETE /api/vnfpkgm/v1/subscriptions/{{subscriptionId}} | Response code:204 | OK |
NSD Package Management API - SOL005
...
Test case | Description | Test scenario | Expected result | Status |
---|---|---|---|---|
T400 | Parse package Package type: VNF, PNF, NS, Service | POST /api/parser/v1/parser { | Response code:202 Parser result { | |
T401 | Parse NS package | POST /api/parser/v1/parsernsd { | Response code:202 Parser result { | |
T402 | Parse VNF package | POST /api/parser/v1/parservnfd { | Response code:202 Parser result { | Ok |
T403 | Parse PNF package | POST /api/parser/v1/parserpnfd { | Response code:202 Parser result { |
...