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). id is a URI, type is ContextSourceIdentity, contextSourceAlias is not empty, contextSourceUptime is an ISO 8601 duration and contextSourceTimeAt is 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

Merge request reports

Loading
Loading