stable

Clone or download

Read-only

Refactoring: extract milestones fetching out of the controller

part of story #16125 [release management] create a new Aggregator Release - Sub-milestones are now fetched by chunks of 100 (maximum limit allowed). - When fetching more than 50 top milestones or more than 100 sub-milestones, queries are now done in parallel. - Milestones are still ordered by id, descending to match previous behaviour. Change of sorting will be done in a separate contribution. Change-Id: I8b86a08a3aaf436424226680396d46f020429638

Modified Files

Name
A plugins/agiledashboard/scripts/planning-v2/src/app/api/rest-querier.test.ts +87 −0 Go to diff View file
A plugins/agiledashboard/scripts/planning-v2/src/app/api/rest-querier.ts +78 −0 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/backlog/backlog-controller.test.js +0 −4 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/milestone-collection/milestone-collection-service.js +20 −3 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/milestone-rest/milestone-service.js +0 −50 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/milestone-rest/milestone-service.test.js +0 −103 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/planning-controller.js +35 −97 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/planning-controller.test.js +48 −48 Go to diff View file