stable

Clone or download

Read-only

Add a `flat` output format to the REST endpoint retrieving artifacts from a report

The various list field are not yet managed. Part of epic #26790: Integration with BI tools Change-Id: I70e873e8f1927f5d63344b006904a27e4c97003d

Modified Files

Name
M plugins/tracker/include/REST/Artifact/ArtifactRepresentation.class.php +4 −2 Go to diff View file
A plugins/tracker/include/REST/Artifact/FlatArtifactRepresentationTransformer.php +92 −0 Go to diff View file
M plugins/tracker/include/REST/v1/Report/MatchingArtifactRepresentationCollection.php +2 −2 Go to diff View file
M plugins/tracker/include/REST/v1/ReportsResource.class.php +34 −10 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/RetrieveUsedFields.php +4 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.php +2 −4 Go to diff View file
M plugins/tracker/tests/rest/Report/TrackerReportTest.php +10 −1 Go to diff View file
A plugins/tracker/tests/unit/REST/Artifact/FlatArtifactRepresentationTransformerTest.php +189 −0 Go to diff View file
M plugins/tracker/tests/unit/Stub/RetrieveUsedFieldsStub.php +16 −1 Go to diff View file
A src/common/REST/RESTCollectionTransformer.php +57 −0 Go to diff View file
A tests/unit/common/REST/RESTCollectionTransformerTest.php +71 −0 Go to diff View file