Loading
feat(discovery): add TC for Retrieve Context Source Identity (064_01)
A new Test Case for Retrieve Context Source Identity Information, GET /info/sourceIdentity (TS 104-176 12.2.3.1, TS 104-175 15.2). Until now the suite did not test this operation.
064_01: 200, and a body that is a ContextSourceIdentity element (TS 104-175 5.2.6.5.6).idis a URI,typeisContextSourceIdentity,contextSourceAliasis not empty,contextSourceUptimeis an ISO 8601 duration andcontextSourceTimeAtis a DateTime.
1 Test Case in TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceIdentity/, plus:
- the keyword
Retrieve Context Source Identity(resources/ApiUtils/ContextSourceDiscovery.resource) - the check
Check Response Body Containing ContextSourceIdentity element(resources/AssertionUtils.resource) - the documentation-generator entries (
doc/analysis/)
Measured with scripts/api_coverage (!326 (merged)) against develop: operations 50 -> 51, status codes 135 -> 136 (GET info/sourceIdentity: the operation and 200).
It passes against a broker. The dry run, robocop format --check and the documentation generator are clean.
MR 7 of the plan: https://famzang.com/ttf/ngsi-ld-suite-plan.html