stable

Clone or download

Read-only

REST route for kanban cumulative flow

You now have a REST route returning the state of the kanban columns for a given period of time. This is part of story #9463 see cumulative flow diagram The way the data for the REST tests has been a little bit modified so we can load data of the plugins after the core. Change-Id: Id8ae9d583ddbfa60cdfda46aa03f21fd7680f4ba

Modified Files

Name
A plugins/agiledashboard/include/AgileDashboard/KanbanCumulativeFlowDiagramDao.php +93 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/CumulativeFlowDiagram/DiagramColumnRepresentation.php +45 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/CumulativeFlowDiagram/DiagramPointRepresentation.php +40 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/CumulativeFlowDiagram/DiagramRepresentation.php +32 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/CumulativeFlowDiagram/DiagramRepresentationBuilder.php +227 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/CumulativeFlowDiagram/TooMuchPointsException.php +27 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +81 −0 Go to diff View file
M plugins/agiledashboard/include/autoload.php +8 −2 Go to diff View file
A plugins/agiledashboard/tests/rest/DataBuilder.php +95 −0 Go to diff View file
M plugins/agiledashboard/tests/rest/KanbanTest.php +218 −0 Go to diff View file
A plugins/agiledashboard/tests/rest/_fixtures/cumulative-flow/project.xml +186 −0 Go to diff View file
A plugins/agiledashboard/tests/rest/_fixtures/cumulative-flow/user_map.csv +1 −0 Go to diff View file
A plugins/agiledashboard/tests/rest/_fixtures/cumulative-flow/users.xml +10 −0 Go to diff View file
M plugins/agiledashboard/tests/rest/bootstrap.php +2 −1 Go to diff View file
A plugins/agiledashboard/tests/rest/init_test_data.php +25 −0 Go to diff View file
M plugins/git/tests/rest/GitDataBuilder.php +1 −1 Go to diff View file
R plugins/tracker/tests/rest/init_test_data.php Go to diff View file
M tests/lib/rest/TestDataBuilder.php +10 −0 Go to diff View file
M tests/lib/rest/init_data.php +1 −1 Go to diff View file
A tests/lib/rest/init_data_plugins.php +32 −0 Go to diff View file
M tests/rest/bin/setup.sh +5 −2 Go to diff View file