...
Test case ID | Description | Test scenario | Expected result | Status |
---|---|---|---|---|
T100 | Fetch NS package which is distributed from SDC NS package should exists in SDC catalog and is distributed. | POST /api/catalog/v1/nspackages { | Response code:202 | |
T101 | Search NS packages | GET /api/catalog/v1/nspackages | Response code:200 Body: NS package list | |
T102 | Search a NS package according to csarId | GET /api/catalog/v1/nspackages/{{csarId}} | Response code:200 Body: NS package | |
T103 | Delete a NS package according to csarId | Delete /api/catalog/v1/nspackages/{csarId} | Response code:204 | |
T104 | Fetch Service package which is distributed from SDC Service package should exists in SDC catalog and is distributed. | POST /api/catalog/v1/service_packages { | Response code:202 | |
T105 | Search Service packages | GET /api/catalog/v1/service_packages | Response code:200 Body: Service package list | |
T106 | Search a Service package according to csarId | GET /api/catalog/v1/service_packages/{{csarId}} | Response code:200 Body: Service package | |
T107 | Delete a Service package according to csarId | Delete /api/catalog/v1/service_packages/{csarId} | Response code:204 | |
T108 | Fetch VNF package from SDC | POST /api/catalog/v1/vnfpackages { | OK | |
T109 | Search VNF packages | GET /api/catalog/v1/vnfpackages | Response code:200 Body: VNF package list | OK |
T110 | Search a VNF package according to csarId | GET /api/catalog/v1/vnfpackages/{{csarId}} | Response code:200 Body: VNF package | OK |
T111 | Delete a VNF package according to csarId | Delete /api/catalog/v1/vnfpackages/{csarId} | Response code:204 | OK |
VNF Package Management API - SOL003
...
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 | OkOK |
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 |
...