High Level Test Cases and Status: DMAAP Data Router
# | Test Case | Status | ||||||
---|---|---|---|---|---|---|---|---|
1 | Create feed |
| ||||||
2 | Subscribe to feed |
| ||||||
3 | Subscribe to feed with privileged subscription |
| ||||||
4 | Publish file to feed |
| ||||||
5 | Verify subscriber receives published file |
| ||||||
6 |
Delete processed file from datarouter-node |
| |||||||
7 | Update subscription |
| ||||||
8 | Update feed |
| ||||||
9 | Get publish record |
| ||||||
10 | Get publish record of unpublished file |
| ||||||
11 | Delete subscription |
|
12 | Delete feed |
|
Detailed Description Data Router Feature Test Cases:
Test Case ID | Data_Router_01 |
---|---|
Test Case Name | Create feed |
Description | Confirm that a feed can be created by sending a POST request to the data-router provisioning server |
Release | Casablanca |
Preconditions |
| ||||||
---|---|---|---|---|---|---|---|
Testing Steps |
| ||||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite |
Testing Lab | Ericsson Lab / CSIT |
---|
Test Case ID | Data_Router_02 |
---|---|
Test Case Name | Subscribe to feed |
Description | Confirm that a subscription to a feed can be created by sending a POST request to the data-router provisioning server |
Release | Casablanca |
Preconditions |
| ||||||
---|---|---|---|---|---|---|---|
Testing Steps |
| ||||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite |
Testing Lab | Ericsson Lab / CSIT |
---|
Test Case ID | Data_Router_03 |
---|---|
Test Case Name | Subscribe to feed with privileged subscription |
Description | Confirm that a privileged subscription |
to a feed can be created by sending a POST request to the data-router provisioning server |
Release |
---|
Dublin |
Preconditions |
| |||
---|---|---|---|---|
Testing Steps |
|
| ||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite | |||
---|---|---|---|---|
Testing Lab | Ericsson Lab / CSIT |
Test Case ID | Data_Router_04 | ||||||
---|---|---|---|---|---|---|---|
Test Case Name | Publish file to feed | ||||||
Description | Confirm that a file can be published to a feed | ||||||
Release | Casablanca | ||||||
Preconditions |
| ||||||
Testing Steps |
| ||||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite | ||||||
Testing Lab | Ericsson Lab / CSIT |
Test Case ID | Data_Router_05 | ||||
---|---|---|---|---|---|
Test Case Name | Verify subscriber receives published file | ||||
Description | Confirm that a file is delivered to a subscriber of a feed that has had a file published to it | ||||
Release | Dublin | ||||
Preconditions |
| ||||
Testing Steps |
| ||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite | ||||
Testing Lab | Ericsson Lab / CSIT |
Test Case ID | Data_Router_06 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Test Case Name | Delete processed file from datarouter-node | ||||||||
Description | Confirm that the file delivered to the privileged subscriber remains on dr-node and use the delete API to remove it | ||||||||
Release | Dublin | ||||||||
Preconditions |
| ||||||||
Testing Steps |
| ||||||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite | ||||||||
Testing Lab | Ericsson Lab / CSIT |
Test Case ID | Data_Router_07 | ||||||
---|---|---|---|---|---|---|---|
Test Case Name | Update subscription | ||||||
Description | Confirm that a subscription can be updated | ||||||
Release | Casablanca | ||||||
Preconditions |
| ||||||
Testing Steps |
| ||||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite | ||||||
Testing Lab | Ericsson Lab / CSIT |
Test Case ID | Data_Router_08 | ||||||
---|---|---|---|---|---|---|---|
Test Case Name | Update feed | ||||||
Description | Confirm that a feed can be updated | ||||||
Release | Casablanca | ||||||
Preconditions |
| ||||||
Testing Steps |
| ||||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite | ||||||
Testing Lab | Ericsson Lab / CSIT |
Test Case ID | Data_Router_09 | ||||||
---|---|---|---|---|---|---|---|
Test Case Name | Get publish record | ||||||
Description | Get publish record of published file (required for DFC to not send same file twice) | ||||||
Release | Dublin | ||||||
Preconditions |
| ||||||
Testing Steps |
|
| ||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite | |
---|---|---|
Testing Lab | Ericsson Lab / CSIT |
Test Case ID | Data_Router_10 | ||||
---|---|---|---|---|---|
Test Case Name | Get publish record of unpublished file | ||||
Description | Verify get publish record of unpublished file returns empty list | ||||
Release | Dublin | ||||
Preconditions |
| ||||
Testing Steps |
| ||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite | ||||
Testing Lab | Ericsson Lab / CSIT |
Test Case ID | Data_Router_11 | ||||
---|---|---|---|---|---|
Test Case Name | Delete feed | ||||
Description | Confirm that a feed can be deleted | ||||
Release | Casablanca | ||||
Preconditions |
| ||||
Testing Steps |
| ||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite/425/ | ||||
Testing Lab | Ericsson Lab / CSIT |
Test Case ID | Data_Router_12 | ||||
---|---|---|---|---|---|
Test Case Name | Delete feed | ||||
Description | Confirm that a feed can be deleted | ||||
Release | Casablanca | ||||
Preconditions |
| ||||
Testing Steps |
| ||||
Conclusion (Pass/Fail) | PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite | ||||
Testing Lab | Ericsson Lab / CSIT |
JSON Objects
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||
---|---|---|---|---|
| ||||
{ "name": "CSIT_Test", "version": "m1.0", "description": "CSIT_Test", "business_description": "CSIT_Test", "suspend": false, "deleted": false, "changeowner": true, "authorization": { "classification": "unclassified", "endpoint_addrs": [], // List of IP Addresses that can publish to this feed "endpoint_ids": [{ "password": "dradmin", // Any application that publishes to this feed must use these credentials "id": "dradmin" }] } } |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||
---|---|---|---|---|
| ||||
{
"delivery":{
"url":"https://{subscriber_ip}:7070/", // IP Address of subscriber and port that can be accessed through
"user":"LOGIN", // Credentials used to send file to this subscriber
"password":"PASSWORD",
"use100":true
},
"metadataOnly":false,
"suspend":false,
"groupid":29,
"subscriber":"dradmin"
} |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||
---|---|---|---|---|
| ||||
{
"delivery":{
"url":"https://{subscriber_ip}:7070/", // IP Address of subscriber and port that can be accessed through
"user":"LOGIN", // Credentials used to send file to this subscriber
"password":"PASSWORD",
"use100":true
},
"metadataOnly":false,
"suspend":false,
"groupid":29,
"subscriber":"dradmin",
"privilegedSubscriber": true
} |