fix(020_13, 020_14): temporal pagination follows TS 104 176 clause 6.4.7.3

TS 104 176 clause 6.4.7.3, temporal pagination, on Retrieve Temporal Evolution of an Entity. The clause is new in TS 104, so the TCs are tagged since_ts104_v1.1.1. #97 held this back until the clause was published.

firstN and lastN are a page size per Attribute, per Entity. offsetN moves the page. The other pages are given by Link headers with the relations intervalafter and intervalbefore, whose URI-references carry offsetN.

  • 020_13: 10 TCs. lastN and firstN, with offsetN, with timerel before, after and between, temporalValues, the last page, a page that covers every instance, and firstN with lastN (400).
  • 020_14: unsynchronized Attributes paginate independently, each with its own page (2 TCs).
  • Retrieve Temporal Representation Of Entity and both Query Temporal Representation Of Entities keywords take firstN and offsetN. The documentation generator knows both parameters (doc/analysis/requests.py).
  • New checks in AssertionUtils, declared in doc/analysis/checks.py: Check Temporal Page Size, Check Temporal Pagination Link and Check Temporal Pagination Link Absent.

The Query side (021_15, 021_16) is the next MR, stacked on this one: it uses the same keywords.

12 TCs. All fail on develop and pass with this MR, against coraine. Doc unit tests 13/13, statisticsDocumentationData.py 0 of 607 failed, robocop format --check clean, robot --dryrun 12/12, no unused test data.

Fix MR 6 of the plan: https://famzang.com/ttf/ngsi-ld-suite-plan.html

Merge request reports

Loading
Loading