Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Test Case IDData_Router_01
Test Case NameCreate feed
DescriptionConfirm that a feed can be created by sending a POST request to the data-router provisioning server
ReleaseCasablanca
Pre-conditionsAll components of data-router are running
Testing Steps


StepExpected Result
  1. Send POST request with JSON feed object in body to https://dmaap-dr-prov:8443/

Response:

Code Block
{
	"suspend":false,
	"groupid":0,
	"description":"Default 
feed",
	"version":"m1.0",
	"authorization":{
		"endpoint_addrs":[],
		"classification":"unclassified",
		"endpoint_ids":[{
			"password":"dradmin",
			"id":"dradmin"
		}]
	},
	"name":"DefaultFeedPM",
	"business_description":"Default
 Feed",
	"publisher":"dradmin",
	"links":{
		"subscribe":"https://dmaap-dr-prov/subscribe/1",
		"log":"https://dmaap-dr-prov/feedlog/1",
		"publish":"https://dmaap-dr-prov/publish/1",
		"self":"https://dmaap-dr-prov/feed/1"
	}
}

Response Code: 201


Conclusion (Pass/Fail)PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite/425/
Testing LabEricsson Lab / CSIT

...

Test Case IDData_Router_02
Test Case NameSubscribe to feed
DescriptionConfirm that a subscription to  a feed can be created by sending a POST request to the data-router provisioning server
ReleaseCasablanca
Pre-conditionsAll components of data-router are running
Testing Steps


StepExpected Result
  1. Send POST request with JSON subscription object in body to https://dmaap-dr-prov:8443/subscribe/<feedId>

Response:

Code Block
{
	"suspend":false,
	"delivery":{
		"use100":true,
		"password":"PASSWORD",
		"user":"LOGIN",
		"url":"http://172.18.0.3:7070"
	},
	"subscriber":"dradmin",
	"groupid":1,
	"metadataOnly":false,
	"links":{
		"feed":"https://dmaap-dr-prov/feed/1",
		"log":"https://dmaap-dr-prov/sublog/1",
		"self":"https://dmaap-dr-prov/subs/1"
	},
	"created_date":1550575240780
}

Response Code: 201


Conclusion (Pass/Fail)PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite/425/
Testing LabEricsson Lab / CSIT

...

Test Case IDData_Router_03
Test Case NameSubscribe to feed
DescriptionConfirm that a subscription to  a feed can be created by sending a POST request to the data-router provisioning server
ReleaseCasablanca
Pre-conditionsAll components of data-router are running
Testing Steps


StepExpected Result
  1. Send POST request with JSON subscription object in body to https://dmaap-dr-prov:8443/subscribe/<feedId>

Response:

Code Block
{"suspend":false,"delivery":{"use100":true,"password":"PASSWORD","user":"LOGIN","url":"http://172.18.0.3:7070"},"subscriber":"dradmin","groupid":1,"metadataOnly":false,"links":{"feed":"https://dmaap-dr-prov/feed/1","log":"https://dmaap-dr-prov/sublog/1","self":"https://dmaap-dr-prov/subs/1"},"created_date":1550575240780}

Response Code: 201


Conclusion (Pass/Fail)PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite/425/
Testing LabEricsson Lab / CSIT

...