stable

Clone or download

Read-only

Let the database manage the pagination of the linked test definitions

The REST endpoint GET /backlog_items/:id/test_definitions is now paginated directly by the database. This saves memory and improve performance when manipulating items with a lot of test definitions. Part of story #14884: Display list of backlog items with their tests definition Change-Id: I759ab03e71a414050426c13ec23f31825b7820a5

Modified Files

Name
M plugins/testmanagement/include/TestManagement/ArtifactDao.php +7 −5 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/MilestoneItemsArtifactFactory.php +10 −23 Go to diff View file
M plugins/testplan/include/REST/v1/BacklogItemResource.php +13 −4 Go to diff View file
A plugins/testplan/include/TestDefinition/TestPlanLinkedTestDefinitions.php +73 −0 Go to diff View file
M plugins/testplan/include/TestDefinition/TestPlanLinkedTestDefinitionsRetriever.php +8 −21 Go to diff View file
M plugins/testplan/tests/unit/TestDefinition/TestPlanLinkedTestDefinitionsRetrieverTest.php +8 −7 Go to diff View file
A plugins/testplan/tests/unit/TestDefinition/TestPlanLinkedTestDefinitionsTest.php +56 −0 Go to diff View file